Orocos Real-Time Toolkit  2.6.0
Public Member Functions | Protected Attributes
RTT::types::EmptyTypeInfo Class Reference

Empty implementation of TypeInfo interface. More...

#include <rtt/types/TypeInfoName.hpp>

Inheritance diagram for RTT::types::EmptyTypeInfo:
RTT::types::TypeInfoGenerator RTT::types::TypeInfoName< T >

List of all members.

Public Member Functions

 EmptyTypeInfo (std::string 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.
virtual const std::string & getTypeName () const
 Return the type name for which this generator generates type info features.
TypeInfogetTypeInfoObject () const
 Returns the TypeInfo object of this type, or null if none exists yet.

Protected Attributes

const std::string tname

Detailed Description

Empty implementation of TypeInfo interface.

Definition at line 54 of file TypeInfoName.hpp.


Member Function Documentation

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

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

Implements RTT::types::TypeInfoGenerator.

Reimplemented in RTT::types::TypeInfoName< T >.

Definition at line 71 of file TypeInfoName.hpp.

virtual const std::string& RTT::types::EmptyTypeInfo::getTypeName ( ) const [inline, virtual]

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.

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.

Implements RTT::types::TypeInfoGenerator.

Reimplemented in RTT::types::TypeInfoName< T >.

Definition at line 65 of file TypeInfoName.hpp.


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