38 #ifndef EXECUTION_STATE_PARSER_HPP 39 #define EXECUTION_STATE_PARSER_HPP 45 #include <boost/function.hpp> 46 #include <boost/shared_ptr.hpp> 47 #include "../internal/DataSource.hpp" 48 namespace RTT {
namespace scripting
103 std::string curscvcmachinename;
104 std::string curscvcparamname;
114 std::vector<base::DataSourceBase::shared_ptr>
evargs;
172 void inprogram(
const std::string& name );
186 void doselect(
const std::string& name);
212 void seenscvcsubMachinename(
iter_t begin,
iter_t end );
unsigned int selectln
are we instantiating a rootmachine ?
ValueChangeParser * valuechangeparser
void seenmachineinstargumentname(iter_t begin, iter_t end)
void saveText(iter_t begin, iter_t end)
rule_t statemachinecontent
void seensubMachineinstantiation()
std::string curmachineinstargumentname
std::string curmachinename
std::map< std::string, base::DataSourceBase::shared_ptr > machineparamvalues_t
rule_t machineinstantiation
This interface represents the concept of a condition which can be evaluated and return true or false...
StateDescription * curstate
std::string curinstmachinename
This class represents a state with all actions stored in an external program.
rule_t rootmachineinstantiation
StateGraphParser(iter_t &positer, TaskContext *tc, ExecutionEngine *caller, CommonParser *cp)
void statedef(iter_t s, iter_t f)
void seenstatemachineend()
void seenmachinevariable()
ProgramGraphParser * progParser
rule_t machineinstarguments
A Parser for Orocos Program Scripts.
ConditionParser * conditionparser
machinenamemap_t rootmachines
rule_t subMachinevarchange
This class contains some very common parser definitions.
machineparamvalues_t curinstmachineparams
std::map< std::string, base::AttributeBase * > machineparams_t
void doselect(const std::string &name)
std::map< std::string, StateDescription * > machinestatesmap_t
std::map< std::string, ConditionCache * > global_port_events
ParsedStateMachinePtr curinstantiatedmachine
position_iterator< our_iterator_t > our_pos_iter_t
ParsedStateMachinePtr getParserResult()
std::vector< base::ActionInterface * > varinitcommands
void seenmachineinstargumentvalue()
void inprogram(const std::string &name)
boost::shared_ptr< Service > ServicePtr
rule_t machineinstargument
void startrootmachineinstantiation()
StateMachineBuilder * curmachinebuilder
void seenmachinetypename(iter_t begin, iter_t end)
std::vector< base::DataSourceBase::shared_ptr > evargs
store line number of select's 'if' statement.
boost::shared_ptr< StateMachineService > curobject
void seenrootmachineinstantiation()
boost::shared_ptr< ProgramInterface > transProgram
std::map< std::string, ConditionCache * > cur_port_events
std::map< std::string, ParsedStateMachinePtr > machinenamemap_t
ExpressionParser * expressionparser
ParsedStateMachinePtr curtemplate
boost::shared_ptr< ProgramInterface > elseProgram
ArgumentsParser * argsparser
void seeneventname(iter_t s, iter_t f)
void seenstatemachinename(iter_t begin, iter_t end)
CommonParser * commonparser
std::map< std::string, StateMachineBuilder * > machinebuilders_t
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
StateDescription * curnonprecstate
std::vector< base::ActionInterface * > paraminitcommands
our_pos_iter_t & mpositer
machinebuilders_t machinebuilders
void seeninstmachinename(iter_t begin, iter_t end)
boost::shared_ptr< ProgramInterface > finishProgram()
our_pos_iter_t saveStartPos
boost::shared_ptr< ParsedStateMachine > ParsedStateMachinePtr
StateDescription * elsestate
std::vector< ParsedStateMachinePtr > parse(iter_t &begin, iter_t end)
ConditionInterface * curcondition
void seenselect(iter_t s, iter_t f)
void seenmachineinstantiation()