#include <OperationInterfacePartFused.hpp>
Public Types | |
typedef std::vector< base::DataSourceBase::shared_ptr > | ArgList |
Private Types | |
typedef create_sequence< typename boost::function_types::parameter_types< typename CollectType< Signature >::type >::type > | CollectSequenceFactory |
typedef boost::function_traits< Signature >::result_type | result_type |
typedef create_sequence< typename boost::function_types::parameter_types< Signature >::type > | SequenceFactory |
Private Attributes | |
DataSource< boost::shared_ptr< ObjT > >::shared_ptr | mwp |
Operation< Signature > * | op |
OperationInterfacePart implementation that uses boost::fusion to produce items. The methods invoked get their object pointer from the first data source, which contains a shared_ptr.
Signature | The full signature, with the object pointer as the first argument. |
ObjT | The object pointer type used in Signature. |
Definition at line 335 of file OperationInterfacePartFused.hpp.
typedef std::vector<base::DataSourceBase::shared_ptr> RTT::internal::OperationInterfacePartFusedDS< Signature, ObjT >::ArgList |
Definition at line 350 of file OperationInterfacePartFused.hpp.
|
private |
Definition at line 339 of file OperationInterfacePartFused.hpp.
|
private |
Definition at line 340 of file OperationInterfacePartFused.hpp.
|
private |
Definition at line 338 of file OperationInterfacePartFused.hpp.
|
inline |
Definition at line 345 of file OperationInterfacePartFused.hpp.
|
inlinevirtual |
Returns the arity (number of arguments) of this operation.
Implements RTT::OperationInterfacePart.
Definition at line 357 of file OperationInterfacePartFused.hpp.
|
inlinevirtual |
Returns the number of collectable arguments of this operation's function. These consist of the return value and the reference arguments.
Implements RTT::OperationInterfacePart.
Definition at line 366 of file OperationInterfacePartFused.hpp.
|
inlinevirtual |
Returns the description of this operation.
Implements RTT::OperationInterfacePart.
Definition at line 377 of file OperationInterfacePartFused.hpp.
|
inlinevirtual |
Get a description of the desired arguments in the ArgumentDescription format.
Implements RTT::OperationInterfacePart.
Definition at line 381 of file OperationInterfacePartFused.hpp.
|
inlinevirtual |
Returns the type information of the n'th argument, with argument zero being the return value.
arg | 0: get return value type, 1..arity(): get n'th argument type. |
Implements RTT::OperationInterfacePart.
Definition at line 359 of file OperationInterfacePartFused.hpp.
|
inlinevirtual |
Returns the type information of the n'th collectable argument. The numbering of arg starts from 1.
arg | 1..collectArity(): get n'th argument type. |
Implements RTT::OperationInterfacePart.
Definition at line 368 of file OperationInterfacePartFused.hpp.
|
inlinevirtual |
Returns any local operation associated with this operation.
Reimplemented from RTT::OperationInterfacePart.
Definition at line 466 of file OperationInterfacePartFused.hpp.
|
inlinevirtual |
Returns the name of this operation.
Implements RTT::OperationInterfacePart.
Definition at line 373 of file OperationInterfacePartFused.hpp.
|
inline |
Definition at line 390 of file OperationInterfacePartFused.hpp.
|
inlinevirtual |
Create a DataSource for collecting the results of a Send.
args | A vector of data sources of which the first element contains a properly initialised sendhandle and the remainder of the elements contains datasources for collecting the return value and reference arguments. The total number of items in args must be collectArity() + 1 |
blocking | Set to true to do a blocking collect, false for a polling version. |
wrong_number_of_args_exception | |
wrong_types_of_args_exception | |
name_not_found_exception | |
no_asynchronous_operation_exception |
Implements RTT::OperationInterfacePart.
Definition at line 418 of file OperationInterfacePartFused.hpp.
|
inlinevirtual |
Create an empty SendHandle object for this operation.
wrong_number_of_args_exception | |
wrong_types_of_args_exception | |
name_not_found_exception | |
no_asynchronous_operation_exception |
Implements RTT::OperationInterfacePart.
Definition at line 413 of file OperationInterfacePartFused.hpp.
|
inlinevirtual |
Create a DataSource for a given send operation.
args | The arguments for the target object's function. The number of arguments must be identical to this->arity() |
caller | The Engine that will receive notifications when the method has been executed. Normally, this is the engine of the caller's TaskContext. |
wrong_number_of_args_exception | |
wrong_types_of_args_exception | |
name_not_found_exception | |
no_asynchronous_operation_exception |
Implements RTT::OperationInterfacePart.
Definition at line 402 of file OperationInterfacePartFused.hpp.
|
inlinevirtual |
Return the result (return) type of this operation.
Implements RTT::OperationInterfacePart.
Definition at line 352 of file OperationInterfacePartFused.hpp.
|
private |
Definition at line 343 of file OperationInterfacePartFused.hpp.
|
private |
Definition at line 341 of file OperationInterfacePartFused.hpp.