Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::localization::msf::pyramid_map::PyramidLosslessMapMatrixHandler Class Reference

#include <pyramid_map_matrix_handler.h>

Inheritance diagram for apollo::localization::msf::pyramid_map::PyramidLosslessMapMatrixHandler:
Inheritance graph
Collaboration diagram for apollo::localization::msf::pyramid_map::PyramidLosslessMapMatrixHandler:
Collaboration graph

Public Member Functions

 PyramidLosslessMapMatrixHandler ()
 
 ~PyramidLosslessMapMatrixHandler ()
 
virtual size_t LoadBinary (const unsigned char *buf, std::shared_ptr< BaseMapMatrix > matrix)
 Load the map cell from a binary chunk. More...
 
virtual size_t CreateBinary (const std::shared_ptr< BaseMapMatrix > matrix, unsigned char *buf, size_t buf_size)
 Create the binary. Serialization of the object. More...
 
virtual size_t GetBinarySize (const std::shared_ptr< BaseMapMatrix > matrix)
 Get the binary size of the object. More...
 
- Public Member Functions inherited from apollo::localization::msf::pyramid_map::BaseMapMatrixHandler
 BaseMapMatrixHandler ()
 
virtual ~BaseMapMatrixHandler ()
 

Constructor & Destructor Documentation

◆ PyramidLosslessMapMatrixHandler()

apollo::localization::msf::pyramid_map::PyramidLosslessMapMatrixHandler::PyramidLosslessMapMatrixHandler ( )

◆ ~PyramidLosslessMapMatrixHandler()

apollo::localization::msf::pyramid_map::PyramidLosslessMapMatrixHandler::~PyramidLosslessMapMatrixHandler ( )

Member Function Documentation

◆ CreateBinary()

virtual size_t apollo::localization::msf::pyramid_map::PyramidLosslessMapMatrixHandler::CreateBinary ( const std::shared_ptr< BaseMapMatrix matrix,
unsigned char *  buf,
size_t  buf_size 
)
virtual

Create the binary. Serialization of the object.

Parameters
<buf,buf_size>The buffer and its size.
<return>The required or the used size of is returned.

Implements apollo::localization::msf::pyramid_map::BaseMapMatrixHandler.

◆ GetBinarySize()

virtual size_t apollo::localization::msf::pyramid_map::PyramidLosslessMapMatrixHandler::GetBinarySize ( const std::shared_ptr< BaseMapMatrix matrix)
virtual

Get the binary size of the object.

Implements apollo::localization::msf::pyramid_map::BaseMapMatrixHandler.

◆ LoadBinary()

virtual size_t apollo::localization::msf::pyramid_map::PyramidLosslessMapMatrixHandler::LoadBinary ( const unsigned char *  buf,
std::shared_ptr< BaseMapMatrix matrix 
)
virtual

Load the map cell from a binary chunk.

Parameters
<return>The size read (the real size of object).

Implements apollo::localization::msf::pyramid_map::BaseMapMatrixHandler.


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