Public Member Functions | Protected Attributes
RTT::types::EmptyTypeInfo Class Reference

#include <TypeInfoName.hpp>

Inheritance diagram for RTT::types::EmptyTypeInfo:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 EmptyTypeInfo (std::string name)
TypeInfogetTypeInfoObject () const
virtual const std::string & getTypeName () const
bool installTypeInfoObject (TypeInfo *ti)

Protected Attributes

const std::string tname

Detailed Description

Empty implementation of TypeInfo interface.

Definition at line 54 of file TypeInfoName.hpp.


Constructor & Destructor Documentation

RTT::types::EmptyTypeInfo::EmptyTypeInfo ( std::string  name) [inline]

Definition at line 60 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.


Member Data Documentation

const std::string RTT::types::EmptyTypeInfo::tname [protected]

Definition at line 58 of file TypeInfoName.hpp.


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


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