ark::ros::RosmsgRegistry
Defined in header “ark/ros/rosmsg_registry.hh”.
This registry allows you to access schema information for all of your rosmsg definitions, providing convenient accessors over the standard SchemaRegistry for ROS-specific types.
Methods
-
RosmsgRegistry()
Constructor. -
~RosmsgRegistry()
Private destructor, for cleanup. -
void add_type(const std::string & ros_type_name, const std::string & message_definitions)
Adds in the given message definition to the registry. -
std::shared_ptr< serialization::Object > object(const std::string & ros_type_name)
Returns an object suitable for deserializing the given type. -
std::shared_ptr< serialization::Object > deserialize(const std::string & ros_type_name, const core::ByteBuffer & buffer)
Deserializes the given byte buffer (assuming its of the specified ROS type) and returns an Object definition.