This implementation provides access to the loaded programs and state machines and allows execution of code, using the Orocos parser framework. More...
#include <rtt/scripting/ParserScriptingAccess.hpp>
Inherits RTT::Corba::ScriptingAccess.
Public Types | |
| typedef ScriptingAccess_ptr | _ptr_type |
| typedef ScriptingAccess_var | _var_type |
| typedef ScriptingAccess_out | _out_type |
|
typedef TAO_VarSeq_Var_T < ProgramNames > | ProgramNames_var |
|
typedef TAO_Seq_Out_T < ProgramNames > | ProgramNames_out |
|
typedef TAO_VarSeq_Var_T < StateMachineNames > | StateMachineNames_var |
|
typedef TAO_Seq_Out_T < StateMachineNames > | StateMachineNames_out |
Public Member Functions | |
| ParserScriptingAccess (TaskContext *parent) | |
| virtual int | execute (const std::string &code) |
|
virtual DispatchInterface::shared_ptr | getCommand (int ticket) |
| virtual Functions | loadFunctions (std::string filename, bool do_throw=false) |
| virtual Functions | loadFunctions (std::string code, std::string filename, bool do_throw=false) |
| virtual bool | loadPrograms (std::string filename, bool do_throw=false) |
| virtual bool | loadPrograms (std::string code, std::string filename, bool do_throw=false) |
| virtual bool | unloadProgram (std::string name, bool do_throw=false) |
| virtual bool | loadStateMachines (std::string filename, bool do_throw=false) |
| virtual bool | loadStateMachines (std::string code, std::string filename, bool do_throw=false) |
| virtual bool | unloadStateMachine (std::string name, bool do_throw=false) |
| virtual ::CORBA::Long | execute (const char *code) |
| virtual ::RTT::Corba::Command_ptr | getCommand (::CORBA::Long ticket) |
| virtual void | loadPrograms (const char *code, const char *filename) |
| virtual void | unloadProgram (const char *name) |
| virtual ::CORBA::Boolean | hasProgram (const char *name) |
|
virtual ::RTT::Corba::ScriptingAccess::ProgramNames * | getPrograms (void) |
| virtual ::CORBA::Long | getProgramLine (const char *name) |
| virtual char * | getProgramText (const char *name) |
| virtual char * | getProgramStatus (const char *name) |
| virtual void | loadStateMachines (const char *code, const char *filename) |
| virtual void | unloadStateMachine (const char *name) |
| virtual ::CORBA::Boolean | hasStateMachine (const char *name) |
|
virtual ::RTT::Corba::ScriptingAccess::StateMachineNames * | getStateMachines (void) |
| virtual char * | getStateMachineText (const char *name) |
| virtual char * | getStateMachineStatus (const char *name) |
| virtual ::CORBA::Long | getStateMachineLine (const char *name) |
| virtual char * | getCurrentState (const char *name) |
| virtual ::CORBA::Boolean | _is_a (const char *type_id) |
| virtual const char * | _interface_repository_id (void) const |
| virtual ::CORBA::Boolean | marshal (TAO_OutputCDR &cdr) |
Static Public Member Functions | |
| static ScriptingAccess_ptr | _duplicate (ScriptingAccess_ptr obj) |
| static void | _tao_release (ScriptingAccess_ptr obj) |
| static ScriptingAccess_ptr | _narrow (::CORBA::Object_ptr obj) |
| static ScriptingAccess_ptr | _unchecked_narrow (::CORBA::Object_ptr obj) |
| static ScriptingAccess_ptr | _nil (void) |
| static void | _tao_any_destructor (void *) |
Static Public Attributes | |
| ::CORBA::TypeCode_ptr const | _tc_LoadException |
| ::CORBA::TypeCode_ptr const | _tc_ProgramNames |
| ::CORBA::TypeCode_ptr const | _tc_StateMachineNames |
Protected Member Functions | |
| bool | doExecute (const std::string &code) |
| bool | doLoadPrograms (std::string filename) |
| bool | doLoadProgramText (std::string code) |
| bool | doUnloadProgram (std::string name) |
| bool | doLoadStateMachines (std::string filename) |
| bool | doLoadStateMachineText (std::string code) |
| bool | doUnloadStateMachine (std::string name) |
| OperationInterface * | createTaskObject (OperationInterface *obj) |
| virtual void | RTT_Corba_ScriptingAccess_setup_collocation (void) |
Protected Attributes | |
| StatementProcessor * | sproc |
Friends | |
| class | TAO::Narrow_Utils< ScriptingAccess > |
This implementation provides access to the loaded programs and state machines and allows execution of code, using the Orocos parser framework.
Definition at line 55 of file ParserScriptingAccess.hpp.
1.6.3