Orocos Real-Time Toolkit
2.9.0
|
An invoker can be given an implementation and is identified by a name. More...
#include <rtt/base/OperationCallerBaseInvoker.hpp>
Public Member Functions | |
virtual | ~OperationCallerBaseInvoker () |
virtual bool | ready () const =0 |
Returns true if this OperationCaller has received a correct implementation. More... | |
virtual void | disconnect ()=0 |
Disconnects this caller from the operation it was connected to. More... | |
virtual bool | setImplementation (boost::shared_ptr< base::DisposableInterface > impl, ExecutionEngine *caller=0)=0 |
Sets a new implementation for this method. More... | |
virtual bool | setImplementationPart (OperationInterfacePart *orp, ExecutionEngine *caller=0)=0 |
Sets a new implementation for this method by using a service part. More... | |
virtual void | setCaller (ExecutionEngine *caller)=0 |
Sets the caller of this method after the implementation was set. More... | |
virtual const std::string & | getName () const =0 |
Returns the name of this method instance. More... | |
An invoker can be given an implementation and is identified by a name.
Definition at line 52 of file OperationCallerBaseInvoker.hpp.
|
inlinevirtual |
Definition at line 54 of file OperationCallerBaseInvoker.hpp.
References disconnect(), getName(), ready(), setCaller(), setImplementation(), and setImplementationPart().
|
pure virtual |
Disconnects this caller from the operation it was connected to.
If this OperationCaller had a name, the name is still kept.
Implemented in RTT::OperationCaller< SignatureT >, RTT::OperationCaller< std::string(const std::string &)>, RTT::OperationCaller< bool(const std::string &code)>, RTT::OperationCaller< bool(const std::string &filename)>, RTT::OperationCaller< RTT::scripting::StateMachine::Status::RTT::scripting::StateMachine::Status(const std::string &)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< RTT::scripting::ProgramInterface::Status::RTT::scripting::ProgramInterface::Status(const std::string &)>, RTT::OperationCaller< bool(const std::string &, const std::string &)>, RTT::OperationCaller< bool(const std::string &)>, RTT::OperationCaller< int(const std::string &)>, and RTT::corba::OperationCallerProxy.
Referenced by RTT::ServiceRequester::disconnect(), and ~OperationCallerBaseInvoker().
|
pure virtual |
Returns the name of this method instance.
Implemented in RTT::OperationCaller< SignatureT >, RTT::OperationCaller< std::string(const std::string &)>, RTT::OperationCaller< bool(const std::string &code)>, RTT::OperationCaller< bool(const std::string &filename)>, RTT::OperationCaller< RTT::scripting::StateMachine::Status::RTT::scripting::StateMachine::Status(const std::string &)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< RTT::scripting::ProgramInterface::Status::RTT::scripting::ProgramInterface::Status(const std::string &)>, RTT::OperationCaller< bool(const std::string &, const std::string &)>, RTT::OperationCaller< bool(const std::string &)>, RTT::OperationCaller< int(const std::string &)>, and RTT::corba::OperationCallerProxy.
Referenced by RTT::ServiceRequester::addOperationCaller(), and ~OperationCallerBaseInvoker().
|
pure virtual |
Returns true if this OperationCaller has received a correct implementation.
Implemented in RTT::OperationCaller< SignatureT >, RTT::OperationCaller< std::string(const std::string &)>, RTT::OperationCaller< bool(const std::string &code)>, RTT::OperationCaller< bool(const std::string &filename)>, RTT::OperationCaller< RTT::scripting::StateMachine::Status::RTT::scripting::StateMachine::Status(const std::string &)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< RTT::scripting::ProgramInterface::Status::RTT::scripting::ProgramInterface::Status(const std::string &)>, RTT::OperationCaller< bool(const std::string &, const std::string &)>, RTT::OperationCaller< bool(const std::string &)>, RTT::OperationCaller< int(const std::string &)>, and RTT::corba::OperationCallerProxy.
Referenced by ~OperationCallerBaseInvoker().
|
pure virtual |
Sets the caller of this method after the implementation was set.
caller |
Implemented in RTT::OperationCaller< SignatureT >, RTT::OperationCaller< std::string(const std::string &)>, RTT::OperationCaller< bool(const std::string &code)>, RTT::OperationCaller< bool(const std::string &filename)>, RTT::OperationCaller< RTT::scripting::StateMachine::Status::RTT::scripting::StateMachine::Status(const std::string &)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< RTT::scripting::ProgramInterface::Status::RTT::scripting::ProgramInterface::Status(const std::string &)>, RTT::OperationCaller< bool(const std::string &, const std::string &)>, RTT::OperationCaller< bool(const std::string &)>, RTT::OperationCaller< int(const std::string &)>, and RTT::corba::OperationCallerProxy.
Referenced by ~OperationCallerBaseInvoker().
|
pure virtual |
Sets a new implementation for this method.
impl | An implementation object that can be upcast to the OperationCallerBase class type of this method. |
caller | The engine of the calling TaskContext. |
Implemented in RTT::OperationCaller< SignatureT >, RTT::OperationCaller< std::string(const std::string &)>, RTT::OperationCaller< bool(const std::string &code)>, RTT::OperationCaller< bool(const std::string &filename)>, RTT::OperationCaller< RTT::scripting::StateMachine::Status::RTT::scripting::StateMachine::Status(const std::string &)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< RTT::scripting::ProgramInterface::Status::RTT::scripting::ProgramInterface::Status(const std::string &)>, RTT::OperationCaller< bool(const std::string &, const std::string &)>, RTT::OperationCaller< bool(const std::string &)>, RTT::OperationCaller< int(const std::string &)>, and RTT::corba::OperationCallerProxy.
Referenced by ~OperationCallerBaseInvoker().
|
pure virtual |
Sets a new implementation for this method by using a service part.
orp | A part obtained from a service's OperationInterface. |
caller | The engine of the calling TaskContext. |
Implemented in RTT::OperationCaller< SignatureT >, RTT::OperationCaller< std::string(const std::string &)>, RTT::OperationCaller< bool(const std::string &code)>, RTT::OperationCaller< bool(const std::string &filename)>, RTT::OperationCaller< RTT::scripting::StateMachine::Status::RTT::scripting::StateMachine::Status(const std::string &)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< RTT::scripting::ProgramInterface::Status::RTT::scripting::ProgramInterface::Status(const std::string &)>, RTT::OperationCaller< bool(const std::string &, const std::string &)>, RTT::OperationCaller< bool(const std::string &)>, RTT::OperationCaller< int(const std::string &)>, and RTT::corba::OperationCallerProxy.
Referenced by ~OperationCallerBaseInvoker().