$search
#include <LocalOperationCaller.hpp>
Public Types | |
typedef boost::function_traits < Signature >::result_type | result_type |
typedef boost::shared_ptr < LocalOperationCaller > | shared_ptr |
typedef FunctionT | Signature |
typedef boost::function_traits < Signature > | traits |
Public Member Functions | |
base::OperationCallerBase < Signature > * | cloneI (ExecutionEngine *caller) const |
LocalOperationCallerImpl < Signature >::shared_ptr | cloneRT () const |
boost::function< Signature > | getOperationCallerFunction () const |
template<class M > | |
LocalOperationCaller (M meth, ExecutionEngine *ee, ExecutionEngine *caller, ExecutionThread et=ClientThread, ExecutionEngine *oe=NULL) | |
template<class M , class ObjectType > | |
LocalOperationCaller (M meth, ObjectType object, ExecutionEngine *ee, ExecutionEngine *caller, ExecutionThread et=ClientThread, ExecutionEngine *oe=NULL) | |
LocalOperationCaller () |
A method which executes a local function.
Usage:
LocalOperationCaller<double(int, double)> mymeth( &Class::foo, &c); double result = mymeth( 3, 1.9);
Definition at line 596 of file LocalOperationCaller.hpp.
typedef boost::function_traits<Signature>::result_type RTT::internal::LocalOperationCaller< FunctionT >::result_type |
Definition at line 600 of file LocalOperationCaller.hpp.
typedef boost::shared_ptr<LocalOperationCaller> RTT::internal::LocalOperationCaller< FunctionT >::shared_ptr |
Definition at line 603 of file LocalOperationCaller.hpp.
typedef FunctionT RTT::internal::LocalOperationCaller< FunctionT >::Signature |
Definition at line 599 of file LocalOperationCaller.hpp.
typedef boost::function_traits<Signature> RTT::internal::LocalOperationCaller< FunctionT >::traits |
Definition at line 601 of file LocalOperationCaller.hpp.
RTT::internal::LocalOperationCaller< FunctionT >::LocalOperationCaller | ( | ) | [inline] |
Create an empty LocalOperationCaller object. Use assignment to initialise it.
Definition at line 610 of file LocalOperationCaller.hpp.
RTT::internal::LocalOperationCaller< FunctionT >::LocalOperationCaller | ( | M | meth, | |
ObjectType | object, | |||
ExecutionEngine * | ee, | |||
ExecutionEngine * | caller, | |||
ExecutionThread | et = ClientThread , |
|||
ExecutionEngine * | oe = NULL | |||
) | [inline] |
Construct a LocalOperationCaller from a class member pointer and an object of that class.
meth | A pointer to a class member function | |
object | An object of the class which has meth as member function. | |
ee | The executing engine. This is the owner engine or the GlobalEngine. If null, will be the GlobalEngine. | |
caller | The caller engine. From which component we call this Operation. | |
oe | The owner engine. In which component this Operation lives |
Definition at line 624 of file LocalOperationCaller.hpp.
RTT::internal::LocalOperationCaller< FunctionT >::LocalOperationCaller | ( | M | meth, | |
ExecutionEngine * | ee, | |||
ExecutionEngine * | caller, | |||
ExecutionThread | et = ClientThread , |
|||
ExecutionEngine * | oe = NULL | |||
) | [inline] |
Construct a LocalOperationCaller from a function pointer or function object.
meth | an pointer to a function or function object. |
Definition at line 639 of file LocalOperationCaller.hpp.
base::OperationCallerBase<Signature>* RTT::internal::LocalOperationCaller< FunctionT >::cloneI | ( | ExecutionEngine * | caller | ) | const [inline] |
Definition at line 658 of file LocalOperationCaller.hpp.
LocalOperationCallerImpl<Signature>::shared_ptr RTT::internal::LocalOperationCaller< FunctionT >::cloneRT | ( | ) | const [inline] |
Definition at line 668 of file LocalOperationCaller.hpp.
boost::function<Signature> RTT::internal::LocalOperationCaller< FunctionT >::getOperationCallerFunction | ( | ) | const [inline] |
Definition at line 648 of file LocalOperationCaller.hpp.