#include <uhd/cal/container.hpp>
Public Member Functions | |
virtual | ~container ()=default |
virtual std::string | get_name () const =0 |
Return the name of this calibration table. More... | |
virtual std::string | get_serial () const =0 |
Return the device serial of this calibration table. More... | |
virtual uint64_t | get_timestamp () const =0 |
Timestamp of acquisition time. More... | |
virtual std::vector< uint8_t > | serialize ()=0 |
Return a serialized version of this container. More... | |
virtual void | deserialize (const std::vector< uint8_t > &data)=0 |
Populate this class from the serialized data. More... | |
Static Public Member Functions | |
template<typename container_type > | |
static std::shared_ptr< container_type > | make (const std::vector< uint8_t > &data) |
Generic factory for cal data from serialized data. More... | |
Generic parent class for calibration data
Derive any class that stores cal data which needs to be stored/retrieved from this parent class.
|
virtualdefault |
|
pure virtual |
Populate this class from the serialized data.
|
pure virtual |
Return the name of this calibration table.
|
pure virtual |
Return the device serial of this calibration table.
|
pure virtual |
Timestamp of acquisition time.
|
inlinestatic |
Generic factory for cal data from serialized data.
|
pure virtual |
Return a serialized version of this container.