Tizen Native API  6.5

Used to connect a void() functor to a signal via BaseObject::SignalConnect(). More...

Public Member Functions

 ~FunctorDelegate ()
 Non-virtual destructor; not intended as a base class.
void Execute ()
 Function to call the function or member function dispatcher.

Static Public Member Functions

template<typename T >
static FunctorDelegateNew (const T &functor)
 Constructor which copies a function object.

Public Attributes

void * mFunctorPointer
 Functor that will be called.
Dispatcher mMemberFunctionDispatcher
 Dispatcher for member functions.
Destructor mDestructorDispatcher
 Destructor for owned objects.

Detailed Description

Used to connect a void() functor to a signal via BaseObject::SignalConnect().

Since:
3.0, DALi version 1.0.0

Constructor & Destructor Documentation

Non-virtual destructor; not intended as a base class.

Since:
3.0, DALi version 1.0.0

Member Function Documentation

Function to call the function or member function dispatcher.

Since:
3.0, DALi version 1.0.0
template<typename T >
static FunctorDelegate* Dali::FunctorDelegate::New ( const T &  functor) [static]

Constructor which copies a function object.

Since:
3.0, DALi version 1.0.0
Parameters:
[in]functorThe functor object to copy, either a class with operator() or a C function
Returns:
A pointer to the new function object