Public Member Functions | Private Member Functions | Private Attributes
RTT::scripting::ConditionParser Class Reference

#include <ConditionParser.hpp>

List of all members.

Public Member Functions

 ConditionParser (TaskContext *context, ExecutionEngine *caller, CommonParser &cp)
ConditionInterfacegetParseResult ()
std::pair
< base::ActionInterface
*, ConditionInterface * > 
getParseResultAsCommand ()
rule_t & parser ()
void reset ()
 ~ConditionParser ()

Private Member Functions

void seendonecondition ()
void seenexpression ()

Private Attributes

CommonParsercommonparser
rule_t condition
TaskContextcontext
internal::DataSource< bool >
::shared_ptr 
ds_bool
ExpressionParser expressionparser

Detailed Description

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.


Constructor & Destructor Documentation

conditions used to be more complex, but nowadays, they're just boolean expressions..

Definition at line 52 of file ConditionParser.cpp.

Definition at line 72 of file ConditionParser.cpp.


Member Function Documentation

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.

Retrieve the result as a command, condition pair.

Definition at line 108 of file ConditionParser.cpp.

Definition at line 78 of file ConditionParser.hpp.

Definition at line 66 of file ConditionParser.cpp.

Definition at line 76 of file ConditionParser.cpp.


Member Data Documentation

Definition at line 71 of file ConditionParser.hpp.

Definition at line 68 of file ConditionParser.hpp.

Definition at line 70 of file ConditionParser.hpp.

Definition at line 63 of file ConditionParser.hpp.

Definition at line 72 of file ConditionParser.hpp.


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


rtt
Author(s): RTT Developers
autogenerated on Fri Sep 9 2016 04:02:20