Apollo
6.0
Open source self driving car software
|
The map node config info. More...
#include <base_map_node_config.h>
Public Member Functions | |
BaseMapNodeConfig () | |
virtual | ~BaseMapNodeConfig () |
virtual std::shared_ptr< BaseMapNodeConfig > | Clone () |
Alloc a new map node config. More... | |
virtual unsigned int | LoadBinary (const unsigned char *buf) |
Load the map node config from a binary chunk. More... | |
virtual unsigned int | CreateBinary (unsigned char *buf, size_t buf_size) const |
Create the binary map node config. More... | |
virtual unsigned int | GetBinarySize () const |
Get the size of the config in bytes. More... | |
Public Attributes | |
MapNodeIndex | node_index_ |
MapVersion | map_version_ = MapVersion::UNKNOWN |
unsigned char | body_md5_ [MD5LENTH] = {0} |
size_t | body_size_ = 0 |
bool | has_map_version_ = true |
bool | has_body_md5_ = true |
The map node config info.
apollo::localization::msf::pyramid_map::BaseMapNodeConfig::BaseMapNodeConfig | ( | ) |
|
virtual |
|
virtual |
Alloc a new map node config.
Clone a new map node config.
Reimplemented in apollo::localization::msf::pyramid_map::NdtMapNodeConfig, and apollo::localization::msf::pyramid_map::PyramidMapNodeConfig.
|
virtual |
Create the binary map node config.
<buf,buf_size> | The buffer and its size. |
<return> | The required or the used size. |
|
virtual |
Get the size of the config in bytes.
|
virtual |
Load the map node config from a binary chunk.
<return> | The size read (the real size of config). |
unsigned char apollo::localization::msf::pyramid_map::BaseMapNodeConfig::body_md5_[MD5LENTH] = {0} |
size_t apollo::localization::msf::pyramid_map::BaseMapNodeConfig::body_size_ = 0 |
bool apollo::localization::msf::pyramid_map::BaseMapNodeConfig::has_body_md5_ = true |
bool apollo::localization::msf::pyramid_map::BaseMapNodeConfig::has_map_version_ = true |
MapVersion apollo::localization::msf::pyramid_map::BaseMapNodeConfig::map_version_ = MapVersion::UNKNOWN |
MapNodeIndex apollo::localization::msf::pyramid_map::BaseMapNodeConfig::node_index_ |