Public Member Functions
RTT::types::TypeInfoName< T > Struct Template Reference

#include <TypeInfoName.hpp>

Inheritance diagram for RTT::types::TypeInfoName< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

TypeInfogetTypeInfoObject () const
bool installTypeInfoObject (TypeInfo *ti)
 TypeInfoName (std::string name)

Detailed Description

template<typename T>
struct RTT::types::TypeInfoName< T >

This helper class allows only type names to be added to Orocos.

Warning:
OR use this class OR use TemplateTypeInfo to describe your type, not both.
See also:
TemplateTypeInfo for adding full type info to Orocos.

Definition at line 81 of file TypeInfoName.hpp.


Constructor & Destructor Documentation

template<typename T >
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.

Parameters:
namethe 'Orocos' type name.

Definition at line 91 of file TypeInfoName.hpp.


Member Function Documentation

template<typename T >
TypeInfo* RTT::types::TypeInfoName< T >::getTypeInfoObject ( ) const [inline, virtual]

Returns the TypeInfo object of this type, or null if none exists yet.

Returns:
All generators should return here TypeInfoRepository::Instance()->getTypeInfo<T>();

Reimplemented from RTT::types::EmptyTypeInfo.

Definition at line 101 of file TypeInfoName.hpp.

template<typename T >
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.

Parameters:
tiA valid TypeInfo object into which new features may be installed
Returns:
true if this object may be deleted, false if not.
Postcondition:
When true is returned, this instance is still valid and the caller (TypeInfoRepository) will delete it. When false is returned, the validity is undefined and the instance will not be used anymore by the caller.

Reimplemented from RTT::types::EmptyTypeInfo.

Definition at line 96 of file TypeInfoName.hpp.


The documentation for this struct was generated from the following file:


rtt
Author(s): RTT Developers
autogenerated on Sat Jun 8 2019 18:46:40