Public Types | Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes
RTT::scripting::EdgeCondition Class Reference

This class represents a conditional branch in a program tree. It contains a condition which must be satisfied to pass to the next node. More...

#include <EdgeCondition.hpp>

List of all members.

Public Types

typedef property
< edge_condition_t,
EdgeCondition, property
< boost::edge_index_t, int > > 
EdgeProperty

Public Member Functions

EdgeCondition copy (std::map< const base::DataSourceBase *, base::DataSourceBase * > &replacementdss) const
 EdgeCondition ()
 EdgeCondition (ConditionInterface *cond)
 EdgeCondition (const EdgeCondition &orig)
bool evaluate ()
ConditionInterfacegetCondition () const
int getRank () const
EdgeConditionoperator= (const EdgeCondition &orig)
void reset ()
 ~EdgeCondition ()

Protected Member Functions

void setCondition (ConditionInterface *cond)

Private Attributes

ConditionInterfacecondition
int rank

Static Private Attributes

static int condition_counter = 0

Detailed Description

This class represents a conditional branch in a program tree. It contains a condition which must be satisfied to pass to the next node.

Definition at line 72 of file EdgeCondition.hpp.


Member Typedef Documentation

typedef property<edge_condition_t, EdgeCondition, property< boost::edge_index_t, int> > RTT::scripting::EdgeCondition::EdgeProperty

Definition at line 77 of file EdgeCondition.hpp.


Constructor & Destructor Documentation

Create a default EdgeCondition which evaluates always as true.

Definition at line 48 of file EdgeCondition.cpp.

EdgeCondition specifies a condition to check. This EdgeCondition takes ownership of cond.

Definition at line 51 of file EdgeCondition.cpp.

Definition at line 56 of file EdgeCondition.cpp.

Definition at line 82 of file EdgeCondition.cpp.


Member Function Documentation

EdgeCondition RTT::EdgeCondition::copy ( std::map< const base::DataSourceBase *, base::DataSourceBase * > &  replacementdss) const

Definition at line 87 of file EdgeCondition.cpp.

Evaluates the condition coupled with this termination clause.

Definition at line 67 of file EdgeCondition.cpp.

Return the condition coupled with this termination clause.

Definition at line 72 of file EdgeCondition.cpp.

Definition at line 117 of file EdgeCondition.hpp.

EdgeCondition & RTT::EdgeCondition::operator= ( const EdgeCondition orig)

Definition at line 94 of file EdgeCondition.cpp.

Reset the condition in this EdgeCondition. See the documentation of ConditionInterface::reset() for more details..

Definition at line 77 of file EdgeCondition.cpp.

Definition at line 61 of file EdgeCondition.cpp.


Member Data Documentation

Definition at line 123 of file EdgeCondition.hpp.

int RTT::EdgeCondition::condition_counter = 0 [static, private]

Definition at line 74 of file EdgeCondition.hpp.

Definition at line 124 of file EdgeCondition.hpp.


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


rtt
Author(s): RTT Developers
autogenerated on Wed Aug 26 2015 16:16:25