Apollo  6.0
Open source self driving car software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Attributes | List of all members
apollo::cyber::transport::ReadableInfo Class Reference

#include <readable_info.h>

Collaboration diagram for apollo::cyber::transport::ReadableInfo:
Collaboration graph

Public Member Functions

 ReadableInfo ()
 
 ReadableInfo (uint64_t host_id, uint32_t block_index, uint64_t channel_id)
 
virtual ~ReadableInfo ()
 
ReadableInfooperator= (const ReadableInfo &other)
 
bool DeserializeFrom (const std::string &src)
 
bool DeserializeFrom (const char *src, std::size_t len)
 
bool SerializeTo (std::string *dst) const
 
uint64_t host_id () const
 
void set_host_id (uint64_t host_id)
 
uint32_t block_index () const
 
void set_block_index (uint32_t block_index)
 
uint64_t channel_id () const
 
void set_channel_id (uint64_t channel_id)
 

Static Public Attributes

static const size_t kSize
 

Constructor & Destructor Documentation

◆ ReadableInfo() [1/2]

apollo::cyber::transport::ReadableInfo::ReadableInfo ( )

◆ ReadableInfo() [2/2]

apollo::cyber::transport::ReadableInfo::ReadableInfo ( uint64_t  host_id,
uint32_t  block_index,
uint64_t  channel_id 
)

◆ ~ReadableInfo()

virtual apollo::cyber::transport::ReadableInfo::~ReadableInfo ( )
virtual

Member Function Documentation

◆ block_index()

uint32_t apollo::cyber::transport::ReadableInfo::block_index ( ) const
inline

◆ channel_id()

uint64_t apollo::cyber::transport::ReadableInfo::channel_id ( ) const
inline

◆ DeserializeFrom() [1/2]

bool apollo::cyber::transport::ReadableInfo::DeserializeFrom ( const std::string &  src)

◆ DeserializeFrom() [2/2]

bool apollo::cyber::transport::ReadableInfo::DeserializeFrom ( const char *  src,
std::size_t  len 
)

◆ host_id()

uint64_t apollo::cyber::transport::ReadableInfo::host_id ( ) const
inline

◆ operator=()

ReadableInfo& apollo::cyber::transport::ReadableInfo::operator= ( const ReadableInfo other)

◆ SerializeTo()

bool apollo::cyber::transport::ReadableInfo::SerializeTo ( std::string *  dst) const

◆ set_block_index()

void apollo::cyber::transport::ReadableInfo::set_block_index ( uint32_t  block_index)
inline

◆ set_channel_id()

void apollo::cyber::transport::ReadableInfo::set_channel_id ( uint64_t  channel_id)
inline

◆ set_host_id()

void apollo::cyber::transport::ReadableInfo::set_host_id ( uint64_t  host_id)
inline

Member Data Documentation

◆ kSize

const size_t apollo::cyber::transport::ReadableInfo::kSize
static

The documentation for this class was generated from the following file: