 |
USRP Hardware Driver and USRP Manual
Version: 4.0.0.0-0-unknown
UHD and USRP Manual
|
|
Go to the documentation of this file.
15 namespace uhd {
namespace usrp {
namespace cal {
40 virtual void deserialize(
const std::vector<uint8_t>& data) = 0;
47 template <
typename container_type>
48 static std::shared_ptr<container_type>
make(
const std::vector<uint8_t>& data)
50 auto cal_data = container_type::make();
51 cal_data->deserialize(data);
virtual std::string get_name() const =0
Return the name of this calibration table.
static std::shared_ptr< container_type > make(const std::vector< uint8_t > &data)
Generic factory for cal data from serialized data.
Definition: container.hpp:48
virtual void deserialize(const std::vector< uint8_t > &data)=0
Populate this class from the serialized data.
#define UHD_API
Definition: config.h:67
virtual std::string get_serial() const =0
Return the device serial of this calibration table.
virtual ~container()=default
Definition: build_info.hpp:12
virtual uint64_t get_timestamp() const =0
Timestamp of acquisition time.
virtual std::vector< uint8_t > serialize()=0
Return a serialized version of this container.
Definition: container.hpp:23