Public Member Functions | List of all members
RTT::types::BinaryOp Class Referenceabstract

#include <Operators.hpp>

Inheritance diagram for RTT::types::BinaryOp:
Inheritance graph

Public Member Functions

virtual base::DataSourceBasebuild (const std::string &op, base::DataSourceBase *a, base::DataSourceBase *b)=0
virtual bool isExactMatch (const std::string &op, base::DataSourceBase *a, base::DataSourceBase *b)=0
virtual ~BinaryOp ()

Detailed Description

Definition at line 80 of file Operators.hpp.

Constructor & Destructor Documentation

RTT::BinaryOp::~BinaryOp ( )

Definition at line 128 of file Operators.cpp.

Member Function Documentation

virtual base::DataSourceBase* RTT::types::BinaryOp::build ( const std::string &  op,
base::DataSourceBase a,
base::DataSourceBase b 
pure virtual

If op is the operator you are responsible for, and if the argument internal::DataSource's are of the correct type, then return an appropriate internal::DataSource ( i.e. a internal::DataSource that will apply a certain operation on the values it gets from its argument DataSources, and will return that value ). Otherwise, return 0.

Implemented in RTT::types::BinaryOperator< function >.

virtual bool RTT::types::BinaryOp::isExactMatch ( const std::string &  op,
base::DataSourceBase a,
base::DataSourceBase b 
pure virtual

Returns true if this binary operator matches op, and a and b are the exact types this operator expects.

Implemented in RTT::types::BinaryOperator< function >.

The documentation for this class was generated from the following files:

Author(s): RTT Developers
autogenerated on Tue Jun 25 2019 19:33:46