Skip to content

rock-core/tools-orogen_opaque_autogen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orogen-Plugin for serialization

Description

This package installs an Orogen-Plugin which allows to automatically generate opaque types for complex class objects. With this it is possible to serialize them to send and receive via ports of Orogen-Tasks.

Details

Generates an opaque conversion for the given type. It registers a wrapper type based on the selected serialization method and generates the conversion between the opaque type and its wrapper type.

The following options are available:

  • +:include+ and +:includes+ are used to include the headers of the opaque type.
  • +:type+ selects the serialization type, default is +:boost_serialization+

Serialization types:

  • +:boost_serialization+ the opaque type must support boost serialization. It is used to store the internal data of the opaque in binary form.

Example

opaque_autogen '/gridmaps/Grid2D',
               :includes => "gridmaps/Grid2D.hpp",
               :type => :boost_serialization

About

OroGen Plugin to allow the autogeneration of opaque types

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 57.8%
  • C++ 39.6%
  • CMake 2.6%