USRP Hardware Driver and USRP Manual  Version: 3.11.0.HEAD-0-ga1b5c4ae
UHD and USRP Manual
octoclock_eeprom.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2014 Ettus Research LLC
3 // Copyright 2018 Ettus Research, a National Instruments Company
4 //
5 // SPDX-License-Identifier: GPL-3.0-or-later
6 //
7 
8 #ifndef INCLUDED_UHD_USRP_CLOCK_OCTOCLOCK_EEPROM_HPP
9 #define INCLUDED_UHD_USRP_CLOCK_OCTOCLOCK_EEPROM_HPP
10 
11 #include <uhd/config.hpp>
13 #include <uhd/types/dict.hpp>
14 #include <string>
15 
16 namespace uhd{ namespace usrp_clock{
17 
25 class UHD_API octoclock_eeprom_t : public uhd::dict<std::string, std::string>{
26 public:
28  octoclock_eeprom_t(void);
29 
35  octoclock_eeprom_t(transport::udp_simple::sptr transport, uint32_t proto_ver);
36 
40  void commit() const;
41 
42 private:
44  uint32_t _proto_ver;
45  void _load();
46  void _store() const;
47 
48 };
49 
50 } //namespace
51 } //namespace
52 
53 #endif /* INCLUDED_UHD_USRP_CLOCK_OCTOCLOCK_EEPROM_HPP */
Definition: dict.hpp:20
Definition: build_info.hpp:14
#define UHD_API
Definition: config.h:63
boost::shared_ptr< udp_simple > sptr
Definition: udp_simple.hpp:21
Definition: octoclock_eeprom.hpp:25