Orocos Real-Time Toolkit
2.8.3
|
This class allows the RTT to be extended with additional typekits (TypekitPlugin), such as for kinematics or any library foreign to Orocos. More...
#include <rtt/types/TypekitRepository.hpp>
Static Public Member Functions | |
static void | Import (TypekitPlugin *tkp) |
Import a typekit plugin into the type system of this process. More... | |
static void | Import (TransportPlugin *tr) |
Import a transport plugin into the type system of this process. More... | |
static std::vector< std::string > | getTypekits () |
Get the names of all imported typekits. More... | |
static std::vector< std::string > | getTransports () |
Get the names of all imported transports. More... | |
static bool | hasTypekit (const std::string &typekitname) |
Check if a typekit with given name was already imported. More... | |
static bool | hasTransport (const std::string &transportname) |
Check if a transport with given name was already imported. More... | |
static void | Release () |
Removes all Typekits and transports from memory. More... | |
This class allows the RTT to be extended with additional typekits (TypekitPlugin), such as for kinematics or any library foreign to Orocos.
Definition at line 56 of file TypekitRepository.hpp.
|
static |
Get the names of all imported transports.
Definition at line 107 of file TypekitRepository.cpp.
|
static |
Get the names of all imported typekits.
Definition at line 98 of file TypekitRepository.cpp.
|
static |
Check if a transport with given name was already imported.
The name should have the form 'PROTOCOL://plugin', for example: "CORBA://rtt-types"
Definition at line 125 of file TypekitRepository.cpp.
|
static |
Check if a typekit with given name was already imported.
Definition at line 116 of file TypekitRepository.cpp.
Referenced by RTT::ComponentLoader::isImported().
|
static |
Import a typekit plugin into the type system of this process.
One may try to load the same plugin multiple times from different places. Only the first import will succeed. Multiple imports will not be considered as an error, but will be silently freed.
tkp | A typekit plugin that becomes owned by the TypekitRepository. |
Definition at line 52 of file TypekitRepository.cpp.
References RTT::Debug, RTT::Logger::endl(), RTT::Error, RTT::types::TypekitPlugin::getName(), RTT::Info, RTT::types::TypekitPlugin::loadConstructors(), RTT::types::TypekitPlugin::loadGlobals(), RTT::types::TypekitPlugin::loadOperators(), and RTT::types::TypekitPlugin::loadTypes().
|
static |
Import a transport plugin into the type system of this process.
One may try to load the same transport plugin multiple times from different places. Only the first import will succeed. Multiple imports will not be considered as an error, but will be silently freed.
tr | A transport plugin that becomes owned by the TypekitRepository. |
Definition at line 81 of file TypekitRepository.cpp.
References RTT::Debug, RTT::Logger::endl(), RTT::types::TransportPlugin::getName(), RTT::types::TransportPlugin::getTransportName(), RTT::types::TransportPlugin::getTypekitName(), RTT::Info, and RTT::types::TypeInfoRepository::Instance().
|
static |
Removes all Typekits and transports from memory.
Definition at line 134 of file TypekitRepository.cpp.
Referenced by __os_exit().