23 namespace localization {
25 namespace pyramid_map {
34 virtual size_t LoadBinary(
const unsigned char* buf,
35 std::shared_ptr<BaseMapMatrix> matrix) = 0;
40 virtual size_t CreateBinary(
const std::shared_ptr<BaseMapMatrix> matrix,
41 unsigned char* buf,
size_t buf_size) = 0;
43 virtual size_t GetBinarySize(
const std::shared_ptr<BaseMapMatrix> matrix) = 0;
virtual size_t GetBinarySize(const std::shared_ptr< BaseMapMatrix > matrix)=0
Get the binary size of the object.
virtual ~BaseMapMatrixHandler()
Definition: base_map_matrix_handler.h:30
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
virtual size_t CreateBinary(const std::shared_ptr< BaseMapMatrix > matrix, unsigned char *buf, size_t buf_size)=0
Create the binary. Serialization of the object.
Definition: base_map_matrix_handler.h:27
BaseMapMatrixHandler()
Definition: base_map_matrix_handler.h:29
virtual size_t LoadBinary(const unsigned char *buf, std::shared_ptr< BaseMapMatrix > matrix)=0
Load the map cell from a binary chunk.