Gazebo Sim

API Reference

7.7.0
gz/sim/components/Serialization.hh File Reference
#include <google/protobuf/message_lite.h>
#include <gz/msgs/double_v.pb.h>
#include <string>
#include <vector>
#include <sdf/Sensor.hh>
#include <gz/sim/Conversions.hh>
#include <gz/msgs/Utility.hh>

Go to the source code of this file.

Classes

class  ComponentToMsgSerializer< DataType, MsgType >
 Serialization for that converts components data types to gz::msgs. This assumes that convert<DataType> is defined. More...
 
class  HasGazeboConvert< In, Out >
 Type trait that determines if a 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...
 
class  VectorSerializer< T >
 

Namespaces

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

Typedefs

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