RTT::types::CArrayTypeInfo< T, has_ostream > Class Template Reference

#include <CArrayTypeInfo.hpp>

Inheritance diagram for RTT::types::CArrayTypeInfo< T, has_ostream >:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

template<typename T, bool has_ostream = false>
class RTT::types::CArrayTypeInfo< T, has_ostream >

Template for data types that are C-style arrays.

C-style arrays are represented by the carray<T> wrapper in the RTT type system.

Parameters:
T A carray<U> wrapper, where U is a C data type.

Definition at line 58 of file install/include/rtt/types/CArrayTypeInfo.hpp.


Constructor & Destructor Documentation

template<typename T , bool has_ostream = false>
RTT::types::CArrayTypeInfo< T, has_ostream >::CArrayTypeInfo ( std::string  name  )  [inline]

Definition at line 51 of file install/include/rtt/types/CArrayTypeInfo.hpp.

template<typename T , bool has_ostream = false>
RTT::types::CArrayTypeInfo< T, has_ostream >::CArrayTypeInfo ( std::string  name  )  [inline]

Definition at line 50 of file rtt/types/CArrayTypeInfo.hpp.


Member Function Documentation

template<typename T , bool has_ostream = false>
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.

template<typename T , bool has_ostream = false>
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.

template<typename T , bool has_ostream = false>
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.

Parameters:
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.

template<typename T , bool has_ostream = false>
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.

Parameters:
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.
Returns:
null if no such member exists, an assignable datasource referencing that member otherwise.

Reimplemented from RTT::types::TypeInfo.

Definition at line 63 of file rtt/types/CArrayTypeInfo.hpp.

template<typename T , bool has_ostream = false>
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.

Parameters:
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.

template<typename T , bool has_ostream = false>
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.

Parameters:
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.
Returns:
null if no such member exists, an assignable datasource referencing that member otherwise.

Reimplemented from RTT::types::TypeInfo.

Definition at line 64 of file install/include/rtt/types/CArrayTypeInfo.hpp.

template<typename T , bool has_ostream = false>
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.

template<typename T , bool has_ostream = false>
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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtt
Author(s): RTT Developers
autogenerated on Fri Jan 11 09:50:17 2013