Loading...
Searching...
No Matches
octoclock_eeprom.hpp
Go to the documentation of this file.
//
// Copyright 2014 Ettus Research LLC
// Copyright 2018 Ettus Research, a National Instruments Company
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
#pragma once
#include <uhd/config.hpp>
#include <uhd/transport/udp_simple.hpp>
#include <uhd/types/dict.hpp>
#include <uhd/usrp/mboard_eeprom.hpp>
#include <string>
namespace uhd { namespace usrp_clock {
class UHD_API octoclock_eeprom_t : public uhd::usrp::mboard_eeprom_t
{
public:
octoclock_eeprom_t(void);
octoclock_eeprom_t(transport::udp_simple::sptr transport, uint32_t proto_ver);
void commit() const;
private:
transport::udp_simple::sptr xport;
uint32_t _proto_ver;
void _load();
void _store() const;
};
}} // namespace uhd::usrp_clock
uhd::transport::udp_simple::sptr
std::shared_ptr< udp_simple > sptr
Definition udp_simple.hpp:23
uhd::usrp_clock::octoclock_eeprom_t::octoclock_eeprom_t
octoclock_eeprom_t(void)
Make a new empty OctoClock EEPROM handler.
uhd::usrp_clock::octoclock_eeprom_t::commit
void commit() const
uhd::usrp_clock::octoclock_eeprom_t::octoclock_eeprom_t
octoclock_eeprom_t(transport::udp_simple::sptr transport, uint32_t proto_ver)
UHD_API
#define UHD_API
Definition config.h:87
config.hpp
dict.hpp
mboard_eeprom.hpp
uhd::transport
Definition adapter_id.hpp:11
uhd::usrp_clock
Definition multi_usrp_clock.hpp:17
uhd::usrp::mboard_eeprom_t
uhd::dict< std::string, std::string > mboard_eeprom_t
Definition mboard_eeprom.hpp:27
uhd
Definition build_info.hpp:12
udp_simple.hpp