Tizen Native API  6.0
Dali::VoidFunctorDispatcherReturn2< T, R, P1, P2 > Struct Template Reference

Dispatcher to call a functor. More...

Static Public Member Functions

static R Dispatch (CallbackBase &callback, P1 param1, P2 param2)
 Calls a function object.

Detailed Description

template<class T, typename R, typename P1, typename P2>
struct Dali::VoidFunctorDispatcherReturn2< T, R, P1, P2 >

Dispatcher to call a functor.

This variant calls a void() member, and returns a default-constructed value.

Since:
3.0, DALi version 1.0.0

Member Function Documentation

template<class T , typename R , typename P1 , typename P2 >
static R Dali::VoidFunctorDispatcherReturn2< T, R, P1, P2 >::Dispatch ( CallbackBase callback,
P1  param1,
P2  param2 
) [static]

Calls a function object.

Since:
3.0, DALi version 1.0.0
Parameters:
[in]callbackThe callback information
[in]param1The first parameter to pass to the real member function
[in]param2The second parameter to pass to the real member function
Returns:
The return value from the function