RTT::detail::DotOp Class Reference

The Dot Operator allows access to members of composite types, such as in frame.pos.x . More...

#include <rtt/Operators.hpp>

Inheritance diagram for RTT::detail::DotOp:
RTT::detail::DotOperator< function >

List of all members.

Public Member Functions

virtual DataSourceBasebuild (const std::string &member, DataSourceBase *a)=0
 If op is the operator you are responsible for, and if the argument DataSource is of the correct type, then return an appropriate DataSource.

Detailed Description

The Dot Operator allows access to members of composite types, such as in frame.pos.x .

This is used if a dot was parsed on a value type. It is different by semantics of the UnaryOp because the dot is parsed as a binary operator but actually is a unary ( hard to explain, look at the code...)

Definition at line 103 of file Operators.hpp.


Member Function Documentation

virtual DataSourceBase* RTT::detail::DotOp::build ( const std::string &  member,
DataSourceBase a 
) [pure virtual]

If op is the operator you are responsible for, and if the argument DataSource is of the correct type, then return an appropriate DataSource.

( i.e. a DataSource that will apply a certain operation on the value it gets from its argument DataSource, and will return that value ). Otherwise, return 0.

Implemented in RTT::detail::DotOperator< function >.


The documentation for this class was generated from the following file:
Generated on Thu Dec 23 13:22:46 2010 for Orocos Real-Time Toolkit by  doxygen 1.6.3