Tizen Native API  5.0
Signal

Classes for the signal and slot structure.

Classes

class  Dali::BaseSignal
 Implementation class for Dali::Signal. More...
class  Dali::CallbackBase
 Callback base class to hold the data for callback function and member function calls. More...
struct  Dali::Destroyer< T >
 Dispatcher to delete an object. More...
struct  Dali::Dispatcher0< T >
 Dispatcher to call the actual member function. More...
struct  Dali::Dispatcher1< T, P1 >
 Dispatcher to call the actual member function. More...
struct  Dali::Dispatcher2< T, P1, P2 >
 Dispatcher to call the actual member function. More...
struct  Dali::Dispatcher3< T, P1, P2, P3 >
 Dispatcher to call the actual member function. More...
struct  Dali::DispatcherReturn0< T, R >
 Dispatcher to call the actual member function. More...
struct  Dali::DispatcherReturn1< T, R, P1 >
 Dispatcher to call the actual member function. More...
struct  Dali::DispatcherReturn2< T, R, P1, P2 >
 Dispatcher to call the actual member function. More...
struct  Dali::DispatcherReturn3< T, R, P1, P2, P3 >
 Dispatcher to call the actual member function. More...
struct  Dali::FunctorDispatcher0< T >
 Dispatcher to call a functor. More...
struct  Dali::FunctorDispatcher1< T, P1 >
 Dispatcher to call a functor. More...
struct  Dali::FunctorDispatcher2< T, P1, P2 >
 Dispatcher to call a functor. More...
struct  Dali::FunctorDispatcher3< T, P1, P2, P3 >
 Dispatcher to call a functor. More...
struct  Dali::FunctorDispatcherReturn0< T, R >
 Dispatcher to call a functor. More...
struct  Dali::FunctorDispatcherReturn1< T, R, P1 >
 Dispatcher to call a functor. More...
struct  Dali::FunctorDispatcherReturn2< T, R, P1, P2 >
 Dispatcher to call a functor. More...
struct  Dali::FunctorDispatcherReturn3< T, R, P1, P2, P3 >
 Dispatcher to call a functor. More...
struct  Dali::VoidFunctorDispatcher0< T >
 Dispatcher to call a functor. More...
struct  Dali::VoidFunctorDispatcher1< T, P1 >
 Dispatcher to call a functor. More...
struct  Dali::VoidFunctorDispatcher2< T, P1, P2 >
 Dispatcher to call a functor. More...
struct  Dali::VoidFunctorDispatcher3< T, P1, P2, P3 >
 Dispatcher to call a functor. More...
struct  Dali::VoidFunctorDispatcherReturn0< T, R >
 Dispatcher to call a functor. More...
struct  Dali::VoidFunctorDispatcherReturn1< T, R, P1 >
 Dispatcher to call a functor. More...
struct  Dali::VoidFunctorDispatcherReturn2< T, R, P1, P2 >
 Dispatcher to call a functor. More...
struct  Dali::VoidFunctorDispatcherReturn3< T, R, P1, P2, P3 >
 Dispatcher to call a functor. More...
class  Dali::Callback< T >
 Thin template to provide type safety for member function callbacks. More...
class  Dali::CallbackFunction
 Specializations for static function callbacks. More...
class  Dali::CallbackFunctor0< T >
 Specializations for function object callbacks. More...
class  Dali::CallbackFunctorDelegate0
 Function object callback for connecting void() methods. More...
class  Dali::CallbackFunctor1< T, P1 >
 Function object callback for matching callbacks to signal signature. More...
class  Dali::CallbackFunctorDelegate1< P1 >
 Function object callback for connecting void() methods. More...
class  Dali::CallbackFunctor2< T, P1, P2 >
 Function object callback for matching callbacks to signal signature. More...
class  Dali::CallbackFunctorDelegate2< P1, P2 >
 Function object callback for connecting void() methods. More...
class  Dali::CallbackFunctor3< T, P1, P2, P3 >
 Function object callback for matching callbacks to signal signature. More...
class  Dali::CallbackFunctorDelegate3< P1, P2, P3 >
 Function object callback for connecting void() methods. More...
class  Dali::CallbackFunctorReturn0< T, R >
 Function object callback for matching callbacks to signal signature. More...
class  Dali::CallbackFunctorDelegateReturn0< R >
 Function object callback for connecting void() methods. More...
class  Dali::CallbackFunctorReturn1< T, P1, R >
 Function object callback for matching callbacks to signal signature. More...
class  Dali::CallbackFunctorDelegateReturn1< P1, R >
 Function object callback for connecting void() methods. More...
class  Dali::CallbackFunctorReturn2< T, P1, P2, R >
 Function object callback for matching callbacks to signal signature. More...
class  Dali::CallbackFunctorDelegateReturn2< P1, P2, R >
 Function object callback for connecting void() methods. More...
class  Dali::CallbackFunctorReturn3< T, P1, P2, P3, R >
 Function object callback for matching callbacks to signal signature. More...
class  Dali::CallbackFunctorDelegateReturn3< P1, P2, P3, R >
 Function object callback for connecting void() methods. More...
class  Dali::ConnectionTrackerInterface
 Interface used to track connections between signals and slots. More...
class  Dali::ConnectionTracker
 Connection tracker concrete implementation. More...
class  Dali::Signal< _Signature >
 Base Template class to provide signals. More...
class  Dali::Signal< void() >
 A template for Signals with no parameters or return value. More...
class  Dali::Signal< Ret() >
 A template for Signals with no parameters and a return value. More...
class  Dali::Signal< void(Arg0) >
 A template for Signals with 1 parameter. More...
class  Dali::Signal< Ret(Arg0) >
 A template for Signals with 1 parameter and a return value. More...
class  Dali::Signal< void(Arg0, Arg1) >
 A template for Signals with 2 parameters. More...
class  Dali::Signal< Ret(Arg0, Arg1) >
 A template for Signals with 2 parameters and a return value. More...
class  Dali::Signal< void(Arg0, Arg1, Arg2) >
 A template for Signals with 3 parameters. More...
class  Dali::Signal< Ret(Arg0, Arg1, Arg2) >
 A template for Signals with 2 parameters and a return value. More...
struct  Dali::FunctorDispatcher< T >
 Dispatcher to call a functor. More...
struct  Dali::FunctorDestroyer< T >
 Dispatcher to delete a functor object. More...
class  Dali::FunctorDelegate
 Used to connect a void() functor to a signal via BaseObject::SignalConnect(). More...
class  Dali::SlotConnection
 Slot connection is the connection information held by a connection tracker. More...
class  Dali::SignalConnection
 SignalConnection is the connection information held by the signal. More...
class  Dali::SignalObserver
 Abstract interface used by a signal to inform a slot it is disconnecting. More...
class  Dali::SlotObserver
 Abstract Interface used by a slot to inform a signal it is disconnecting. More...
class  Dali::SlotDelegate< Slot >
 SlotDelegates can be used to connect member functions to signals, without inheriting from SlotDelegateInterface. More...

Functions

bool Dali::operator== (const CallbackBase &lhs, const CallbackBase &rhs)
 Non-member equality operator.
CallbackBase * Dali::MakeCallback (void(*function)(void))
 Creates a callback from a C function or static member function with no parameters.
template<typename P1 >
CallbackBase * Dali::MakeCallback (void(*function)(P1))
 Creates a callback from a C function or static member function with one parameter.
template<typename R >
CallbackBase * Dali::MakeCallback (R(*function)(void))
 Creates a callback from a C function or static member function with no parameters and a return type.
template<typename R , typename P1 >
CallbackBase * Dali::MakeCallback (R(*function)(P1))
 Creates a callback from a C function or static member function with one parameter and a return type.
template<typename P1 , typename P2 >
CallbackBase * Dali::MakeCallback (void(*function)(P1, P2))
 Creates a callback from a C function or static member function with two parameters.
template<typename R , typename P1 , typename P2 >
CallbackBase * Dali::MakeCallback (R(*function)(P1, P2))
 Creates a callback from a C function or static member function with two parameters and a return type.
template<typename P1 , typename P2 , typename P3 >
CallbackBase * Dali::MakeCallback (void(*function)(P1, P2, P3))
 Creates a callback from a C function or static member function with three parameters.
template<typename R , typename P1 , typename P2 , typename P3 >
CallbackBase * Dali::MakeCallback (R(*function)(P1, P2, P3))
 Creates a callback from a C function or static member function with three parameters and a return type.
template<class T >
CallbackBase * Dali::MakeCallback (T *object, void(T::*function)(void))
 Creates a callback from a class member function with no parameters.
template<class T , typename P1 >
CallbackBase * Dali::MakeCallback (T *object, void(T::*function)(P1))
 Creates a callback from a class member function with one parameter.
template<class T , typename P1 , typename P2 >
CallbackBase * Dali::MakeCallback (T *object, void(T::*function)(P1, P2))
 Creates a callback from a class member function with two parameters.
template<class T , typename P1 , typename P2 , typename P3 >
CallbackBase * Dali::MakeCallback (T *object, void(T::*function)(P1, P2, P3))
 Creates a callback from a class member function with three parameters.
template<class T , typename R >
CallbackBase * Dali::MakeCallback (T *object, R(T::*function)())
 Creates a callback from a class member function with no parameters and a return type.
template<class T , typename P1 , typename R >
CallbackBase * Dali::MakeCallback (T *object, R(T::*function)(P1))
 Creates a callback from a class member function with one parameter and a return type.
template<class T , typename P1 , typename P2 , typename R >
CallbackBase * Dali::MakeCallback (T *object, R(T::*function)(P1, P2))
 Creates a callback from a class member function with two parameters and a return type.
template<class T , typename P1 , typename P2 , typename P3 , typename R >
CallbackBase * Dali::MakeCallback (T *object, R(T::*function)(P1, P2, P3))
 Creates a callback from a class member function with three parameters and a return type.
template<class T , class Base >
CallbackBase * Dali::MakeCallback (T *object, void(Base::*function)(void))
 Creates a callback from a class's parent member function with no parameters.
template<class T , class Base >
CallbackBase * Dali::MakeCallback (T &object, void(Base::*function)(void))
 Creates a callback from a class's parent member function with no parameters.

Function Documentation

CallbackBase* Dali::MakeCallback ( void(*)(void)  function)

Creates a callback from a C function or static member function with no parameters.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]functionThe function to call
Returns:
A newly allocated Callback object, ownership transferred to caller
template<typename P1 >
CallbackBase* Dali::MakeCallback ( void(*)(P1)  function)

Creates a callback from a C function or static member function with one parameter.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]functionThe function to call
Returns:
A newly allocated Callback object, ownership transferred to caller
template<typename R >
CallbackBase* Dali::MakeCallback ( R(*)(void)  function)

Creates a callback from a C function or static member function with no parameters and a return type.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]functionThe function to call
Returns:
A newly allocated Callback object, ownership transferred to caller
template<typename R , typename P1 >
CallbackBase* Dali::MakeCallback ( R(*)(P1)  function)

Creates a callback from a C function or static member function with one parameter and a return type.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]functionThe function to call
Returns:
A newly allocated Callback object, ownership transferred to caller
template<typename P1 , typename P2 >
CallbackBase* Dali::MakeCallback ( void(*)(P1, P2)  function)

Creates a callback from a C function or static member function with two parameters.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]functionThe function to call
Returns:
A newly allocated Callback object, ownership transferred to caller
template<typename R , typename P1 , typename P2 >
CallbackBase* Dali::MakeCallback ( R(*)(P1, P2)  function)

Creates a callback from a C function or static member function with two parameters and a return type.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]functionThe function to call
Returns:
A newly allocated Callback object, ownership transferred to caller
template<typename P1 , typename P2 , typename P3 >
CallbackBase* Dali::MakeCallback ( void(*)(P1, P2, P3)  function)

Creates a callback from a C function or static member function with three parameters.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]functionThe function to call
Returns:
A newly allocated Callback object, ownership transferred to caller
template<typename R , typename P1 , typename P2 , typename P3 >
CallbackBase* Dali::MakeCallback ( R(*)(P1, P2, P3)  function)

Creates a callback from a C function or static member function with three parameters and a return type.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]functionThe function to call
Returns:
A newly allocated Callback object, ownership transferred to caller
template<class T >
CallbackBase* Dali::MakeCallback ( T *  object,
void(T::*)(void)  function 
)

Creates a callback from a class member function with no parameters.

Requires the function to be member of the same class.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]objectThe object to call
[in]functionThe member function to call
Returns:
A newly allocated Callback object, ownership transferred to caller
template<class T , typename P1 >
CallbackBase* Dali::MakeCallback ( T *  object,
void(T::*)(P1)  function 
)

Creates a callback from a class member function with one parameter.

Requires the function to be member of the same class.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]objectThe object to call
[in]functionThe member function to call
Returns:
A newly allocated Callback object, ownership transferred to caller
template<class T , typename P1 , typename P2 >
CallbackBase* Dali::MakeCallback ( T *  object,
void(T::*)(P1, P2)  function 
)

Creates a callback from a class member function with two parameters.

Requires the function to be member of the same class.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]objectThe object to call
[in]functionThe member function to call
Returns:
A newly allocated Callback object, ownership transferred to caller
template<class T , typename P1 , typename P2 , typename P3 >
CallbackBase* Dali::MakeCallback ( T *  object,
void(T::*)(P1, P2, P3)  function 
)

Creates a callback from a class member function with three parameters.

Requires the function to be member of the same class.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]objectThe object to call
[in]functionThe member function to call
Returns:
A newly allocated Callback object, ownership transferred to caller
template<class T , typename R >
CallbackBase* Dali::MakeCallback ( T *  object,
R(T::*)()  function 
)

Creates a callback from a class member function with no parameters and a return type.

Requires the function to be member of the same class.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]objectThe object to call
[in]functionThe member function to call
Returns:
A newly allocated Callback object, ownership transferred to caller
template<class T , typename P1 , typename R >
CallbackBase* Dali::MakeCallback ( T *  object,
R(T::*)(P1)  function 
)

Creates a callback from a class member function with one parameter and a return type.

Requires the function to be member of the same class.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]objectThe object to call
[in]functionThe member function to call
Returns:
A newly allocated Callback object, ownership transferred to caller
template<class T , typename P1 , typename P2 , typename R >
CallbackBase* Dali::MakeCallback ( T *  object,
R(T::*)(P1, P2)  function 
)

Creates a callback from a class member function with two parameters and a return type.

Requires the function to be member of the same class.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]objectThe object to call
[in]functionThe member function to call
Returns:
A newly allocated Callback object, ownership transferred to caller
template<class T , typename P1 , typename P2 , typename P3 , typename R >
CallbackBase* Dali::MakeCallback ( T *  object,
R(T::*)(P1, P2, P3)  function 
)

Creates a callback from a class member function with three parameters and a return type.

Requires the function to be member of the same class.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]objectThe object to call
[in]functionThe member function to call
Returns:
A newly allocated Callback object, ownership transferred to caller
template<class T , class Base >
CallbackBase* Dali::MakeCallback ( T *  object,
void(Base::*)(void)  function 
)

Creates a callback from a class's parent member function with no parameters.

Requires the function to be member of the same class.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]objectThe object to call
[in]functionThe member function to call
Returns:
A newly allocated Callback object, ownership transferred to caller
template<class T , class Base >
CallbackBase* Dali::MakeCallback ( T &  object,
void(Base::*)(void)  function 
)

Creates a callback from a class's parent member function with no parameters.

Requires the function to be member of the same class.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]objectThe object to call
[in]functionThe member function to call
Returns:
A newly allocated Callback object, ownership transferred to caller
bool Dali::operator== ( const CallbackBase &  lhs,
const CallbackBase &  rhs 
)

Non-member equality operator.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]lhsA reference to compare
[in]rhsA reference to compare to
Returns:
True if lhs is same as rhs