Orocos Real-Time Toolkit
2.9.0
|
A OperationCaller implementation which delegates C++ to datasource conversions when C++ code tries to call remote operations, only available in an OperationInterfacePart, and not through an OperationBase. More...
#include <rtt/internal/RemoteOperationCaller.hpp>
Public Types | |
typedef OperationCallerT | Signature |
Public Member Functions | |
RemoteOperationCaller (OperationInterfacePart *of, std::string name, ExecutionEngine *caller=0) | |
Create a RemoteOperationCaller object which executes a remote method. More... | |
RemoteOperationCaller (const SendHandleC &sh) | |
virtual bool | ready () const |
virtual void | setCaller (ExecutionEngine *caller) |
virtual base::OperationCallerBase< OperationCallerT > * | cloneI (ExecutionEngine *caller) const |
A OperationCaller implementation which delegates C++ to datasource conversions when C++ code tries to call remote operations, only available in an OperationInterfacePart, and not through an OperationBase.
The datasources created as such are not subject to copy/clone semantics since they only serve as proxies to C++ arguments on the stack, when the OperationCaller object is invoked. A OperationCallerC object is used to keep track of all involved objects, and a SendHandleC object is used to track the results of asynchronous calls.
OperationCallerT | The function signature of the remote operation. For example, bool( int, Frame, double) |
Definition at line 404 of file RemoteOperationCaller.hpp.
typedef OperationCallerT RTT::internal::RemoteOperationCaller< OperationCallerT >::Signature |
Definition at line 408 of file RemoteOperationCaller.hpp.
|
inline |
Create a RemoteOperationCaller object which executes a remote method.
of | The OperationFactory for methods. |
name | The name of this method. |
caller | The caller's engine of this operation. Will be reset if this RemoteOperationCaller is assigned to an OperationCaller. |
Definition at line 418 of file RemoteOperationCaller.hpp.
References RTT::base::OperationCallerInterface::caller, RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::mmeth, RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::sendargs, and RTT::base::OperationCallerInterface::setCaller().
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Definition at line 436 of file RemoteOperationCaller.hpp.
References RTT::internal::RemoteOperationCallerImpl< OperationCallerT >::mmeth, and RTT::internal::OperationCallerC::ready().
|
inlinevirtual |