The Dot Operator allows access to members of composite types, such as in frame.pos.x . More...
#include <rtt/Operators.hpp>
Public Member Functions | |
virtual DataSourceBase * | build (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. |
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.
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 >.