#include <Operators.hpp>
Public Types | |
| typedef boost::shared_ptr < OperatorRepository > | shared_ptr |
Public Member Functions | |
| void | add (UnaryOp *o) |
| void | add (BinaryOp *o) |
| base::DataSourceBase * | applyBinary (const std::string &op, base::DataSourceBase *a, base::DataSourceBase *b) |
| base::DataSourceBase * | applyUnary (const std::string &op, base::DataSourceBase *a) |
| ~OperatorRepository () | |
Static Public Member Functions | |
| static shared_ptr | Instance () |
Private Member Functions | |
| OperatorRepository () | |
| OperatorRepository (const OperatorRepository &) | |
Private Attributes | |
| std::vector< BinaryOp * > | binaryops |
| std::vector< UnaryOp * > | unaryops |
This class builds on upon construction all expression operators known to Orocos. Mainly used for scripting.
Definition at line 107 of file Operators.hpp.
| typedef boost::shared_ptr<OperatorRepository> RTT::types::OperatorRepository::shared_ptr |
Definition at line 118 of file Operators.hpp.
| RTT::OperatorRepository::OperatorRepository | ( | ) | [private] |
Definition at line 72 of file Operators.cpp.
| RTT::types::OperatorRepository::OperatorRepository | ( | const OperatorRepository & | ) | [private] |
Definition at line 86 of file Operators.cpp.
| void RTT::OperatorRepository::add | ( | UnaryOp * | o | ) |
Definition at line 76 of file Operators.cpp.
| void RTT::OperatorRepository::add | ( | BinaryOp * | o | ) |
Definition at line 81 of file Operators.cpp.
| DataSourceBase * RTT::OperatorRepository::applyBinary | ( | const std::string & | op, |
| base::DataSourceBase * | a, | ||
| base::DataSourceBase * | b | ||
| ) |
Definition at line 105 of file Operators.cpp.
| DataSourceBase * RTT::OperatorRepository::applyUnary | ( | const std::string & | op, |
| base::DataSourceBase * | a | ||
| ) |
Definition at line 92 of file Operators.cpp.
| boost::shared_ptr< OperatorRepository > RTT::OperatorRepository::Instance | ( | ) | [static] |
Returns a shared pointer to the singleton of this class.
Definition at line 61 of file Operators.cpp.
std::vector<BinaryOp*> RTT::types::OperatorRepository::binaryops [private] |
Definition at line 110 of file Operators.hpp.
std::vector<UnaryOp*> RTT::types::OperatorRepository::unaryops [private] |
Definition at line 109 of file Operators.hpp.