| Tizen Native API
    4.0
    | 
Dali::FunctorDelegate Class Reference
  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 FunctorDelegate * | New (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:
- 2.4, DALi version 1.0.0
Constructor & Destructor Documentation
Non-virtual destructor; not intended as a base class.
- Since:
- 2.4, DALi version 1.0.0
Member Function Documentation
| void Dali::FunctorDelegate::Execute | ( | ) | 
Function to call the function or member function dispatcher.
- Since:
- 2.4, DALi version 1.0.0
template<typename T > 
      | static FunctorDelegate* Dali::FunctorDelegate::New | ( | const T & | functor | ) |  [static] | 
Constructor which copies a function object.
- Since:
- 2.4, DALi version 1.0.0
- Parameters:
- 
  [in] functor The functor object to copy, either a class with operator() or a C function 
- Returns:
- A pointer to the new function object