#include <OperationCallerBaseInvoker.hpp>
Public Member Functions | |
virtual void | disconnect ()=0 |
virtual const std::string & | getName () const =0 |
virtual bool | ready () const =0 |
virtual void | setCaller (ExecutionEngine *caller)=0 |
virtual bool | setImplementation (boost::shared_ptr< base::DisposableInterface > impl, ExecutionEngine *caller=0)=0 |
virtual bool | setImplementationPart (OperationInterfacePart *orp, ExecutionEngine *caller=0)=0 |
virtual | ~OperationCallerBaseInvoker () |
An invoker can be given an implementation and is identified by a name.
Definition at line 52 of file OperationCallerBaseInvoker.hpp.
virtual RTT::base::OperationCallerBaseInvoker::~OperationCallerBaseInvoker | ( | ) | [inline, virtual] |
Definition at line 54 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< double &(const double &)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< StateMachineStatus::StateMachineStatus(const std::string &)>, RTT::OperationCaller< void()>, RTT::OperationCaller< const double &(void)>, RTT::OperationCaller< double &(void)>, RTT::OperationCaller< double(int, double, bool, std::string)>, RTT::OperationCaller< double(int, double)>, RTT::OperationCaller< double(int, double, bool)>, RTT::OperationCaller< bool(const std::string &, const std::string &)>, RTT::OperationCaller< bool(const std::string &)>, RTT::OperationCaller< double(double &)>, RTT::OperationCaller< int(const std::string &)>, RTT::OperationCaller< double(void)>, RTT::OperationCaller< double(int, double, bool, std::string, float)>, RTT::OperationCaller< double(int)>, and RTT::corba::OperationCallerProxy.
virtual const std::string& RTT::base::OperationCallerBaseInvoker::getName | ( | ) | const [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< ProgramStatus::ProgramStatus(const std::string &)>, RTT::OperationCaller< bool(const std::string &filename)>, RTT::OperationCaller< double &(const double &)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< StateMachineStatus::StateMachineStatus(const std::string &)>, RTT::OperationCaller< void()>, RTT::OperationCaller< const double &(void)>, RTT::OperationCaller< double &(void)>, RTT::OperationCaller< double(int, double, bool, std::string)>, RTT::OperationCaller< double(int, double)>, RTT::OperationCaller< double(int, double, bool)>, RTT::OperationCaller< bool(const std::string &, const std::string &)>, RTT::OperationCaller< bool(const std::string &)>, RTT::OperationCaller< double(double &)>, RTT::OperationCaller< int(const std::string &)>, RTT::OperationCaller< double(void)>, RTT::OperationCaller< double(int, double, bool, std::string, float)>, RTT::OperationCaller< double(int)>, and RTT::corba::OperationCallerProxy.
virtual bool RTT::base::OperationCallerBaseInvoker::ready | ( | ) | const [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< ProgramStatus::ProgramStatus(const std::string &)>, RTT::OperationCaller< bool(const std::string &filename)>, RTT::OperationCaller< double &(const double &)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< StateMachineStatus::StateMachineStatus(const std::string &)>, RTT::OperationCaller< void()>, RTT::OperationCaller< const double &(void)>, RTT::OperationCaller< double &(void)>, RTT::OperationCaller< double(int, double, bool, std::string)>, RTT::OperationCaller< double(int, double)>, RTT::OperationCaller< double(int, double, bool)>, RTT::OperationCaller< bool(const std::string &, const std::string &)>, RTT::OperationCaller< bool(const std::string &)>, RTT::OperationCaller< double(double &)>, RTT::OperationCaller< int(const std::string &)>, RTT::OperationCaller< double(void)>, RTT::OperationCaller< double(int, double, bool, std::string, float)>, RTT::OperationCaller< double(int)>, and RTT::corba::OperationCallerProxy.
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< double &(const double &)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< StateMachineStatus::StateMachineStatus(const std::string &)>, RTT::OperationCaller< void()>, RTT::OperationCaller< const double &(void)>, RTT::OperationCaller< double &(void)>, RTT::OperationCaller< double(int, double, bool, std::string)>, RTT::OperationCaller< double(int, double)>, RTT::OperationCaller< double(int, double, bool)>, RTT::OperationCaller< bool(const std::string &, const std::string &)>, RTT::OperationCaller< bool(const std::string &)>, RTT::OperationCaller< double(double &)>, RTT::OperationCaller< int(const std::string &)>, RTT::OperationCaller< double(void)>, RTT::OperationCaller< double(int, double, bool, std::string, float)>, RTT::OperationCaller< double(int)>, 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< double &(const double &)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< StateMachineStatus::StateMachineStatus(const std::string &)>, RTT::OperationCaller< void()>, RTT::OperationCaller< const double &(void)>, RTT::OperationCaller< double &(void)>, RTT::OperationCaller< double(int, double, bool, std::string)>, RTT::OperationCaller< double(int, double)>, RTT::OperationCaller< double(int, double, bool)>, RTT::OperationCaller< bool(const std::string &, const std::string &)>, RTT::OperationCaller< bool(const std::string &)>, RTT::OperationCaller< double(double &)>, RTT::OperationCaller< int(const std::string &)>, RTT::OperationCaller< double(void)>, RTT::OperationCaller< double(int, double, bool, std::string, float)>, RTT::OperationCaller< double(int)>, 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< double &(const double &)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< StateMachineStatus::StateMachineStatus(const std::string &)>, RTT::OperationCaller< void()>, RTT::OperationCaller< const double &(void)>, RTT::OperationCaller< double &(void)>, RTT::OperationCaller< double(int, double, bool, std::string)>, RTT::OperationCaller< double(int, double)>, RTT::OperationCaller< double(int, double, bool)>, RTT::OperationCaller< bool(const std::string &, const std::string &)>, RTT::OperationCaller< bool(const std::string &)>, RTT::OperationCaller< double(double &)>, RTT::OperationCaller< int(const std::string &)>, RTT::OperationCaller< double(void)>, RTT::OperationCaller< double(int, double, bool, std::string, float)>, RTT::OperationCaller< double(int)>, and RTT::corba::OperationCallerProxy.