Ignition Gazebo

API Reference

Serialization.hh File Reference
#include <google/protobuf/message_lite.h>
#include <ignition/msgs/double_v.pb.h>
#include <string>
#include <vector>
#include <sdf/Sensor.hh>
#include <ignition/gazebo/Conversions.hh>
#include <ignition/msgs/Utility.hh>

Go to the source code of this file.


class  ComponentToMsgSerializer< DataType, MsgType >
 Serialization for that converts components data types to ignition::msgs. This assumes that convert<DataType> is defined. More...
class  HasGazeboConvert< In, Out >
 Type trait that determines if an convert from In to Out is defined. Usage: More...
class  MsgSerializer
 Serializer for components that hold protobuf messages. More...
class  StringSerializer
 Serializer for components that hold std::string. More...
class  VectorDoubleSerializer
 Serializer for components that hold std::vector<double>. More...


 This library is part of the Ignition Robotics project.
 Gazebo is a leading open source robotics simulator, that provides high fidelity physics, rendering, and sensor simulation.
 A Serializer class is used to serialize and deserialize a component. It is passed in as the third template parameter to components::Component. Eg.


using SensorSerializer = ComponentToMsgSerializer< sdf::Sensor, msgs::Sensor >
 Common serializer for sensors. More...