Tizen Native API
5.0
|
Thin template to provide type safety for member function callbacks. More...
Inheritance diagram for Dali::Callback< T >:
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, DALi version 1.0.0
Constructor & Destructor Documentation
template<class T >
Dali::Callback< T >::Callback | ( | ) |
Default constructor.
- Since:
- 2.4, 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:
- 2.4, DALi version 1.0.0
- Parameters:
-
[in] object The object to call [in] memberFunction The member function of the object