Orocos Real-Time Toolkit
2.6.0
|
This helper class allows only type names to be added to Orocos. More...
#include <rtt/types/TypeInfoName.hpp>
Public Member Functions | |
TypeInfoName (std::string name) | |
Setup Type Name Information for type name. | |
bool | installTypeInfoObject (TypeInfo *ti) |
Installs the type info object in the global data source type info handler and adds any additional features to the type info object. | |
TypeInfo * | getTypeInfoObject () const |
Returns the TypeInfo object of this type, or null if none exists yet. | |
virtual const std::string & | getTypeName () const |
Return the type name for which this generator generates type info features. | |
Protected Attributes | |
const std::string | tname |
This helper class allows only type names to be added to Orocos.
Definition at line 81 of file TypeInfoName.hpp.
RTT::types::TypeInfoName< T >::TypeInfoName | ( | std::string | name | ) | [inline] |
Setup Type Name Information for type name.
This causes a switch from 'unknown' type to basic type information for type T.
name | the 'Orocos' type name. |
Definition at line 91 of file TypeInfoName.hpp.
TypeInfo* RTT::types::TypeInfoName< T >::getTypeInfoObject | ( | ) | const [inline, virtual] |
Returns the TypeInfo object of this type, or null if none exists yet.
Reimplemented from RTT::types::EmptyTypeInfo.
Definition at line 101 of file TypeInfoName.hpp.
virtual const std::string& RTT::types::EmptyTypeInfo::getTypeName | ( | ) | const [inline, virtual, inherited] |
Return the type name for which this generator generates type info features.
This name will be aliased by the TypeInfo object.
Implements RTT::types::TypeInfoGenerator.
Definition at line 69 of file TypeInfoName.hpp.
bool RTT::types::TypeInfoName< T >::installTypeInfoObject | ( | TypeInfo * | ti | ) | [inline, virtual] |
Installs the type info object in the global data source type info handler and adds any additional features to the type info object.
This method will be called by the TypeInfoRepository, in order to register this type's factories into the TypeInfo object.
ti | A valid TypeInfo object into which new features may be installed |
Reimplemented from RTT::types::EmptyTypeInfo.
Definition at line 96 of file TypeInfoName.hpp.