Orocos Real-Time Toolkit
2.6.0
|
This is a class containing a parse function for conditions. More...
#include <rtt/scripting/ConditionParser.hpp>
Public Member Functions | |
ConditionParser (TaskContext *context, ExecutionEngine *caller, CommonParser &cp) | |
rule_t & | parser () |
ConditionInterface * | getParseResult () |
Call this to get the parsed condition. | |
std::pair < base::ActionInterface *, ConditionInterface * > | getParseResultAsCommand () |
Retrieve the result as a command, condition pair. | |
void | reset () |
This is a class containing a parse function for conditions.
It is used by ProgramParser, and probably other parser's too in the future...
Definition at line 61 of file ConditionParser.hpp.
RTT::ConditionParser::ConditionParser | ( | TaskContext * | context, |
ExecutionEngine * | caller, | ||
CommonParser & | cp | ||
) |
conditions used to be more complex, but nowadays, they're just boolean expressions..
Definition at line 52 of file ConditionParser.cpp.
Call this to get the parsed condition.
If you use it, you should subsequently call reset(), otherwise it will be deleted in the ConditionParser destructor..
Definition at line 99 of file ConditionParser.cpp.
References RTT::internal::DataSource< T >::get().