A Serializer class is used to serialize and deserialize a component. It is passed in as the third template parameter to components::Component. Eg. More...
Classes | |
class | ComponentToMsgSerializer |
Serialization for that converts components data types to ignition::msgs. This assumes that convert<DataType> is defined. More... | |
class | DefaultSerializer |
Default serializer template to call stream operators only on types that support them. If the stream operator is not available, a warning message is printed. More... | |
class | DefaultSerializer< components::NoData > |
Specialization of DefaultSerializer for NoData. More... | |
class | DetachableJointInfoSerializer |
Serializer for DetachableJointInfo object. More... | |
class | JointTypeSerializer |
class | LevelEntityNamesSerializer |
class | MsgSerializer |
Serializer for components that hold protobuf messages. More... | |
class | PerformerLevelsSerializer |
class | StringSerializer |
Serializer for components that hold std::string. More... | |
class | VectorDoubleSerializer |
Serializer for components that hold std::vector<double> . More... | |
Detailed Description
A Serializer class is used to serialize and deserialize a component. It is passed in as the third template parameter to components::Component. Eg.
A serializer class implements two static functions: Serialize
and Deserialize
with the following signatures
class ExampleSerializer
{
const DataType &_data);
DataType &_data)
};
Typedef Documentation
◆ ActorSerializer
using ActorSerializer = serializers::ComponentToMsgSerializer<sdf::Actor, msgs::Actor> |
◆ AtmosphereSerializer
using AtmosphereSerializer = serializers::ComponentToMsgSerializer<sdf::Atmosphere, msgs::Atmosphere> |
◆ AxisAlignedBoxSerializer
using AxisAlignedBoxSerializer = serializers::ComponentToMsgSerializer<math::AxisAlignedBox, msgs::AxisAlignedBox> |
◆ CollisionElementSerializer
using CollisionElementSerializer = serializers::ComponentToMsgSerializer<sdf::Collision, msgs::Collision> |
◆ GeometrySerializer
using GeometrySerializer = serializers::ComponentToMsgSerializer<sdf::Geometry, msgs::Geometry> |
◆ InertialSerializer
◆ JointAxisSerializer
using JointAxisSerializer = serializers::ComponentToMsgSerializer<sdf::JointAxis, msgs::Axis> |
◆ LightSerializer
using LightSerializer = serializers::ComponentToMsgSerializer<sdf::Light, msgs::Light> |
◆ MaterialSerializer
using MaterialSerializer = serializers::ComponentToMsgSerializer<sdf::Material, msgs::Material> |
◆ SceneSerializer
using SceneSerializer = serializers::ComponentToMsgSerializer<sdf::Scene, msgs::Scene> |
◆ SensorSerializer
using SensorSerializer = ComponentToMsgSerializer<sdf::Sensor, msgs::Sensor> |
Common serializer for sensors.