#include <TypeInfoRepository.hpp>
This class contains all known types to Orocos.
- See also
- TemplateTypeInfo to add your own classes to Orocos.
Definition at line 56 of file TypeInfoRepository.hpp.
RTT::TypeInfoRepository::TypeInfoRepository |
( |
| ) |
|
|
private |
RTT::TypeInfoRepository::~TypeInfoRepository |
( |
| ) |
|
bool RTT::TypeInfoRepository::addType |
( |
TypeInfo * |
ti | ) |
|
Add a type to the Orocos type repository.
- Parameters
-
ti | A type info object that becomes owned by the TypeInfoRepository (so use new()). It's name must be unique. |
- Returns
- false if ti was already added or if ti->getTypeName() already exists in this repository.
Definition at line 163 of file TypeInfoRepository.cpp.
Add a type by using a type info generator. This class is responsible for installing the TypeInfo object, registering the name and installing the necessary factories.
Definition at line 177 of file TypeInfoRepository.cpp.
std::vector< std::string > RTT::TypeInfoRepository::getDottedTypes |
( |
| ) |
const |
TypeInfo * RTT::TypeInfoRepository::getTypeById |
( |
const char * |
type_id_name | ) |
const |
template<class T >
TypeInfo* RTT::types::TypeInfoRepository::getTypeInfo |
( |
| ) |
const |
|
inline |
std::vector< std::string > RTT::TypeInfoRepository::getTypes |
( |
| ) |
const |
List all types registered with their original type name. See getDottedTypes for the typenames written in the 'package.type' notation.
Definition at line 211 of file TypeInfoRepository.cpp.
void RTT::TypeInfoRepository::logTypeInfo |
( |
| ) |
const |
Dump all known types, along with transports and their types, to the log.
Definition at line 252 of file TypeInfoRepository.cpp.
void RTT::TypeInfoRepository::Release |
( |
| ) |
|
|
static |
void RTT::TypeInfoRepository::setAutoLoader |
( |
const boost::function< bool(const std::string &)> & |
loader | ) |
|
string RTT::TypeInfoRepository::toDot |
( |
const std::string & |
type | ) |
const |
TypeInfo * RTT::TypeInfoRepository::type |
( |
const std::string & |
name | ) |
const |
Retrieve a type with a given name.
- Parameters
-
name | The type name as specified by the TypeInfo object, or it's dotted equivalent. |
Definition at line 113 of file TypeInfoRepository.cpp.
TypeInfo * RTT::TypeInfoRepository::typeInternal |
( |
const std::string & |
name | ) |
const |
|
private |
map_t RTT::types::TypeInfoRepository::data |
|
private |
boost::function<bool (const std::string &)> RTT::types::TypeInfoRepository::loadTypeKitForName |
|
private |
Transports RTT::types::TypeInfoRepository::transports |
|
private |
os::Mutex RTT::types::TypeInfoRepository::type_lock |
|
mutableprivate |
The documentation for this class was generated from the following files: