USRP Hardware Driver and USRP Manual Version: 4.6.0.0
UHD and USRP Manual
 
Loading...
Searching...
No Matches
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
11namespace uhd { namespace features {
12
17{
18public:
19 using sptr = std::shared_ptr<internal_sync_iface>;
20
22 {
23 return discoverable_feature::INTERNAL_SYNC;
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
Definition discoverable_feature.hpp:26
feature_id_t
An enum of all features supported by the driver. When creating a new.
Definition discoverable_feature.hpp:32
Definition internal_sync_iface.hpp:17
std::shared_ptr< internal_sync_iface > sptr
Definition internal_sync_iface.hpp:19
static discoverable_feature::feature_id_t get_feature_id()
Definition internal_sync_iface.hpp:21
virtual ~internal_sync_iface()=default
std::string get_feature_name() const
Returns a human-readable string name of this feature.
Definition internal_sync_iface.hpp:26
#define UHD_API
Definition config.h:87
Definition build_info.hpp:12