RTT::internal::LocalOperationCaller< FunctionT > Struct Template Reference

#include <LocalOperationCaller.hpp>

Inheritance diagram for RTT::internal::LocalOperationCaller< FunctionT >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef boost::function_traits
< Signature >::result_type 
result_type
typedef boost::function_traits
< Signature >::result_type 
result_type
typedef boost::shared_ptr
< LocalOperationCaller
shared_ptr
typedef boost::shared_ptr
< LocalOperationCaller
shared_ptr
typedef FunctionT Signature
typedef FunctionT Signature
typedef boost::function_traits
< Signature
traits
typedef boost::function_traits
< Signature
traits

Public Member Functions

base::OperationCallerBase
< Signature > * 
cloneI (ExecutionEngine *caller) const
base::OperationCallerBase
< Signature > * 
cloneI (ExecutionEngine *caller) const
LocalOperationCallerImpl
< Signature >::shared_ptr 
cloneRT () const
LocalOperationCallerImpl
< Signature >::shared_ptr 
cloneRT () const
boost::function< SignaturegetOperationCallerFunction () const
boost::function< SignaturegetOperationCallerFunction () const
template<class M >
 LocalOperationCaller (M meth, ExecutionEngine *ee, ExecutionEngine *caller, ExecutionThread et=ClientThread)
template<class M , class ObjectType >
 LocalOperationCaller (M meth, ObjectType object, ExecutionEngine *ee, ExecutionEngine *caller, ExecutionThread et=ClientThread)
 LocalOperationCaller ()
template<class M >
 LocalOperationCaller (M meth, ExecutionEngine *ee, ExecutionEngine *caller, ExecutionThread et=ClientThread)
template<class M , class ObjectType >
 LocalOperationCaller (M meth, ObjectType object, ExecutionEngine *ee, ExecutionEngine *caller, ExecutionThread et=ClientThread)
 LocalOperationCaller ()
void setSignal (typename Signal< Signature >::shared_ptr sig)
void setSignal (typename Signal< Signature >::shared_ptr sig)

Detailed Description

template<class FunctionT>
struct RTT::internal::LocalOperationCaller< FunctionT >

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 592 of file install/include/rtt/internal/LocalOperationCaller.hpp.


Member Typedef Documentation

template<class FunctionT>
typedef boost::function_traits<Signature>::result_type RTT::internal::LocalOperationCaller< FunctionT >::result_type

Definition at line 596 of file rtt/internal/LocalOperationCaller.hpp.

template<class FunctionT>
typedef boost::function_traits<Signature>::result_type RTT::internal::LocalOperationCaller< FunctionT >::result_type
template<class FunctionT>
typedef boost::shared_ptr<LocalOperationCaller> RTT::internal::LocalOperationCaller< FunctionT >::shared_ptr

Definition at line 599 of file rtt/internal/LocalOperationCaller.hpp.

template<class FunctionT>
typedef boost::shared_ptr<LocalOperationCaller> RTT::internal::LocalOperationCaller< FunctionT >::shared_ptr
template<class FunctionT>
typedef FunctionT RTT::internal::LocalOperationCaller< FunctionT >::Signature

Definition at line 595 of file rtt/internal/LocalOperationCaller.hpp.

template<class FunctionT>
typedef FunctionT RTT::internal::LocalOperationCaller< FunctionT >::Signature
template<class FunctionT>
typedef boost::function_traits<Signature> RTT::internal::LocalOperationCaller< FunctionT >::traits

Definition at line 597 of file rtt/internal/LocalOperationCaller.hpp.

template<class FunctionT>
typedef boost::function_traits<Signature> RTT::internal::LocalOperationCaller< FunctionT >::traits

Constructor & Destructor Documentation

template<class FunctionT>
RTT::internal::LocalOperationCaller< FunctionT >::LocalOperationCaller (  )  [inline]

Create an empty LocalOperationCaller object. Use assignment to initialise it.

See also:
method

Definition at line 606 of file install/include/rtt/internal/LocalOperationCaller.hpp.

template<class FunctionT>
template<class M , class ObjectType >
RTT::internal::LocalOperationCaller< FunctionT >::LocalOperationCaller ( meth,
ObjectType  object,
ExecutionEngine ee,
ExecutionEngine caller,
ExecutionThread  et = ClientThread 
) [inline]

Construct a LocalOperationCaller from a class member pointer and an object of that class.

Parameters:
name The name of this method
meth A pointer to a class member function
object An object of the class which has meth as member function.

Definition at line 618 of file install/include/rtt/internal/LocalOperationCaller.hpp.

template<class FunctionT>
template<class M >
RTT::internal::LocalOperationCaller< FunctionT >::LocalOperationCaller ( meth,
ExecutionEngine ee,
ExecutionEngine caller,
ExecutionThread  et = ClientThread 
) [inline]

Construct a LocalOperationCaller from a function pointer or function object.

Parameters:
name the name of this method
meth an pointer to a function or function object.

Definition at line 635 of file install/include/rtt/internal/LocalOperationCaller.hpp.

template<class FunctionT>
RTT::internal::LocalOperationCaller< FunctionT >::LocalOperationCaller (  )  [inline]

Create an empty LocalOperationCaller object. Use assignment to initialise it.

See also:
method

Definition at line 606 of file rtt/internal/LocalOperationCaller.hpp.

template<class FunctionT>
template<class M , class ObjectType >
RTT::internal::LocalOperationCaller< FunctionT >::LocalOperationCaller ( meth,
ObjectType  object,
ExecutionEngine ee,
ExecutionEngine caller,
ExecutionThread  et = ClientThread 
) [inline]

Construct a LocalOperationCaller from a class member pointer and an object of that class.

Parameters:
name The name of this method
meth A pointer to a class member function
object An object of the class which has meth as member function.

Definition at line 618 of file rtt/internal/LocalOperationCaller.hpp.

template<class FunctionT>
template<class M >
RTT::internal::LocalOperationCaller< FunctionT >::LocalOperationCaller ( meth,
ExecutionEngine ee,
ExecutionEngine caller,
ExecutionThread  et = ClientThread 
) [inline]

Construct a LocalOperationCaller from a function pointer or function object.

Parameters:
name the name of this method
meth an pointer to a function or function object.

Definition at line 635 of file rtt/internal/LocalOperationCaller.hpp.


Member Function Documentation

template<class FunctionT>
base::OperationCallerBase<Signature>* RTT::internal::LocalOperationCaller< FunctionT >::cloneI ( ExecutionEngine caller  )  const [inline]

Definition at line 654 of file rtt/internal/LocalOperationCaller.hpp.

template<class FunctionT>
base::OperationCallerBase<Signature>* RTT::internal::LocalOperationCaller< FunctionT >::cloneI ( ExecutionEngine caller  )  const [inline]
template<class FunctionT>
LocalOperationCallerImpl<Signature>::shared_ptr RTT::internal::LocalOperationCaller< FunctionT >::cloneRT (  )  const [inline]

Definition at line 662 of file rtt/internal/LocalOperationCaller.hpp.

template<class FunctionT>
LocalOperationCallerImpl<Signature>::shared_ptr RTT::internal::LocalOperationCaller< FunctionT >::cloneRT (  )  const [inline]
template<class FunctionT>
boost::function<Signature> RTT::internal::LocalOperationCaller< FunctionT >::getOperationCallerFunction (  )  const [inline]

Definition at line 645 of file rtt/internal/LocalOperationCaller.hpp.

template<class FunctionT>
boost::function<Signature> RTT::internal::LocalOperationCaller< FunctionT >::getOperationCallerFunction (  )  const [inline]
template<class FunctionT>
void RTT::internal::LocalOperationCaller< FunctionT >::setSignal ( typename Signal< Signature >::shared_ptr  sig  )  [inline]

Definition at line 650 of file rtt/internal/LocalOperationCaller.hpp.

template<class FunctionT>
void RTT::internal::LocalOperationCaller< FunctionT >::setSignal ( typename Signal< Signature >::shared_ptr  sig  )  [inline]

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:50:03 2013