Orocos Real-Time Toolkit
2.5.0
|
Mirrors a remote operation caller in a ServiceRequestor. More...
#include <rtt/transports/corba/OperationCallerProxy.hpp>
Public Member Functions | |
OperationCallerProxy (const std::string &opname, CServiceRequester_ptr srq) | |
virtual bool | ready () const |
Returns true if this OperationCaller has received a correct implementation. | |
virtual void | disconnect () |
Disconnects this caller from the operation it was connected to. | |
virtual bool | setImplementation (boost::shared_ptr< base::DisposableInterface > impl, ExecutionEngine *caller=0) |
Sets a new implementation for this method. | |
virtual bool | setImplementationPart (OperationInterfacePart *orp, ExecutionEngine *caller=0) |
Sets a new implementation for this method by using a service part. | |
virtual void | setCaller (ExecutionEngine *caller) |
Sets the caller of this method after the implementation was set. | |
virtual const std::string & | getName () const |
Returns the name of this method instance. | |
Public Attributes | |
std::string | mname |
CServiceRequester_var | msrq |
Mirrors a remote operation caller in a ServiceRequestor.
Will forward our 'connect to' -> 'setImplementationPart' requests to the remote side.
Definition at line 14 of file OperationCallerProxy.hpp.
virtual void RTT::corba::OperationCallerProxy::disconnect | ( | ) | [inline, virtual] |
Disconnects this caller from the operation it was connected to.
If this OperationCaller had a name, the name is still kept.
Implements RTT::base::OperationCallerBaseInvoker.
Definition at line 26 of file OperationCallerProxy.hpp.
virtual void RTT::corba::OperationCallerProxy::setCaller | ( | ExecutionEngine * | caller | ) | [inline, virtual] |
Sets the caller of this method after the implementation was set.
caller |
Implements RTT::base::OperationCallerBaseInvoker.
Definition at line 51 of file OperationCallerProxy.hpp.
virtual bool RTT::corba::OperationCallerProxy::setImplementation | ( | boost::shared_ptr< base::DisposableInterface > | impl, |
ExecutionEngine * | caller = 0 |
||
) | [inline, 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. |
Implements RTT::base::OperationCallerBaseInvoker.
Definition at line 30 of file OperationCallerProxy.hpp.
virtual bool RTT::corba::OperationCallerProxy::setImplementationPart | ( | OperationInterfacePart * | orp, |
ExecutionEngine * | caller = 0 |
||
) | [inline, 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. |
Implements RTT::base::OperationCallerBaseInvoker.
Definition at line 35 of file OperationCallerProxy.hpp.
References RTT::corba::CorbaOperationCallerFactory::getService().