Dali 3D User Interface Engine
Classes | Functions
Dali_core_signals

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 .0. 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 .0. More...
 
class  Dali::CallbackFunctorDelegate2< P1, P2 >
 Function object callback for connecting void() methods .0. More...
 
class  Dali::CallbackFunctor3< T, P1, P2, P3 >
 Function object callback for matching callbacks to signal signature .0. More...
 
class  Dali::CallbackFunctorDelegate3< P1, P2, P3 >
 Function object callback for connecting void() methods .0. More...
 
class  Dali::CallbackFunctorReturn0< T, R >
 Function object callback for matching callbacks to signal signature .0. More...
 
class  Dali::CallbackFunctorDelegateReturn0< R >
 Function object callback for connecting void() methods .0. More...
 
class  Dali::CallbackFunctorReturn1< T, P1, R >
 Function object callback for matching callbacks to signal signature .0. More...
 
class  Dali::CallbackFunctorDelegateReturn1< P1, R >
 Function object callback for connecting void() methods .0. More...
 
class  Dali::CallbackFunctorReturn2< T, P1, P2, R >
 Function object callback for matching callbacks to signal signature .0. More...
 
class  Dali::CallbackFunctorDelegateReturn2< P1, P2, R >
 Function object callback for connecting void() methods .0. More...
 
class  Dali::CallbackFunctorReturn3< T, P1, P2, P3, R >
 Function object callback for matching callbacks to signal signature .0. More...
 
class  Dali::CallbackFunctorDelegateReturn3< P1, P2, P3, R >
 Function object callback for connecting void() methods .0. More...
 
class  Dali::ConnectionTrackerInterface
 Interface used to track connections between signals and slots. More...
 
class  Dali::ConnectionTracker
 Connection tracker concrete implementation .0. More...
 
class  Dali::Signal< _Signature >
 Base Template class to provide signals. 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 .0. More...
 
struct  Dali::FunctorDestroyer< T >
 Dispatcher to delete a functor object .0. More...
 
class  Dali::FunctorDelegate
 Used to connect a void() functor to a signal via BaseObject::SignalConnect() .0. 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 .0. More...
 
CallbackBase * Dali::MakeCallback (void(*function)(void))
 Creates a callback from a C function or static member function with no parameters. More...
 
template<typename P1 >
CallbackBase * Dali::MakeCallback (void(*function)(P1))
 Creates a callback from a C function or static member function with one parameter. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
template<class T >
CallbackBase * Dali::MakeCallback (T *object, void(T::*function)(void))
 Creates a callback from a class member function with no parameters. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 

Detailed Description

Function Documentation

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

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

.0

Parameters
[in]functionThe function to call.
Returns
a newly allocated Callback object, ownership transferred to caller

Definition at line 1528 of file callback.h.

Referenced by Dali::Internal::Adaptor::UvCallbackManager::AddIdleCallback(), Dali::Internal::Adaptor::EcoreCallbackManager::AddIdleCallback(), Dali::Internal::Adaptor::CombinedUpdateRenderController::CombinedUpdateRenderController(), Dali::SignalDelegate::Connect(), Dali::Signal< void() >::Connect(), Dali::Signal< Ret() >::Connect(), Dali::Signal< void(Arg0) >::Connect(), Dali::Signal< Ret(Arg0) >::Connect(), Dali::Signal< void(Arg0, Arg1) >::Connect(), Dali::Signal< Ret(Arg0, Arg1) >::Connect(), Dali::Signal< void(Arg0, Arg1, Arg2) >::Connect(), Dali::Signal< Ret(Arg0, Arg1, Arg2) >::Connect(), Dali::Signal< void() >::Disconnect(), Dali::Signal< Ret() >::Disconnect(), Dali::Signal< void(Arg0) >::Disconnect(), Dali::Signal< Ret(Arg0) >::Disconnect(), Dali::Signal< void(Arg0, Arg1) >::Disconnect(), Dali::Signal< Ret(Arg0, Arg1) >::Disconnect(), Dali::Signal< void(Arg0, Arg1, Arg2) >::Disconnect(), Dali::Signal< Ret(Arg0, Arg1, Arg2) >::Disconnect(), Dali::Internal::Adaptor::Adaptor::Initialize(), Dali::Internal::Adaptor::Application::OnInit(), Dali::Internal::Adaptor::Application::Quit(), Dali::Internal::Adaptor::Adaptor::RequestProcessEventsOnIdle(), and Dali::Internal::Adaptor::TriggerEvent::TriggerEvent().

Here is the caller graph for this function:

template<typename P1 >
CallbackBase* Dali::MakeCallback ( void(*)(P1)  function)
inline

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

.0

Parameters
[in]functionThe function to call.
Returns
a newly allocated Callback object, ownership transferred to caller

Definition at line 1541 of file callback.h.

template<typename R >
CallbackBase* Dali::MakeCallback ( R(*)(void)  function)
inline

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

.0

Parameters
[in]functionThe function to call.
Returns
a newly allocated Callback object, ownership transferred to caller

Definition at line 1554 of file callback.h.

template<typename R , typename P1 >
CallbackBase* Dali::MakeCallback ( R(*)(P1)  function)
inline

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

.0

Parameters
[in]functionThe function to call.
Returns
a newly allocated Callback object, ownership transferred to caller

Definition at line 1567 of file callback.h.

template<typename P1 , typename P2 >
CallbackBase* Dali::MakeCallback ( void(*)(P1, P2)  function)
inline

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

.0

Parameters
[in]functionThe function to call.
Returns
a newly allocated Callback object, ownership transferred to caller

Definition at line 1580 of file callback.h.

template<typename R , typename P1 , typename P2 >
CallbackBase* Dali::MakeCallback ( R(*)(P1, P2)  function)
inline

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

.0

Parameters
[in]functionThe function to call.
Returns
a newly allocated Callback object, ownership transferred to caller

Definition at line 1593 of file callback.h.

template<typename P1 , typename P2 , typename P3 >
CallbackBase* Dali::MakeCallback ( void(*)(P1, P2, P3)  function)
inline

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

.0

Parameters
[in]functionThe function to call.
Returns
a newly allocated Callback object, ownership transferred to caller

Definition at line 1606 of file callback.h.

template<typename R , typename P1 , typename P2 , typename P3 >
CallbackBase* Dali::MakeCallback ( R(*)(P1, P2, P3)  function)
inline

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

.0

Parameters
[in]functionThe function to call.
Returns
a newly allocated Callback object, ownership transferred to caller

Definition at line 1619 of file callback.h.

template<class T >
CallbackBase* Dali::MakeCallback ( T *  object,
void(T::*)(void)  function 
)
inline

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

requires the function to be member of the same class .0

Parameters
[in]objectThe object to call.
[in]functionThe member function to call.
Returns
a newly allocated Callback object, ownership transferred to caller

Definition at line 1634 of file callback.h.

template<class T , typename P1 >
CallbackBase* Dali::MakeCallback ( T *  object,
void(T::*)(P1)  function 
)
inline

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

requires the function to be member of the same class .0

Parameters
[in]objectThe object to call.
[in]functionThe member function to call.
Returns
a newly allocated Callback object, ownership transferred to caller

Definition at line 1649 of file callback.h.

template<class T , typename P1 , typename P2 >
CallbackBase* Dali::MakeCallback ( T *  object,
void(T::*)(P1, P2)  function 
)
inline

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

requires the function to be member of the same class .0

Parameters
[in]objectThe object to call.
[in]functionThe member function to call.
Returns
a newly allocated Callback object, ownership transferred to caller

Definition at line 1664 of file callback.h.

template<class T , typename P1 , typename P2 , typename P3 >
CallbackBase* Dali::MakeCallback ( T *  object,
void(T::*)(P1, P2, P3)  function 
)
inline

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

requires the function to be member of the same class .0

Parameters
[in]objectThe object to call.
[in]functionThe member function to call.
Returns
a newly allocated Callback object, ownership transferred to caller

Definition at line 1679 of file callback.h.

template<class T , typename R >
CallbackBase* Dali::MakeCallback ( T *  object,
R(T::*)()  function 
)
inline

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 .0

Parameters
[in]objectThe object to call.
[in]functionThe member function to call.
Returns
a newly allocated Callback object, ownership transferred to caller

Definition at line 1694 of file callback.h.

template<class T , typename P1 , typename R >
CallbackBase* Dali::MakeCallback ( T *  object,
R(T::*)(P1)  function 
)
inline

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 .0

Parameters
[in]objectThe object to call.
[in]functionThe member function to call.
Returns
a newly allocated Callback object, ownership transferred to caller

Definition at line 1709 of file callback.h.

template<class T , typename P1 , typename P2 , typename R >
CallbackBase* Dali::MakeCallback ( T *  object,
R(T::*)(P1, P2)  function 
)
inline

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 .0

Parameters
[in]objectThe object to call.
[in]functionThe member function to call.
Returns
a newly allocated Callback object, ownership transferred to caller

Definition at line 1724 of file callback.h.

template<class T , typename P1 , typename P2 , typename P3 , typename R >
CallbackBase* Dali::MakeCallback ( T *  object,
R(T::*)(P1, P2, P3)  function 
)
inline

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 .0

Parameters
[in]objectThe object to call.
[in]functionThe member function to call.
Returns
a newly allocated Callback object, ownership transferred to caller

Definition at line 1739 of file callback.h.

template<class T , class Base >
CallbackBase* Dali::MakeCallback ( T *  object,
void(Base::*)(void)  function 
)
inline

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

requires the function to be member of the same class .0

Parameters
[in]objectThe object to call.
[in]functionThe member function to call.
Returns
a newly allocated Callback object, ownership transferred to caller

Definition at line 1754 of file callback.h.

template<class T , class Base >
CallbackBase* Dali::MakeCallback ( T &  object,
void(Base::*)(void)  function 
)
inline

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

requires the function to be member of the same class .0

Parameters
[in]objectThe object to call.
[in]functionThe member function to call.
Returns
a newly allocated Callback object, ownership transferred to caller

Definition at line 1768 of file callback.h.

bool Dali::operator== ( const CallbackBase &  lhs,
const CallbackBase &  rhs 
)

Non-member equality operator .0.

Definition at line 92 of file callback.cpp.

References Dali::CallbackBase::mFunction, Dali::CallbackBase::mImpl, and Dali::CallbackBase::Impl::mObjectPointer.

Dali Docs Home
Read more about Dali