Orocos Real-Time Toolkit
2.5.0
|
An invoker can be given an implementation and is identified by a name. More...
#include <rtt/base/OperationCallerBaseInvoker.hpp>
Public Member Functions | |
virtual bool | ready () const =0 |
Returns true if this OperationCaller has received a correct implementation. | |
virtual void | disconnect ()=0 |
Disconnects this caller from the operation it was connected to. | |
virtual bool | setImplementation (boost::shared_ptr< base::DisposableInterface > impl, ExecutionEngine *caller=0)=0 |
Sets a new implementation for this method. | |
virtual bool | setImplementationPart (OperationInterfacePart *orp, ExecutionEngine *caller=0)=0 |
Sets a new implementation for this method by using a service part. | |
virtual void | setCaller (ExecutionEngine *caller)=0 |
Sets the caller of this method after the implementation was set. | |
virtual const std::string & | getName () const =0 |
Returns the name of this method instance. |
An invoker can be given an implementation and is identified by a name.
Definition at line 52 of file OperationCallerBaseInvoker.hpp.
virtual void RTT::base::OperationCallerBaseInvoker::disconnect | ( | ) | [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< ProgramStatus::ProgramStatus(const std::string &)>, RTT::OperationCaller< bool(const std::string &filename)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< StateMachineStatus::StateMachineStatus(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().
virtual void RTT::base::OperationCallerBaseInvoker::setCaller | ( | ExecutionEngine * | caller | ) | [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< ProgramStatus::ProgramStatus(const std::string &)>, RTT::OperationCaller< bool(const std::string &filename)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< StateMachineStatus::StateMachineStatus(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.
virtual bool RTT::base::OperationCallerBaseInvoker::setImplementation | ( | boost::shared_ptr< base::DisposableInterface > | impl, |
ExecutionEngine * | caller = 0 |
||
) | [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< ProgramStatus::ProgramStatus(const std::string &)>, RTT::OperationCaller< bool(const std::string &filename)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< StateMachineStatus::StateMachineStatus(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.
virtual bool RTT::base::OperationCallerBaseInvoker::setImplementationPart | ( | OperationInterfacePart * | orp, |
ExecutionEngine * | caller = 0 |
||
) | [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< ProgramStatus::ProgramStatus(const std::string &)>, RTT::OperationCaller< bool(const std::string &filename)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< StateMachineStatus::StateMachineStatus(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.