#include <uhd/usrp_clock/octoclock_eeprom.hpp>
Public Member Functions | |
octoclock_eeprom_t (void) | |
Make a new empty OctoClock EEPROM handler. More... | |
octoclock_eeprom_t (transport::udp_simple::sptr transport, uint32_t proto_ver) | |
void | commit () const |
Public Member Functions inherited from uhd::dict< std::string, std::string > | |
dict (void) | |
dict (InputIterator first, InputIterator last) | |
std::size_t | size (void) const |
std::vector< std::string > | keys (void) const |
std::vector< std::string > | vals (void) const |
bool | has_key (const std::string &key) const |
const std::string & | get (const std::string &key, const std::string &other) const |
const std::string & | get (const std::string &key) const |
void | set (const std::string &key, const std::string &val) |
const std::string & | operator[] (const std::string &key) const |
std::string & | operator[] (const std::string &key) |
std::string | pop (const std::string &key) |
void | update (const dict< std::string, std::string > &new_dict, bool fail_on_conflict=true) |
The OctoClock EEPROM object: Knows how to read and write the OctoClock EEPROM. The class inherits from a string, string dictionary. Use the dictionary interface to get and set values. Commit to the EEPROM to save changed settings.
uhd::usrp_clock::octoclock_eeprom_t::octoclock_eeprom_t | ( | void | ) |
Make a new empty OctoClock EEPROM handler.
uhd::usrp_clock::octoclock_eeprom_t::octoclock_eeprom_t | ( | transport::udp_simple::sptr | transport, |
uint32_t | proto_ver | ||
) |
Make a new OctoClock EEPROM handler.
transport | the UDP transport to the OctoClock |
proto_ver | firmware protocol version |
void uhd::usrp_clock::octoclock_eeprom_t::commit | ( | ) | const |
Write the contents of this object to the EEPROM.