RTT::TransportPlugin Class Reference

A class which registers TransportProtocol instances to types. More...

#include <rtt/TransportPlugin.hpp>

List of all members.

Public Member Functions

virtual bool registerTransport (std::string type_name, TypeInfo *ti)=0
 Add a transport for the given type to the TypeInfo instance.
virtual std::string getTransportName () const =0
 Returns the (protocol) name of this transport.
virtual std::string getName () const =0
 Each plugin must have a unique name.

Detailed Description

A class which registers TransportProtocol instances to types.

Use the ORO_TOOLKIT_PLUGIN macro to have the plugin framework automatically load all types supported by this plugin (using registerTransport() below).

Definition at line 49 of file TransportPlugin.hpp.


Member Function Documentation

virtual std::string RTT::TransportPlugin::getName (  )  const [pure virtual]

Each plugin must have a unique name.

e.g. "CorbaKDL"

virtual std::string RTT::TransportPlugin::getTransportName (  )  const [pure virtual]

Returns the (protocol) name of this transport.

e.g. "CORBA"

virtual bool RTT::TransportPlugin::registerTransport ( std::string  type_name,
TypeInfo ti 
) [pure virtual]

Add a transport for the given type to the TypeInfo instance.

Parameters:
type_name The name of the type to transport
ti The typ to which transports may be added.
Returns:
false if no transport was added, true otherwise.

The documentation for this class was generated from the following file:
Generated on Thu Dec 23 13:22:45 2010 for Orocos Real-Time Toolkit by  doxygen 1.6.3