A class which registers TransportProtocol instances to types. More...
#include <rtt/TransportPlugin.hpp>
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. | |
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.
| 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.
| type_name | The name of the type to transport | |
| ti | The typ to which transports may be added. |
1.6.3