SVOData Struct Reference

Functions

 SVOData (std::string &key_, std::vector< uint8_t > &content_, sl::Timestamp timestamp_ns_=0)
 
 SVOData ()
 
bool setContent (const std::string &s)
 Set a std::string into the SVOData's content. More...
 
bool getContent (std::string &s) const
 Retrieve the SVOData content as a std::string. More...
 

Attributes

std::string key
 
sl::Timestamp timestamp_ns = 0
 
std::vector< uint8_t > content
 

Constructor and Destructor

◆ SVOData() [1/2]

SVOData ( std::string &  key_,
std::vector< uint8_t > &  content_,
sl::Timestamp  timestamp_ns_ = 0 
)
inline

◆ SVOData() [2/2]

SVOData ( )
inline

Functions

◆ setContent()

bool setContent ( const std::string &  s)
inline

Set a std::string into the SVOData's content.

◆ getContent()

bool getContent ( std::string &  s) const
inline

Retrieve the SVOData content as a std::string.

Variables

◆ key

std::string key

◆ timestamp_ns

sl::Timestamp timestamp_ns = 0

◆ content

std::vector<uint8_t> content