#include <CArrayTypeInfo.hpp>
Public Member Functions | |
CArrayTypeInfo (std::string name) | |
CArrayTypeInfo (std::string name) | |
virtual bool | composeTypeImpl (const PropertyBag &source, typename internal::AssignableDataSource< T >::reference_t result) const |
virtual bool | composeTypeImpl (const PropertyBag &source, typename internal::AssignableDataSource< T >::reference_t result) const |
virtual base::DataSourceBase::shared_ptr | getMember (base::DataSourceBase::shared_ptr item, base::DataSourceBase::shared_ptr id) const |
virtual base::DataSourceBase::shared_ptr | getMember (base::DataSourceBase::shared_ptr item, const std::string &name) const |
virtual base::DataSourceBase::shared_ptr | getMember (base::DataSourceBase::shared_ptr item, base::DataSourceBase::shared_ptr id) const |
virtual base::DataSourceBase::shared_ptr | getMember (base::DataSourceBase::shared_ptr item, const std::string &name) const |
virtual std::vector< std::string > | getMemberNames () const |
virtual std::vector< std::string > | getMemberNames () const |
Template for data types that are C-style arrays.
C-style arrays are represented by the carray<T> wrapper in the RTT type system.
T | A carray<U> wrapper, where U is a C data type. |
Definition at line 58 of file install/include/rtt/types/CArrayTypeInfo.hpp.
RTT::types::CArrayTypeInfo< T, has_ostream >::CArrayTypeInfo | ( | std::string | name | ) | [inline] |
Definition at line 51 of file install/include/rtt/types/CArrayTypeInfo.hpp.
RTT::types::CArrayTypeInfo< T, has_ostream >::CArrayTypeInfo | ( | std::string | name | ) | [inline] |
Definition at line 50 of file rtt/types/CArrayTypeInfo.hpp.
virtual bool RTT::types::CArrayTypeInfo< T, has_ostream >::composeTypeImpl | ( | const PropertyBag & | source, | |
typename internal::AssignableDataSource< T >::reference_t | result | |||
) | const [inline, virtual] |
Uses Decomposition to update result from source.
Reimplemented from RTT::types::TemplateTypeInfo< T, has_ostream >.
Definition at line 124 of file rtt/types/CArrayTypeInfo.hpp.
virtual bool RTT::types::CArrayTypeInfo< T, has_ostream >::composeTypeImpl | ( | const PropertyBag & | source, | |
typename internal::AssignableDataSource< T >::reference_t | result | |||
) | const [inline, virtual] |
Uses Decomposition to update result from source.
Reimplemented from RTT::types::TemplateTypeInfo< T, has_ostream >.
Definition at line 125 of file install/include/rtt/types/CArrayTypeInfo.hpp.
virtual base::DataSourceBase::shared_ptr RTT::types::CArrayTypeInfo< T, has_ostream >::getMember | ( | base::DataSourceBase::shared_ptr | item, | |
base::DataSourceBase::shared_ptr | id | |||
) | const [inline, 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 from RTT::types::TypeInfo.
Definition at line 87 of file rtt/types/CArrayTypeInfo.hpp.
virtual base::DataSourceBase::shared_ptr RTT::types::CArrayTypeInfo< T, has_ostream >::getMember | ( | base::DataSourceBase::shared_ptr | item, | |
const std::string & | name | |||
) | const [inline, 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 from RTT::types::TypeInfo.
Definition at line 63 of file rtt/types/CArrayTypeInfo.hpp.
virtual base::DataSourceBase::shared_ptr RTT::types::CArrayTypeInfo< T, has_ostream >::getMember | ( | base::DataSourceBase::shared_ptr | item, | |
base::DataSourceBase::shared_ptr | id | |||
) | const [inline, 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 from RTT::types::TypeInfo.
Definition at line 88 of file install/include/rtt/types/CArrayTypeInfo.hpp.
virtual base::DataSourceBase::shared_ptr RTT::types::CArrayTypeInfo< T, has_ostream >::getMember | ( | base::DataSourceBase::shared_ptr | item, | |
const std::string & | name | |||
) | const [inline, 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 from RTT::types::TypeInfo.
Definition at line 64 of file install/include/rtt/types/CArrayTypeInfo.hpp.
virtual std::vector<std::string> RTT::types::CArrayTypeInfo< T, has_ostream >::getMemberNames | ( | ) | const [inline, virtual] |
Returns the list of struct member names of this type. In case this type is not a struct, returns an empty list.
Reimplemented from RTT::types::TypeInfo.
Definition at line 55 of file rtt/types/CArrayTypeInfo.hpp.
virtual std::vector<std::string> RTT::types::CArrayTypeInfo< T, has_ostream >::getMemberNames | ( | ) | const [inline, virtual] |
Returns the list of struct member names of this type. In case this type is not a struct, returns an empty list.
Reimplemented from RTT::types::TypeInfo.
Definition at line 56 of file install/include/rtt/types/CArrayTypeInfo.hpp.