USRP Hardware Driver and USRP Manual  Version: 4.7.0.0
UHD and USRP Manual
internal_sync_iface.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2023 Ettus Research, a National Instruments Brand
3 //
4 // SPDX-License-Identifier: GPL-3.0-or-later
5 //
6 
7 #pragma once
8 
10 
11 namespace uhd { namespace features {
12 
17 {
18 public:
19  using sptr = std::shared_ptr<internal_sync_iface>;
20 
22  {
24  }
25 
26  std::string get_feature_name() const
27  {
28  return "Internal Sync";
29  }
30 
31  virtual ~internal_sync_iface() = default;
32 
37  virtual void enable_sync_clk() = 0;
38 
42  virtual void disable_sync_clk() = 0;
43 };
44 }} // namespace uhd::features
feature_id_t
An enum of all features supported by the driver. When creating a new.
Definition: discoverable_feature.hpp:32
Definition: discoverable_feature.hpp:41
static discoverable_feature::feature_id_t get_feature_id()
Definition: internal_sync_iface.hpp:21
Definition: build_info.hpp:12
Definition: discoverable_feature.hpp:25
std::string get_feature_name() const
Returns a human-readable string name of this feature.
Definition: internal_sync_iface.hpp:26
Definition: internal_sync_iface.hpp:16
#define UHD_API
Definition: config.h:87
std::shared_ptr< discoverable_feature > sptr
Definition: discoverable_feature.hpp:28