#include <Scripting.hpp>
Public Types | |
typedef scripting::ProgramInterface::Status | ProgramStatus |
typedef scripting::StateMachine::Status | StateMachineStatus |
Public Types inherited from RTT::ServiceRequester | |
typedef std::vector< std::string > | OperationCallerNames |
typedef std::vector< std::string > | RequesterNames |
typedef boost::shared_ptr< const ServiceRequester > | shared_constptr |
typedef boost::shared_ptr< ServiceRequester > | shared_ptr |
Public Member Functions | |
Scripting (TaskContext *owner) | |
~Scripting () | |
Public Member Functions inherited from RTT::ServiceRequester | |
bool | addOperationCaller (base::OperationCallerBaseInvoker &mbi) |
bool | addServiceRequester (shared_ptr obj) |
virtual void | clear () |
virtual bool | connectTo (Service::shared_ptr sp) |
virtual void | disconnect () |
base::OperationCallerBaseInvoker * | getOperationCaller (const std::string &name) |
OperationCallerNames | getOperationCallerNames () const |
Service::shared_ptr | getReferencedService () |
RequesterNames | getRequesterNames () const |
const std::string & | getRequestName () const |
TaskContext * | getServiceOwner () const |
virtual bool | ready () const |
ServiceRequester::shared_ptr | requires () |
ServiceRequester::shared_ptr | requires (const std::string &service_name) |
bool | requiresService (const std::string &service_name) |
ServiceRequester (const std::string &name, TaskContext *owner=0) | |
void | setOwner (TaskContext *new_owner) |
virtual | ~ServiceRequester () |
Additional Inherited Members | |
Protected Types inherited from RTT::ServiceRequester | |
typedef std::map< std::string, base::OperationCallerBaseInvoker * > | OperationCallers |
Our methods. More... | |
typedef std::map< std::string, ServiceRequester::shared_ptr > | Requests |
Protected Attributes inherited from RTT::ServiceRequester | |
OperationCallers | mmethods |
Service::shared_ptr | mprovider |
Requests | mrequests |
the services we implement. More... | |
std::string | mrname |
TaskContext * | mrowner |
The method interface of the scripting plugin.
Definition at line 54 of file Scripting.hpp.
Definition at line 60 of file Scripting.hpp.
Definition at line 61 of file Scripting.hpp.
RTT::Scripting::Scripting | ( | TaskContext * | owner | ) |
Definition at line 91 of file Scripting.cpp.
RTT::Scripting::~Scripting | ( | ) |
Definition at line 178 of file Scripting.cpp.
OperationCaller<bool (const std::string& )> RTT::Scripting::activateStateMachine |
Definition at line 117 of file Scripting.hpp.
OperationCaller<bool (const std::string& )> RTT::Scripting::deactivateStateMachine |
Definition at line 119 of file Scripting.hpp.
OperationCaller<bool ( const std::string& )> RTT::Scripting::eval |
Definition at line 83 of file Scripting.hpp.
OperationCaller<int (const std::string& )> RTT::Scripting::execute |
Definition at line 79 of file Scripting.hpp.
OperationCaller<int (const std::string& )> RTT::Scripting::getProgramLine |
Definition at line 89 of file Scripting.hpp.
OperationCaller<std::vector<std::string>void)> RTT::Scripting::getProgramList |
Definition at line 69 of file Scripting.hpp.
OperationCaller<ProgramStatus::ProgramStatus (const std::string& )> RTT::Scripting::getProgramStatus |
Definition at line 65 of file Scripting.hpp.
OperationCaller<std::string (const std::string& )> RTT::Scripting::getProgramStatusStr |
Definition at line 67 of file Scripting.hpp.
OperationCaller<std::string (const std::string& )> RTT::Scripting::getProgramText |
Definition at line 91 of file Scripting.hpp.
OperationCaller<int (const std::string& )> RTT::Scripting::getStateMachineLine |
Definition at line 99 of file Scripting.hpp.
OperationCaller<std::vector<std::string>)> RTT::Scripting::getStateMachineList |
Definition at line 77 of file Scripting.hpp.
OperationCaller<std::string (const std::string& )> RTT::Scripting::getStateMachineState |
Definition at line 141 of file Scripting.hpp.
OperationCaller<StateMachineStatus::StateMachineStatus (const std::string& )> RTT::Scripting::getStateMachineStatus |
Definition at line 73 of file Scripting.hpp.
OperationCaller<std::string (const std::string& )> RTT::Scripting::getStateMachineStatusStr |
Definition at line 75 of file Scripting.hpp.
OperationCaller<std::string (const std::string& )> RTT::Scripting::getStateMachineText |
Definition at line 97 of file Scripting.hpp.
OperationCaller<bool (const std::string& )> RTT::Scripting::hasProgram |
Definition at line 109 of file Scripting.hpp.
OperationCaller<bool (const std::string& )> RTT::Scripting::hasStateMachine |
Definition at line 131 of file Scripting.hpp.
OperationCaller<bool (const std::string& )> RTT::Scripting::inProgramError |
Definition at line 115 of file Scripting.hpp.
OperationCaller<bool (const std::string& )> RTT::Scripting::inStateMachineError |
Definition at line 137 of file Scripting.hpp.
OperationCaller<bool (const std::string& , const std::string& )> RTT::Scripting::inStateMachineState |
Definition at line 143 of file Scripting.hpp.
OperationCaller<bool (const std::string& )> RTT::Scripting::isProgramPaused |
Definition at line 113 of file Scripting.hpp.
OperationCaller<bool (const std::string& )> RTT::Scripting::isProgramRunning |
Definition at line 111 of file Scripting.hpp.
OperationCaller<bool (const std::string& )> RTT::Scripting::isStateMachineActive |
Definition at line 133 of file Scripting.hpp.
OperationCaller<bool (const std::string& )> RTT::Scripting::isStateMachinePaused |
Definition at line 139 of file Scripting.hpp.
OperationCaller<bool (const std::string& )> RTT::Scripting::isStateMachineRunning |
Definition at line 135 of file Scripting.hpp.
OperationCaller<bool ( const std::string&)> RTT::Scripting::loadPrograms |
Definition at line 85 of file Scripting.hpp.
OperationCaller<bool ( const std::string& )> RTT::Scripting::loadProgramText |
Definition at line 87 of file Scripting.hpp.
OperationCaller<bool ( const std::string& )> RTT::Scripting::loadStateMachines |
Definition at line 93 of file Scripting.hpp.
OperationCaller<bool ( const std::string& code )> RTT::Scripting::loadStateMachineText |
Definition at line 95 of file Scripting.hpp.
OperationCaller<bool (const std::string& )> RTT::Scripting::pauseProgram |
Definition at line 105 of file Scripting.hpp.
OperationCaller<bool (const std::string& )> RTT::Scripting::pauseStateMachine |
Definition at line 123 of file Scripting.hpp.
OperationCaller<bool (const std::string& , const std::string& )> RTT::Scripting::requestStateMachineState |
Definition at line 129 of file Scripting.hpp.
OperationCaller<bool (const std::string& )> RTT::Scripting::resetStateMachine |
Definition at line 127 of file Scripting.hpp.
OperationCaller<bool ( const std::string&)> RTT::Scripting::runScript |
Definition at line 81 of file Scripting.hpp.
OperationCaller<bool (const std::string& )> RTT::Scripting::startProgram |
Definition at line 101 of file Scripting.hpp.
OperationCaller<bool (const std::string& )> RTT::Scripting::startStateMachine |
Definition at line 121 of file Scripting.hpp.
OperationCaller<bool (const std::string& )> RTT::Scripting::stepProgram |
Definition at line 107 of file Scripting.hpp.
OperationCaller<bool (const std::string& )> RTT::Scripting::stopProgram |
Definition at line 103 of file Scripting.hpp.
OperationCaller<bool (const std::string& )> RTT::Scripting::stopStateMachine |
Definition at line 125 of file Scripting.hpp.
OperationCaller<bool (const std::string& )> RTT::Scripting::unloadProgram |
Definition at line 63 of file Scripting.hpp.
OperationCaller<bool ( const std::string& )> RTT::Scripting::unloadStateMachine |
Definition at line 71 of file Scripting.hpp.