1 #ifndef RTT_SCRIPTING_PARSER_HPP 2 #define RTT_SCRIPTING_PARSER_HPP 8 #include <boost/function.hpp> 9 #include <boost/shared_ptr.hpp> 10 #include "../internal/DataSource.hpp" 11 #include "../Service.hpp" 33 std::string program_text;
51 void seenstatemachine();
53 error_status<> handle_no_function(
scanner_t const& scan, parser_error<std::string, iter_t>&e );
This is not a parser in the Boost.spirit sense of the word, it's just a class used to hold the parser...
base::DataSourceBase::shared_ptr parseExcerpt(iter_t &begin, iter_t end)
Parses and executes a (possibly) incomplete script.
void parse(iter_t &begin, iter_t end)
Parses and executes the script from begin to end.
A Parser for Orocos Program Scripts.
This class contains some very common parser definitions.
An execution engine serialises (executes one after the other) the execution of all commands...
boost::shared_ptr< Service > shared_ptr
ScriptParser(iter_t &positer, TaskContext *tc, ExecutionEngine *caller)
Initialize with an initial position, the TaskContext in which context to parse the scripts and the Ta...
scanner< iter_t, scanner_pol_t > scanner_t
position_iterator< our_iterator_t > our_pos_iter_t
The TaskContext is the C++ representation of an Orocos component.
Parsers and executes any RTT script you throw at it.
boost::intrusive_ptr< DataSourceBase > shared_ptr
Use this type to store a pointer to a DataSourceBase.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.