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