Tizen Native API  3.0
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:
3.0, DALi version 1.0.0

Constructor & Destructor Documentation

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

Default constructor.

Since:
3.0, DALi version 1.0.0
template<class T >
Dali::Callback< T >::Callback ( T *  object,
void(T::*)(void)  memberFunction 
)

Constructor for member function.

Copies the function object.

Since:
3.0, DALi version 1.0.0
Parameters:
[in]objectThe object to call
[in]memberFunctionThe member function of the object