orogen_transports Namespace Reference

Classes

class  MQTypelibMarshaller
class  MQTypelibMarshallerBase
struct  OpaqueTypelibMarshaller< TypelibType, OpaqueType, 0 >
struct  OpaqueTypelibMarshaller< TypelibType, OpaqueType, 1 >
struct  OpaqueTypelibMarshallerBase
struct  TypelibMarshaller
class  TypelibMarshallerBase

Functions

void * getOpaqueValue (std::string const &expected_type, Typelib::Value value)

Variables

static const int TYPELIB_MARSHALLER_ID = 42

Function Documentation

void* orogen_transports::getOpaqueValue ( std::string const &  expected_type,
Typelib::Value  value 
)

Given a typelib value, returns the corresponding opaque value

The caller is the owner of the memory. He is responsible to cast it to the right type, and delete it. The string is the type name of the opaque value.

Note that for values that are typelib-compatible, a copy of the input is returned so that the ownership constraint outlined above is met.

It relies on using the RTT type system to find the right TypelibMarshallerBase object.


Variable Documentation

Definition at line 11 of file TypelibMarshallerBase.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtt
Author(s): RTT Developers
autogenerated on Fri Jan 11 09:49:45 2013