#include <CommandFunctors.hpp>
Public Types | |
typedef boost::function< bool(void)> | Function |
Public Member Functions | |
virtual ConditionFunction * | clone () const |
ConditionFunction (Function impl, bool invert=false) | |
virtual bool | evaluate () |
Evaluate the Condition and return the outcome. | |
Public Attributes | |
Function | con |
bool | minvert |
A functor with the ConditionInterface, for the case where the functor is a bool(void).
Definition at line 87 of file CommandFunctors.hpp.
typedef boost::function<bool(void)> RTT::scripting::ConditionFunction::Function |
Definition at line 91 of file CommandFunctors.hpp.
RTT::scripting::ConditionFunction::ConditionFunction | ( | Function | impl, |
bool | invert = false |
||
) | [inline] |
Definition at line 99 of file CommandFunctors.hpp.
virtual ConditionFunction* RTT::scripting::ConditionFunction::clone | ( | ) | const [inline, virtual] |
The Clone Software Pattern.
Implements RTT::scripting::ConditionInterface.
Definition at line 106 of file CommandFunctors.hpp.
virtual bool RTT::scripting::ConditionFunction::evaluate | ( | ) | [inline, virtual] |
Evaluate the Condition and return the outcome.
Implements RTT::scripting::ConditionInterface.
Definition at line 104 of file CommandFunctors.hpp.
Definition at line 93 of file CommandFunctors.hpp.
Definition at line 94 of file CommandFunctors.hpp.