Gazebo Gazebo

API Reference

3.15.1
MsgSerializer Class Reference

Serializer for components that hold protobuf messages. More...

#include <Serialization.hh>

Static Public Member Functions

static std::istreamDeserialize (std::istream &_in, google::protobuf::Message &_msg)
 Deserialization. More...
 
static std::ostreamSerialize (std::ostream &_out, const google::protobuf::Message &_msg)
 Serialization. More...
 

Detailed Description

Serializer for components that hold protobuf messages.

Member Function Documentation

◆ Deserialize()

static std::istream& Deserialize ( std::istream _in,
google::protobuf::Message &  _msg 
)
inlinestatic

Deserialization.

Parameters
[in]_inInput stream.
[in]_msgMessage to populate
Returns
The stream.

◆ Serialize()

static std::ostream& Serialize ( std::ostream _out,
const google::protobuf::Message &  _msg 
)
inlinestatic

Serialization.

Parameters
[in]_outOutput stream.
[in]_msgMessage to stream
Returns
The stream.

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