#include <TypeInfo.hpp>
A class for representing a user type, and which can build instances of that type.
Definition at line 53 of file install/include/rtt/types/TypeInfo.hpp.
typedef std::vector<TypeBuilder*> RTT::types::TypeInfo::Constructors [protected] |
Definition at line 56 of file rtt/types/TypeInfo.hpp.
typedef std::vector<TypeBuilder*> RTT::types::TypeInfo::Constructors [protected] |
Definition at line 56 of file install/include/rtt/types/TypeInfo.hpp.
typedef std::vector<TypeTransporter*> RTT::types::TypeInfo::Transporters [protected] |
Definition at line 57 of file rtt/types/TypeInfo.hpp.
typedef std::vector<TypeTransporter*> RTT::types::TypeInfo::Transporters [protected] |
Definition at line 57 of file install/include/rtt/types/TypeInfo.hpp.
RTT::TypeInfo::~TypeInfo | ( | ) | [virtual] |
Definition at line 68 of file TypeInfo.cpp.
virtual RTT::types::TypeInfo::~TypeInfo | ( | ) | [virtual] |
virtual void RTT::types::TypeInfo::addConstructor | ( | TypeBuilder * | tb | ) | [virtual] |
Add a constructor/convertor object.
void RTT::TypeInfo::addConstructor | ( | TypeBuilder * | tb | ) | [virtual] |
Add a constructor/convertor object.
Definition at line 106 of file TypeInfo.cpp.
bool RTT::types::TypeInfo::addProtocol | ( | int | protocol_id, | |
TypeTransporter * | tt | |||
) |
Register a protocol for data transport over a network.
bool RTT::TypeInfo::addProtocol | ( | int | protocol_id, | |
TypeTransporter * | tt | |||
) |
Register a protocol for data transport over a network.
Definition at line 160 of file TypeInfo.cpp.
virtual base::DataSourceBase::shared_ptr RTT::types::TypeInfo::buildActionAlias | ( | base::ActionInterface * | action, | |
base::DataSourceBase::shared_ptr | source | |||
) | const [pure virtual] |
Returns a DataSource that first executes an action and returns the result of another data source. If source is an AssignableDataSource, an AssignableDataSource is returned of the same type, otherwise, a plain DataSource is returned.
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::DataSourceBase::shared_ptr RTT::types::TypeInfo::buildActionAlias | ( | base::ActionInterface * | action, | |
base::DataSourceBase::shared_ptr | source | |||
) | const [pure virtual] |
Returns a DataSource that first executes an action and returns the result of another data source. If source is an AssignableDataSource, an AssignableDataSource is returned of the same type, otherwise, a plain DataSource is returned.
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::AttributeBase* RTT::types::TypeInfo::buildAlias | ( | std::string | name, | |
base::DataSourceBase::shared_ptr | b | |||
) | const [pure virtual] |
build an alias with b as the value. If b is of the wrong type, 0 will be returned..
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::AttributeBase* RTT::types::TypeInfo::buildAlias | ( | std::string | name, | |
base::DataSourceBase::shared_ptr | b | |||
) | const [pure virtual] |
build an alias with b as the value. If b is of the wrong type, 0 will be returned..
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::AttributeBase* RTT::types::TypeInfo::buildAttribute | ( | std::string | name, | |
base::DataSourceBase::shared_ptr | source = 0 | |||
) | const [pure virtual] |
Build an Attribute of this type.
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::AttributeBase* RTT::types::TypeInfo::buildAttribute | ( | std::string | name, | |
base::DataSourceBase::shared_ptr | source = 0 | |||
) | const [pure virtual] |
Build an Attribute of this type.
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::ChannelElementBase::shared_ptr RTT::types::TypeInfo::buildChannelInput | ( | base::OutputPortInterface & | port | ) | const [pure virtual] |
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::ChannelElementBase::shared_ptr RTT::types::TypeInfo::buildChannelInput | ( | base::OutputPortInterface & | port | ) | const [pure virtual] |
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::ChannelElementBase::shared_ptr RTT::types::TypeInfo::buildChannelOutput | ( | base::InputPortInterface & | port | ) | const [pure virtual] |
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::ChannelElementBase::shared_ptr RTT::types::TypeInfo::buildChannelOutput | ( | base::InputPortInterface & | port | ) | const [pure virtual] |
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::AttributeBase* RTT::types::TypeInfo::buildConstant | ( | std::string | name, | |
base::DataSourceBase::shared_ptr | ||||
) | const [pure virtual] |
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::AttributeBase* RTT::types::TypeInfo::buildConstant | ( | std::string | name, | |
base::DataSourceBase::shared_ptr | , | |||
int | sizehint | |||
) | const [virtual] |
Build a non modifyable instance of this type.
sizehint | For variable size instances, use it to hint the size of the instance. |
virtual base::AttributeBase* RTT::types::TypeInfo::buildConstant | ( | std::string | name, | |
base::DataSourceBase::shared_ptr | ||||
) | const [pure virtual] |
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::AttributeBase* RTT::types::TypeInfo::buildConstant | ( | std::string | name, | |
base::DataSourceBase::shared_ptr | , | |||
int | sizehint | |||
) | const [virtual] |
Build a non modifyable instance of this type.
sizehint | For variable size instances, use it to hint the size of the instance. |
virtual base::ChannelElementBase::shared_ptr RTT::types::TypeInfo::buildDataStorage | ( | ConnPolicy const & | policy | ) | const [pure virtual] |
Creates single data or buffered storage for this type.
policy | Describes the kind of storage requested by the user |
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::ChannelElementBase::shared_ptr RTT::types::TypeInfo::buildDataStorage | ( | ConnPolicy const & | policy | ) | const [pure virtual] |
Creates single data or buffered storage for this type.
policy | Describes the kind of storage requested by the user |
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::PropertyBase* RTT::types::TypeInfo::buildProperty | ( | const std::string & | name, | |
const std::string & | desc, | |||
base::DataSourceBase::shared_ptr | source = 0 | |||
) | const [pure virtual] |
Build a Property of this type.
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::PropertyBase* RTT::types::TypeInfo::buildProperty | ( | const std::string & | name, | |
const std::string & | desc, | |||
base::DataSourceBase::shared_ptr | source = 0 | |||
) | const [pure virtual] |
Build a Property of this type.
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::DataSourceBase::shared_ptr RTT::types::TypeInfo::buildReference | ( | void * | ptr | ) | const [pure virtual] |
Build a internal::ReferenceDataSource of this type, pointing to the given pointer
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::DataSourceBase::shared_ptr RTT::types::TypeInfo::buildReference | ( | void * | ptr | ) | const [pure virtual] |
Build a internal::ReferenceDataSource of this type, pointing to the given pointer
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::DataSourceBase::shared_ptr RTT::types::TypeInfo::buildValue | ( | ) | const [pure virtual] |
Build a internal::ValueDataSource of this type.
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::DataSourceBase::shared_ptr RTT::types::TypeInfo::buildValue | ( | ) | const [pure virtual] |
Build a internal::ValueDataSource of this type.
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::AttributeBase* RTT::types::TypeInfo::buildVariable | ( | std::string | name | ) | const [pure virtual] |
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::AttributeBase* RTT::types::TypeInfo::buildVariable | ( | std::string | name, | |
int | sizehint | |||
) | const [virtual] |
Build a modifyable instance of this type.
sizehint | For variable size instances, use it to hint the size of the instance. |
Reimplemented in RTT::types::RTStringTypeInfo, RTT::types::StdStringTypeInfo, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::RTStringTypeInfo, RTT::types::StdStringTypeInfo, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::MatrixTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >, and RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >.
virtual base::AttributeBase* RTT::types::TypeInfo::buildVariable | ( | std::string | name | ) | const [pure virtual] |
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
AttributeBase * RTT::TypeInfo::buildVariable | ( | std::string | name, | |
int | sizehint | |||
) | const [virtual] |
Build a modifyable instance of this type.
sizehint | For variable size instances, use it to hint the size of the instance. |
Reimplemented in RTT::types::RTStringTypeInfo, RTT::types::StdStringTypeInfo, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::RTStringTypeInfo, RTT::types::StdStringTypeInfo, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::MatrixTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >, and RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >.
Definition at line 59 of file TypeInfo.cpp.
virtual bool RTT::types::TypeInfo::composeType | ( | base::DataSourceBase::shared_ptr | source, | |
base::DataSourceBase::shared_ptr | target | |||
) | const [pure virtual] |
Compose a type (target) from a DataSourceBase (source) containing its members. The default behavior tries to assign source to target. If that fails, it tries to decompose target into its members and update the members of target with the contents of source.
The default implementation in TemplateTypeInfo works for most types, but can be overridden in case there are multiple versions/possibilities to make a target from a source. For example, in order to support legacy formats or in order to do the inverse of decomposeType().
source | A data source of the same type as target OR a PropertyBag that contains the parts of target to be refreshed. | |
target | A data source of the same type as this TypeInfo object which contains the data to be updated from source. |
Implemented in RTT::types::RTStringTypeInfo, RTT::types::StdStringTypeInfo, RTT::types::StdTypeInfo< T >, RTT::types::EnumTypeInfo< T >, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::RTStringTypeInfo, RTT::types::StdStringTypeInfo, RTT::types::StdTypeInfo< T >, RTT::types::EnumTypeInfo< T >, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual bool RTT::types::TypeInfo::composeType | ( | base::DataSourceBase::shared_ptr | source, | |
base::DataSourceBase::shared_ptr | target | |||
) | const [pure virtual] |
Compose a type (target) from a DataSourceBase (source) containing its members. The default behavior tries to assign source to target. If that fails, it tries to decompose target into its members and update the members of target with the contents of source.
The default implementation in TemplateTypeInfo works for most types, but can be overridden in case there are multiple versions/possibilities to make a target from a source. For example, in order to support legacy formats or in order to do the inverse of decomposeType().
source | A data source of the same type as target OR a PropertyBag that contains the parts of target to be refreshed. | |
target | A data source of the same type as this TypeInfo object which contains the data to be updated from source. |
Implemented in RTT::types::RTStringTypeInfo, RTT::types::StdStringTypeInfo, RTT::types::StdTypeInfo< T >, RTT::types::EnumTypeInfo< T >, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::RTStringTypeInfo, RTT::types::StdStringTypeInfo, RTT::types::StdTypeInfo< T >, RTT::types::EnumTypeInfo< T >, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::DataSourceBase::shared_ptr RTT::types::TypeInfo::construct | ( | const std::vector< base::DataSourceBase::shared_ptr > & | args | ) | const [virtual] |
Constructor syntax: construct a internal::DataSource which returns an instance of data depending on the given arguments. When args is empty, the default 'variable' is returned.
Reimplemented in RTT::types::EmptyTypeInfo, and RTT::types::EmptyTypeInfo.
virtual base::DataSourceBase::shared_ptr RTT::types::TypeInfo::construct | ( | const std::vector< base::DataSourceBase::shared_ptr > & | args | ) | const [virtual] |
Constructor syntax: construct a internal::DataSource which returns an instance of data depending on the given arguments. When args is empty, the default 'variable' is returned.
Reimplemented in RTT::types::EmptyTypeInfo, and RTT::types::EmptyTypeInfo.
virtual base::DataSourceBase::shared_ptr RTT::types::TypeInfo::convert | ( | base::DataSourceBase::shared_ptr | arg | ) | const [virtual] |
Automatic conversion: convert a internal::DataSource to this type. For example, for converting float -> double. If no valid conversion was found, returns arg again, otherwise, a new data source.
virtual base::DataSourceBase::shared_ptr RTT::types::TypeInfo::convert | ( | base::DataSourceBase::shared_ptr | arg | ) | const [virtual] |
Automatic conversion: convert a internal::DataSource to this type. For example, for converting float -> double. If no valid conversion was found, returns arg again, otherwise, a new data source.
virtual base::DataSourceBase::shared_ptr RTT::types::TypeInfo::convertType | ( | base::DataSourceBase::shared_ptr | source | ) | const [virtual] |
Specialize this function to return an alternate type which represents this one in a compatible way. For example, a short converts to an long or an enum to an int or a string.
base::DataSourceBase::shared_ptr RTT::TypeInfo::convertType | ( | base::DataSourceBase::shared_ptr | source | ) | const [virtual] |
Specialize this function to return an alternate type which represents this one in a compatible way. For example, a short converts to an long or an enum to an int or a string.
Definition at line 134 of file TypeInfo.cpp.
virtual base::DataSourceBase::shared_ptr RTT::types::TypeInfo::decomposeType | ( | base::DataSourceBase::shared_ptr | source | ) | const [virtual] |
Specialize this function to return an alternate type which represents this one in a compatible way. For example, a short converts to an long or an enum to an int or a string. If your return a datasource containing a property bag, then this function should do the inverse of composeType: the returned property bag contains all parts of the current type (source) which can be modified and merged back into this type with composeType. Mathematically: composeType( decomposeType( A ), B); assert( A == B );
Reimplemented in RTT::types::RTStringTypeInfo, RTT::types::StdStringTypeInfo, RTT::types::StdTypeInfo< T >, RTT::types::EnumTypeInfo< T >, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::RTStringTypeInfo, RTT::types::StdStringTypeInfo, RTT::types::StdTypeInfo< T >, RTT::types::EnumTypeInfo< T >, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
base::DataSourceBase::shared_ptr RTT::TypeInfo::decomposeType | ( | base::DataSourceBase::shared_ptr | source | ) | const [virtual] |
Specialize this function to return an alternate type which represents this one in a compatible way. For example, a short converts to an long or an enum to an int or a string. If your return a datasource containing a property bag, then this function should do the inverse of composeType: the returned property bag contains all parts of the current type (source) which can be modified and merged back into this type with composeType. Mathematically: composeType( decomposeType( A ), B); assert( A == B );
Reimplemented in RTT::types::RTStringTypeInfo, RTT::types::StdStringTypeInfo, RTT::types::StdTypeInfo< T >, RTT::types::EnumTypeInfo< T >, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::RTStringTypeInfo, RTT::types::StdStringTypeInfo, RTT::types::StdTypeInfo< T >, RTT::types::EnumTypeInfo< T >, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
Definition at line 128 of file TypeInfo.cpp.
virtual bool RTT::types::TypeInfo::fromString | ( | const std::string & | value, | |
base::DataSourceBase::shared_ptr | out | |||
) | const [virtual] |
Usability function which converts a string to data.
virtual bool RTT::types::TypeInfo::fromString | ( | const std::string & | value, | |
base::DataSourceBase::shared_ptr | out | |||
) | const [virtual] |
Usability function which converts a string to data.
virtual base::DataSourceBase::shared_ptr RTT::types::TypeInfo::getMember | ( | base::DataSourceBase::shared_ptr | item, | |
base::DataSourceBase::shared_ptr | id | |||
) | const [virtual] |
Returns a member of a given data source struct identified by a data source id.
item | The item of which to return a member | |
id | Or a string data source containing the name of a member if item is a struct, Or an unsigned int data source containing the index of an element if item is a sequence |
Reimplemented in RTT::types::BoostArrayTypeInfo< T, has_ostream >, RTT::types::CArrayTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::BoostArrayTypeInfo< T, has_ostream >, RTT::types::CArrayTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::MatrixTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >, and RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >.
virtual base::DataSourceBase::shared_ptr RTT::types::TypeInfo::getMember | ( | base::DataSourceBase::shared_ptr | item, | |
const std::string & | name | |||
) | const [virtual] |
Returns a member of a given data source struct identified by its name.
item | The item of which to return a reference to a member | |
name | The name of a member within item. Is a name of a member in case of a struct or an index number in case of a sequence. |
Reimplemented in RTT::types::BoostArrayTypeInfo< T, has_ostream >, RTT::types::CArrayTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::StructTypeInfo< T, has_ostream >, RTT::types::BoostArrayTypeInfo< T, has_ostream >, RTT::types::CArrayTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::StructTypeInfo< T, has_ostream >, RTT::types::MatrixTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >, and RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >.
virtual base::DataSourceBase::shared_ptr RTT::types::TypeInfo::getMember | ( | base::DataSourceBase::shared_ptr | item, | |
base::DataSourceBase::shared_ptr | id | |||
) | const [virtual] |
Returns a member of a given data source struct identified by a data source id.
item | The item of which to return a member | |
id | Or a string data source containing the name of a member if item is a struct, Or an unsigned int data source containing the index of an element if item is a sequence |
Reimplemented in RTT::types::BoostArrayTypeInfo< T, has_ostream >, RTT::types::CArrayTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::BoostArrayTypeInfo< T, has_ostream >, RTT::types::CArrayTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::MatrixTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >, and RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >.
virtual base::DataSourceBase::shared_ptr RTT::types::TypeInfo::getMember | ( | base::DataSourceBase::shared_ptr | item, | |
const std::string & | name | |||
) | const [virtual] |
Returns a member of a given data source struct identified by its name.
item | The item of which to return a reference to a member | |
name | The name of a member within item. Is a name of a member in case of a struct or an index number in case of a sequence. |
Reimplemented in RTT::types::BoostArrayTypeInfo< T, has_ostream >, RTT::types::CArrayTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::StructTypeInfo< T, has_ostream >, RTT::types::BoostArrayTypeInfo< T, has_ostream >, RTT::types::CArrayTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::StructTypeInfo< T, has_ostream >, RTT::types::MatrixTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >, and RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >.
virtual std::vector<std::string> RTT::types::TypeInfo::getMemberNames | ( | ) | const [virtual] |
Returns the list of struct member names of this type. In case this type is not a struct, returns an empty list.
Reimplemented in RTT::types::BoostArrayTypeInfo< T, has_ostream >, RTT::types::CArrayTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::StructTypeInfo< T, has_ostream >, RTT::types::BoostArrayTypeInfo< T, has_ostream >, RTT::types::CArrayTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::StructTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >, and RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >.
vector< string > RTT::TypeInfo::getMemberNames | ( | ) | const [virtual] |
Returns the list of struct member names of this type. In case this type is not a struct, returns an empty list.
Reimplemented in RTT::types::BoostArrayTypeInfo< T, has_ostream >, RTT::types::CArrayTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::StructTypeInfo< T, has_ostream >, RTT::types::BoostArrayTypeInfo< T, has_ostream >, RTT::types::CArrayTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::StructTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >, and RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >.
Definition at line 225 of file TypeInfo.cpp.
TypeTransporter* RTT::types::TypeInfo::getProtocol | ( | int | protocol_id | ) | const |
Returns this type's transport for a given protocol. Will print a warning when returning null. Use hasProtocol() to query without warning.
TypeTransporter * RTT::TypeInfo::getProtocol | ( | int | protocol_id | ) | const |
Returns this type's transport for a given protocol. Will print a warning when returning null. Use hasProtocol() to query without warning.
Definition at line 172 of file TypeInfo.cpp.
std::vector<int> RTT::types::TypeInfo::getTransportNames | ( | ) | const |
Return a list of protocols that have transporters
std::vector< int > RTT::TypeInfo::getTransportNames | ( | ) | const |
Return a list of protocols that have transporters
Definition at line 209 of file TypeInfo.cpp.
virtual std::string RTT::types::TypeInfo::getTypeIdName | ( | ) | const [pure virtual] |
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual std::string RTT::types::TypeInfo::getTypeIdName | ( | ) | const [pure virtual] |
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual const std::string& RTT::types::TypeInfo::getTypeName | ( | ) | const [pure virtual] |
Return unique the type name.
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual const std::string& RTT::types::TypeInfo::getTypeName | ( | ) | const [pure virtual] |
Return unique the type name.
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
bool RTT::types::TypeInfo::hasProtocol | ( | int | protocol_id | ) | const |
Check if this type is transporable over a given protocol.
bool RTT::TypeInfo::hasProtocol | ( | int | protocol_id | ) | const |
Check if this type is transporable over a given protocol.
Definition at line 197 of file TypeInfo.cpp.
virtual base::InputPortInterface* RTT::types::TypeInfo::inputPort | ( | std::string const & | name | ) | const [pure virtual] |
Returns a new InputPort<T> object where T is the type represented by this TypeInfo object.
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::InputPortInterface* RTT::types::TypeInfo::inputPort | ( | std::string const & | name | ) | const [pure virtual] |
Returns a new InputPort<T> object where T is the type represented by this TypeInfo object.
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual bool RTT::types::TypeInfo::installTypeInfoObject | ( | ) | [pure virtual] |
Installs the type info object in the global data source type info handler. This will be called by the TypeInfoRepository, prior to registering this type. If installation fails the TypeInfoRepository will delete this object, and all its associated constructors.
true | installation succeeded. This object should not be deleted during the execution of the current process. | |
false | installation failed. This object is not used and may be deleted. |
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TypeInfoName< T >, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TypeInfoName< T >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual bool RTT::types::TypeInfo::installTypeInfoObject | ( | ) | [pure virtual] |
Installs the type info object in the global data source type info handler. This will be called by the TypeInfoRepository, prior to registering this type. If installation fails the TypeInfoRepository will delete this object, and all its associated constructors.
true | installation succeeded. This object should not be deleted during the execution of the current process. | |
false | installation failed. This object is not used and may be deleted. |
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TypeInfoName< T >, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TypeInfoName< T >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual bool RTT::types::TypeInfo::isStreamable | ( | ) | const [pure virtual] |
Returns true if this type is directly streamable using read()/write() or toString()/fromString().
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual bool RTT::types::TypeInfo::isStreamable | ( | ) | const [pure virtual] |
Returns true if this type is directly streamable using read()/write() or toString()/fromString().
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
void RTT::types::TypeInfo::migrateProtocols | ( | TypeInfo * | orig | ) | [protected] |
Migrates all protocols present in orig to this type info object. It is meant as a helper when a type info object is replaced by a new instance.
void RTT::TypeInfo::migrateProtocols | ( | TypeInfo * | orig | ) | [protected] |
Migrates all protocols present in orig to this type info object. It is meant as a helper when a type info object is replaced by a new instance.
Definition at line 190 of file TypeInfo.cpp.
virtual base::OutputPortInterface* RTT::types::TypeInfo::outputPort | ( | std::string const & | name | ) | const [pure virtual] |
Returns a new OutputPort<T> object where T is the type represented by this TypeInfo object.
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual base::OutputPortInterface* RTT::types::TypeInfo::outputPort | ( | std::string const & | name | ) | const [pure virtual] |
Returns a new OutputPort<T> object where T is the type represented by this TypeInfo object.
Implemented in RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual std::istream& RTT::types::TypeInfo::read | ( | std::istream & | os, | |
base::DataSourceBase::shared_ptr | out | |||
) | const [pure virtual] |
Read a new value for this datasource from a human readable string. The default does nothing.
Implemented in RTT::types::BoolTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::BoolTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual std::istream& RTT::types::TypeInfo::read | ( | std::istream & | os, | |
base::DataSourceBase::shared_ptr | out | |||
) | const [pure virtual] |
Read a new value for this datasource from a human readable string. The default does nothing.
Implemented in RTT::types::BoolTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::BoolTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual bool RTT::types::TypeInfo::resize | ( | base::DataSourceBase::shared_ptr | arg, | |
int | size | |||
) | const [virtual] |
Tries to resize a data source in case it's a resizable sequence.
Reimplemented in RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >, and RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >.
bool RTT::TypeInfo::resize | ( | base::DataSourceBase::shared_ptr | arg, | |
int | size | |||
) | const [virtual] |
Tries to resize a data source in case it's a resizable sequence.
Reimplemented in RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >, and RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >.
Definition at line 139 of file TypeInfo.cpp.
virtual std::string RTT::types::TypeInfo::toString | ( | base::DataSourceBase::shared_ptr | in | ) | const [virtual] |
Usability function which converts data to a string.
virtual std::string RTT::types::TypeInfo::toString | ( | base::DataSourceBase::shared_ptr | in | ) | const [virtual] |
Usability function which converts data to a string.
virtual std::ostream& RTT::types::TypeInfo::write | ( | std::ostream & | os, | |
base::DataSourceBase::shared_ptr | in | |||
) | const [pure virtual] |
Output this datasource as a human readable string. The default just writes the type name in parentheses to os.
Implemented in RTT::types::BoolTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::BoolTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
virtual std::ostream& RTT::types::TypeInfo::write | ( | std::ostream & | os, | |
base::DataSourceBase::shared_ptr | in | |||
) | const [pure virtual] |
Output this datasource as a human readable string. The default just writes the type name in parentheses to os.
Implemented in RTT::types::BoolTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::BoolTypeInfo, RTT::types::TemplateTypeInfo< T, use_ostream >, RTT::types::EmptyTypeInfo, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< T, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< std::string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< rt_string, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< double >, has_ostream >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< T, true >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< bool >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< std::vector< T >, has_ostream >, RTT::types::TemplateTypeInfo< T, false >, and RTT::types::TemplateTypeInfo< T, false >.
Constructors RTT::types::TypeInfo::constructors [protected] |
Definition at line 58 of file install/include/rtt/types/TypeInfo.hpp.
Transporters RTT::types::TypeInfo::transporters [protected] |
Definition at line 59 of file install/include/rtt/types/TypeInfo.hpp.