RTT::corba::OperationCallerProxy Struct Reference

#include <OperationCallerProxy.hpp>

Inheritance diagram for RTT::corba::OperationCallerProxy:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void disconnect ()
virtual void disconnect ()
virtual const std::string & getName () const
virtual const std::string & getName () const
 OperationCallerProxy (const std::string &opname, CServiceRequester_ptr srq)
 OperationCallerProxy (const std::string &opname, CServiceRequester_ptr srq)
virtual bool ready () const
virtual bool ready () const
virtual void setCaller (ExecutionEngine *caller)
virtual void setCaller (ExecutionEngine *caller)
virtual bool setImplementation (boost::shared_ptr< base::DisposableInterface > impl, ExecutionEngine *caller=0)
virtual bool setImplementation (boost::shared_ptr< base::DisposableInterface > impl, ExecutionEngine *caller=0)
virtual bool setImplementationPart (OperationInterfacePart *orp, ExecutionEngine *caller=0)
virtual bool setImplementationPart (OperationInterfacePart *orp, ExecutionEngine *caller=0)

Public Attributes

std::string mname
CServiceRequester_var msrq

Detailed Description

Mirrors a remote operation caller in a ServiceRequestor. Will forward our 'connect to' -> 'setImplementationPart' requests to the remote side.

Definition at line 11 of file install/include/rtt/transports/corba/OperationCallerProxy.hpp.


Constructor & Destructor Documentation

RTT::corba::OperationCallerProxy::OperationCallerProxy ( const std::string &  opname,
CServiceRequester_ptr  srq 
) [inline]
RTT::corba::OperationCallerProxy::OperationCallerProxy ( const std::string &  opname,
CServiceRequester_ptr  srq 
) [inline]

Member Function Documentation

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.

Postcondition:
this->ready() == false

Implements RTT::base::OperationCallerBaseInvoker.

Definition at line 26 of file rtt/transports/corba/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.

Postcondition:
this->ready() == false

Implements RTT::base::OperationCallerBaseInvoker.

Definition at line 15 of file install/include/rtt/transports/corba/OperationCallerProxy.hpp.

virtual const std::string& RTT::corba::OperationCallerProxy::getName (  )  const [inline, virtual]

Returns the name of this method instance.

Implements RTT::base::OperationCallerBaseInvoker.

Definition at line 55 of file rtt/transports/corba/OperationCallerProxy.hpp.

virtual const std::string& RTT::corba::OperationCallerProxy::getName (  )  const [inline, virtual]

Returns the name of this method instance.

Implements RTT::base::OperationCallerBaseInvoker.

Definition at line 44 of file install/include/rtt/transports/corba/OperationCallerProxy.hpp.

virtual bool RTT::corba::OperationCallerProxy::ready (  )  const [inline, virtual]

Returns true if this OperationCaller has received a correct implementation.

Implements RTT::base::OperationCallerBaseInvoker.

Definition at line 22 of file rtt/transports/corba/OperationCallerProxy.hpp.

virtual bool RTT::corba::OperationCallerProxy::ready (  )  const [inline, virtual]

Returns true if this OperationCaller has received a correct implementation.

Implements RTT::base::OperationCallerBaseInvoker.

Definition at line 11 of file install/include/rtt/transports/corba/OperationCallerProxy.hpp.

virtual void RTT::corba::OperationCallerProxy::setCaller ( ExecutionEngine caller  )  [inline, virtual]

Sets the caller of this method after the implementation was set.

Parameters:
caller 

Implements RTT::base::OperationCallerBaseInvoker.

Definition at line 51 of file rtt/transports/corba/OperationCallerProxy.hpp.

virtual void RTT::corba::OperationCallerProxy::setCaller ( ExecutionEngine caller  )  [inline, virtual]

Sets the caller of this method after the implementation was set.

Parameters:
caller 

Implements RTT::base::OperationCallerBaseInvoker.

Definition at line 40 of file install/include/rtt/transports/corba/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.

Parameters:
impl An implementation object that can be upcast to the OperationCallerBase class type of this method.
caller The engine of the calling TaskContext.
Returns:
true if the impl could be upcast to a matching OperationCallerBase type, false otherwise.

Implements RTT::base::OperationCallerBaseInvoker.

Definition at line 30 of file rtt/transports/corba/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.

Parameters:
impl An implementation object that can be upcast to the OperationCallerBase class type of this method.
caller The engine of the calling TaskContext.
Returns:
true if the impl could be upcast to a matching OperationCallerBase type, false otherwise.

Implements RTT::base::OperationCallerBaseInvoker.

Definition at line 19 of file install/include/rtt/transports/corba/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.

Parameters:
orp A part obtained from a service's OperationInterface.
caller The engine of the calling TaskContext.
Returns:
true if the part could produce the correct OperationCallerBase type, false otherwise.

Implements RTT::base::OperationCallerBaseInvoker.

Definition at line 35 of file rtt/transports/corba/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.

Parameters:
orp A part obtained from a service's OperationInterface.
caller The engine of the calling TaskContext.
Returns:
true if the part could produce the correct OperationCallerBase type, false otherwise.

Implements RTT::base::OperationCallerBaseInvoker.

Definition at line 24 of file install/include/rtt/transports/corba/OperationCallerProxy.hpp.


Member Data Documentation


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtt
Author(s): RTT Developers
autogenerated on Fri Jan 11 09:49:54 2013