This is a class containing a parse function for conditions. More...
#include <rtt/scripting/ConditionParser.hpp>
Public Member Functions | |
ConditionParser (TaskContext *, CommonParser &cp) | |
rule_t & | parser () |
ConditionInterface * | getParseResult () |
Call this to get the parsed condition. | |
std::pair< CommandInterface *, 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.
ConditionInterface* RTT::detail::ConditionParser::getParseResult | ( | ) |
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..