Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
RTT::types::OperatorRepository Class Reference

#include <Operators.hpp>

Public Types

typedef boost::shared_ptr< OperatorRepositoryshared_ptr
 

Public Member Functions

void add (UnaryOp *o)
 
void add (BinaryOp *o)
 
base::DataSourceBaseapplyBinary (const std::string &op, base::DataSourceBase *a, base::DataSourceBase *b)
 
base::DataSourceBaseapplyUnary (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
 

Detailed Description

This class builds on upon construction all expression operators known to Orocos. Mainly used for scripting.

Definition at line 107 of file Operators.hpp.

Member Typedef Documentation

Definition at line 118 of file Operators.hpp.

Constructor & Destructor Documentation

RTT::OperatorRepository::OperatorRepository ( )
private

Definition at line 72 of file Operators.cpp.

RTT::types::OperatorRepository::OperatorRepository ( const OperatorRepository )
private
RTT::OperatorRepository::~OperatorRepository ( )

Definition at line 86 of file Operators.cpp.

Member Function Documentation

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.

Member Data Documentation

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.


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


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