#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.
|
inlinevirtual |
Definition at line 54 of file OperationCallerBaseInvoker.hpp.
|
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< double &(const double &)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< void()>, RTT::OperationCaller< const double &(void)>, RTT::OperationCaller< double &(void)>, RTT::OperationCaller< double(int, double, bool, std::string)>, RTT::OperationCaller< RTT::scripting::ProgramInterface::Status::RTT::scripting::ProgramInterface::Status(const 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.
|
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< double &(const double &)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< void()>, RTT::OperationCaller< const double &(void)>, RTT::OperationCaller< double &(void)>, RTT::OperationCaller< double(int, double, bool, std::string)>, RTT::OperationCaller< RTT::scripting::ProgramInterface::Status::RTT::scripting::ProgramInterface::Status(const 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.
|
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< double &(const double &)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< void()>, RTT::OperationCaller< const double &(void)>, RTT::OperationCaller< double &(void)>, RTT::OperationCaller< double(int, double, bool, std::string)>, RTT::OperationCaller< RTT::scripting::ProgramInterface::Status::RTT::scripting::ProgramInterface::Status(const 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.
|
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< double &(const double &)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< void()>, RTT::OperationCaller< const double &(void)>, RTT::OperationCaller< double &(void)>, RTT::OperationCaller< double(int, double, bool, std::string)>, RTT::OperationCaller< RTT::scripting::ProgramInterface::Status::RTT::scripting::ProgramInterface::Status(const 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.
|
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< double &(const double &)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< void()>, RTT::OperationCaller< const double &(void)>, RTT::OperationCaller< double &(void)>, RTT::OperationCaller< double(int, double, bool, std::string)>, RTT::OperationCaller< RTT::scripting::ProgramInterface::Status::RTT::scripting::ProgramInterface::Status(const 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.
|
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< double &(const double &)>, RTT::OperationCaller< bool(const std::string &name, const std::string &filename)>, RTT::OperationCaller< void()>, RTT::OperationCaller< const double &(void)>, RTT::OperationCaller< double &(void)>, RTT::OperationCaller< double(int, double, bool, std::string)>, RTT::OperationCaller< RTT::scripting::ProgramInterface::Status::RTT::scripting::ProgramInterface::Status(const 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.