RTT::detail::UnaryOperator< function > Class Template Reference

An operator which reads a single DataSource and returns a modified result. More...

#include <rtt/OperatorTypes.hpp>

Inheritance diagram for RTT::detail::UnaryOperator< function >:
RTT::detail::UnaryOp

List of all members.

Public Member Functions

 UnaryOperator (const char *op, function f)
DataSource< result_t > * build (const std::string &op, DataSourceBase *a)
 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

template<typename function>
class RTT::detail::UnaryOperator< function >

An operator which reads a single DataSource and returns a modified result.

Definition at line 50 of file OperatorTypes.hpp.


Member Function Documentation

template<typename function >
DataSource<result_t>* RTT::detail::UnaryOperator< function >::build ( const std::string &  op,
DataSourceBase a 
) [inline, 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.

Implements RTT::detail::UnaryOp.

Definition at line 53 of file OperatorTypes.hpp.


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