Orocos Real-Time Toolkit  2.6.0
Public Types | Public Member Functions | Protected Member Functions
RTT::scripting::EdgeCondition Class Reference

This class represents a conditional branch in a program tree. More...

#include <rtt/scripting/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 ()
 Create a default EdgeCondition which evaluates always as true.
 EdgeCondition (ConditionInterface *cond)
 EdgeCondition specifies a condition to check.
 EdgeCondition (const EdgeCondition &orig)
EdgeCondition & operator= (const EdgeCondition &orig)
EdgeCondition copy (std::map< const base::DataSourceBase *, base::DataSourceBase * > &replacementdss) const
void reset ()
 Reset the condition in this EdgeCondition.
bool evaluate ()
 Evaluates the condition coupled with this termination clause.
ConditionInterface * getCondition () const
 Return the condition coupled with this termination clause.
int getRank () const

Protected Member Functions

void setCondition (ConditionInterface *cond)

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.


Constructor & Destructor Documentation

EdgeCondition specifies a condition to check.

This EdgeCondition takes ownership of cond.

Definition at line 51 of file EdgeCondition.cpp.


Member Function Documentation

Reset the condition in this EdgeCondition.

See the documentation of ConditionInterface::reset() for more details..

Definition at line 77 of file EdgeCondition.cpp.

References RTT::scripting::ConditionInterface::reset().


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