#include <SequenceTypeInfoBase.hpp>
Public Member Functions | |
base::AttributeBase * | buildVariable (std::string name, int size) const |
bool | composeType (base::DataSourceBase::shared_ptr dssource, base::DataSourceBase::shared_ptr dsresult) const |
base::DataSourceBase::shared_ptr | decomposeType (base::DataSourceBase::shared_ptr source) const |
base::DataSourceBase::shared_ptr | getMember (base::DataSourceBase::shared_ptr item, const std::string &name) const |
base::DataSourceBase::shared_ptr | getMember (base::DataSourceBase::shared_ptr item, base::DataSourceBase::shared_ptr id) const |
std::vector< std::string > | getMemberNames () const |
bool | installTypeInfoObject (TypeInfo *ti) |
bool | resize (base::DataSourceBase::shared_ptr arg, int size) const |
SequenceTypeInfoBase () | |
~SequenceTypeInfoBase () |
Template for data types that are C++ STL Sequences with operator[], size() and capacity() methods.
This class requires that your STL Sequence is compatible with the boost::serialization API. This means that it must provide a serialize() function or that you define a free function serialize() in the boost::serialization namespace.
Definition at line 126 of file SequenceTypeInfoBase.hpp.
RTT::types::SequenceTypeInfoBase< T >::SequenceTypeInfoBase | ( | ) | [inline] |
Definition at line 129 of file SequenceTypeInfoBase.hpp.
RTT::types::SequenceTypeInfoBase< T >::~SequenceTypeInfoBase | ( | ) | [inline] |
Definition at line 141 of file SequenceTypeInfoBase.hpp.
base::AttributeBase* RTT::types::SequenceTypeInfoBase< T >::buildVariable | ( | std::string | name, |
int | size | ||
) | const [inline] |
Reimplemented in RTT::types::StdStringTypeInfo, RTT::types::RTStringTypeInfo, RTT::types::PrimitiveSequenceTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, and RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >.
Definition at line 143 of file SequenceTypeInfoBase.hpp.
bool RTT::types::SequenceTypeInfoBase< T >::composeType | ( | base::DataSourceBase::shared_ptr | dssource, |
base::DataSourceBase::shared_ptr | dsresult | ||
) | const [inline] |
Specialize to resize result given the size of source.
Reimplemented in RTT::types::StdStringTypeInfo, RTT::types::RTStringTypeInfo, RTT::types::StdVectorTemplateTypeInfo< T, has_ostream >, RTT::types::StdVectorTypeInfo, RTT::types::PrimitiveSequenceTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, and RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >.
Definition at line 165 of file SequenceTypeInfoBase.hpp.
base::DataSourceBase::shared_ptr RTT::types::SequenceTypeInfoBase< T >::decomposeType | ( | base::DataSourceBase::shared_ptr | source | ) | const [inline] |
Use getMember() for decomposition...
Reimplemented in RTT::types::StdStringTypeInfo, RTT::types::RTStringTypeInfo, RTT::types::PrimitiveSequenceTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, and RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >.
Definition at line 195 of file SequenceTypeInfoBase.hpp.
base::DataSourceBase::shared_ptr RTT::types::SequenceTypeInfoBase< T >::getMember | ( | base::DataSourceBase::shared_ptr | item, |
const std::string & | name | ||
) | const [inline] |
Reimplemented in RTT::types::PrimitiveSequenceTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, and RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >.
Definition at line 209 of file SequenceTypeInfoBase.hpp.
base::DataSourceBase::shared_ptr RTT::types::SequenceTypeInfoBase< T >::getMember | ( | base::DataSourceBase::shared_ptr | item, |
base::DataSourceBase::shared_ptr | id | ||
) | const [inline] |
Reimplemented in RTT::types::PrimitiveSequenceTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, and RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >.
Definition at line 220 of file SequenceTypeInfoBase.hpp.
std::vector<std::string> RTT::types::SequenceTypeInfoBase< T >::getMemberNames | ( | ) | const [inline] |
Reimplemented in RTT::types::PrimitiveSequenceTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, and RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >.
Definition at line 201 of file SequenceTypeInfoBase.hpp.
bool RTT::types::SequenceTypeInfoBase< T >::installTypeInfoObject | ( | TypeInfo * | ti | ) | [inline] |
Reimplemented in RTT::types::PrimitiveSequenceTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, and RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >.
Definition at line 133 of file SequenceTypeInfoBase.hpp.
bool RTT::types::SequenceTypeInfoBase< T >::resize | ( | base::DataSourceBase::shared_ptr | arg, |
int | size | ||
) | const [inline] |
Reimplemented in RTT::types::PrimitiveSequenceTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< T, has_ostream >, RTT::types::SequenceTypeInfo< rt_string, true >, RTT::types::SequenceTypeInfo< std::string, true >, RTT::types::SequenceTypeInfo< std::vector< double >, true >, and RTT::types::SequenceTypeInfo< std::vector< T >, has_ostream >.
Definition at line 151 of file SequenceTypeInfoBase.hpp.