RTT::types::TypekitRepository Class Reference

#include <TypekitRepository.hpp>

List of all members.

Static Public Member Functions

static std::vector< std::string > getTransports ()
static std::vector< std::string > getTransports ()
static std::vector< std::string > getTypekits ()
static std::vector< std::string > getTypekits ()
static bool hasTransport (const std::string &transportname)
static bool hasTransport (const std::string &transportname)
static bool hasTypekit (const std::string &typekitname)
static bool hasTypekit (const std::string &typekitname)
static void Import (TransportPlugin *tr)
static void Import (TypekitPlugin *tkp)
static void Import (TransportPlugin *tr)
static void Import (TypekitPlugin *tkp)
static void Release ()
static void Release ()

Detailed Description

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 install/include/rtt/types/TypekitRepository.hpp.


Member Function Documentation

static std::vector<std::string> RTT::types::TypekitRepository::getTransports (  )  [static]

Get the names of all imported transports.

std::vector< std::string > RTT::TypekitRepository::getTransports (  )  [static]

Get the names of all imported transports.

Definition at line 107 of file TypekitRepository.cpp.

static std::vector<std::string> RTT::types::TypekitRepository::getTypekits (  )  [static]

Get the names of all imported typekits.

std::vector< std::string > RTT::TypekitRepository::getTypekits (  )  [static]

Get the names of all imported typekits.

Definition at line 98 of file TypekitRepository.cpp.

static bool RTT::types::TypekitRepository::hasTransport ( const std::string &  transportname  )  [static]

Check if a transport with given name was already imported. The name should have the form 'PROTOCOL://plugin', for example: "CORBA://rtt-types"

bool RTT::TypekitRepository::hasTransport ( const std::string &  transportname  )  [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 bool RTT::types::TypekitRepository::hasTypekit ( const std::string &  typekitname  )  [static]

Check if a typekit with given name was already imported.

bool RTT::TypekitRepository::hasTypekit ( const std::string &  typekitname  )  [static]

Check if a typekit with given name was already imported.

Definition at line 116 of file TypekitRepository.cpp.

static void RTT::types::TypekitRepository::Import ( TransportPlugin tr  )  [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.

Parameters:
tr A transport plugin that becomes owned by the TypekitRepository.
static void RTT::types::TypekitRepository::Import ( TypekitPlugin tkp  )  [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.

Parameters:
tkp A typekit plugin that becomes owned by the TypekitRepository.
void RTT::TypekitRepository::Import ( TransportPlugin tr  )  [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.

Parameters:
tr A transport plugin that becomes owned by the TypekitRepository.

Definition at line 81 of file TypekitRepository.cpp.

void RTT::TypekitRepository::Import ( TypekitPlugin tkp  )  [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.

Parameters:
tkp A typekit plugin that becomes owned by the TypekitRepository.

Definition at line 52 of file TypekitRepository.cpp.

static void RTT::types::TypekitRepository::Release (  )  [static]

Removes all Typekits and transports from memory.

void RTT::TypekitRepository::Release (  )  [static]

Removes all Typekits and transports from memory.

Definition at line 134 of file TypekitRepository.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtt
Author(s): RTT Developers
autogenerated on Fri Jan 11 09:50:19 2013