Tizen Native API
Dali::Callback< T > Class Template Reference

Thin template to provide type safety for member function callbacks. More...

Inheritance diagram for Dali::Callback< T >:
Dali::CallbackBase

Public Member Functions

 Callback ()
 Default constructor.
 Callback (T *object, void(T::*memberFunction)(void))
 Constructor for member function.

Detailed Description

template<class T>
class Dali::Callback< T >

Thin template to provide type safety for member function callbacks.

version with two parameters and return value

Since :
2.4

Constructor & Destructor Documentation

template<class T >
Dali::Callback< T >::Callback ( )

Default constructor.

Since :
2.4
template<class T >
Dali::Callback< T >::Callback ( T *  object,
void(T::*)(void)  memberFunction 
)

Constructor for member function.

Copies the function object.

Since :
2.4
Parameters:
[in]objectThe object to call.
[in]memberFunctionThe member function of the object.