Dali 3D User Interface Engine
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
Dali::Internal::Adaptor::LifecycleController Class Reference

This provides signals that are emitted according the lifecylce of the program. More...

#include <lifecycle-controller-impl.h>

Inheritance diagram for Dali::Internal::Adaptor::LifecycleController:
Inheritance graph
[legend]
Collaboration diagram for Dali::Internal::Adaptor::LifecycleController:
Collaboration graph
[legend]

Public Member Functions

 LifecycleController ()
 Constructor. More...
 
Dali::LifecycleController::LifecycleSignalType & InitSignal ()
  More...
 
Dali::LifecycleController::LifecycleSignalType & TerminateSignal ()
  More...
 
Dali::LifecycleController::LifecycleSignalType & PauseSignal ()
  More...
 
Dali::LifecycleController::LifecycleSignalType & ResumeSignal ()
  More...
 
Dali::LifecycleController::LifecycleSignalType & ResetSignal ()
  More...
 
Dali::LifecycleController::LifecycleSignalType & ResizeSignal ()
  More...
 
Dali::LifecycleController::LifecycleSignalType & LanguageChangedSignal ()
 Dali::VirtualKeyboard::LanguageChangedSignal() More...
 
void OnInit (Dali::Application &app)
 Called when the framework is initialised. More...
 
void OnTerminate (Dali::Application &app)
 Called when the framework is terminated. More...
 
void OnPause (Dali::Application &app)
 Called when the framework is paused. More...
 
void OnResume (Dali::Application &app)
 Called when the framework resumes from a paused state. More...
 
void OnReset (Dali::Application &app)
 Called when the framework informs the application that it should reset itself. More...
 
void OnLanguageChanged (Dali::Application &app)
 Called when the framework informs the application that the language of the device has changed. More...
 
void OnResize (Dali::Application &app)
 Signal handler when the adaptor's window resizes itself. More...
 
- Public Member Functions inherited from Dali::BaseObject
template<class T >
bool ConnectSignal (ConnectionTrackerInterface *connectionTracker, const std::string &signalName, const T &functor)
 Connects a void() functor to a specified signal. More...
 
bool DoAction (const std::string &actionName, const Property::Map &attributes)
 Perform action on this object with the given action name and attributes. More...
 
const std::string & GetTypeName () const
 Returns the type name for the Handle. More...
 
bool GetTypeInfo (Dali::TypeInfo &info) const
 Returns the type info for the Handle. More...
 
bool DoConnectSignal (ConnectionTrackerInterface *connectionTracker, const std::string &signalName, FunctorDelegate *functorDelegate)
 Not intended for application developers. More...
 
- Public Member Functions inherited from Dali::RefObject
void Reference ()
 Increment the object's reference count. More...
 
void Unreference ()
 Decrement the object's reference count. More...
 
int ReferenceCount ()
 Retrieve the object's reference count. More...
 
- Public Member Functions inherited from Dali::ConnectionTracker
 ConnectionTracker ()
 Constructor. More...
 
virtual ~ConnectionTracker ()
 Virtual destructor. More...
 
void DisconnectAll ()
 Disconnect all signals from this object. More...
 
virtual void SignalConnected (SlotObserver *slotObserver, CallbackBase *callback)
 Called when a signal is connected. More...
 
virtual void SignalDisconnected (SlotObserver *slotObserver, CallbackBase *callback)
 This method is called when the signal is disconnecting. More...
 
std::size_t GetConnectionCount () const
 returns the connection count .0 More...
 
- Public Member Functions inherited from Dali::ConnectionTrackerInterface
 ConnectionTrackerInterface ()
 Constructor. More...
 
virtual ~ConnectionTrackerInterface ()
 Virtual destructor. More...
 
- Public Member Functions inherited from Dali::SignalObserver
 SignalObserver ()
 Constructor. More...
 
virtual ~SignalObserver ()
 Virtual destructor. More...
 

Static Public Member Functions

static Dali::LifecycleController Get ()
 Retrieve the initialized instance of the LifecycleController. More...
 

Protected Member Functions

virtual ~LifecycleController ()
 Virtual Destructor. More...
 
- Protected Member Functions inherited from Dali::BaseObject
 BaseObject ()
 Default constructor. More...
 
virtual ~BaseObject ()
 A reference counted object may only be deleted by calling Unreference(). More...
 
void RegisterObject ()
 Registers the object as created with the Object registry. More...
 
void UnregisterObject ()
 Unregisters the object from Object registry. More...
 
- Protected Member Functions inherited from Dali::RefObject
 RefObject ()
 Default constructor. More...
 
virtual ~RefObject ()
 RefObject is intended as a base class. More...
 
 RefObject (const RefObject &rhs)
 Copy constructor. More...
 
RefObjectoperator= (const RefObject &rhs)
 Assignment operator. More...
 

Private Member Functions

void EmitInitSignal ()
 Emit the init signal. More...
 
void EmitTerminateSignal ()
 Emit the init signal. More...
 
void EmitPauseSignal ()
 Emit the init signal. More...
 
void EmitResumeSignal ()
 Emit the init signal. More...
 
void EmitResetSignal ()
 Emit the init signal. More...
 
void EmitResizeSignal ()
 Emit the init signal. More...
 
void EmitLanguageChangedSignal ()
 Emit the init signal. More...
 

Private Attributes

Dali::LifecycleController::LifecycleSignalType mInitSignal
 
Dali::LifecycleController::LifecycleSignalType mTerminateSignal
 
Dali::LifecycleController::LifecycleSignalType mPauseSignal
 
Dali::LifecycleController::LifecycleSignalType mResumeSignal
 
Dali::LifecycleController::LifecycleSignalType mResetSignal
 
Dali::LifecycleController::LifecycleSignalType mResizeSignal
 
Dali::LifecycleController::LifecycleSignalType mLanguageChangedSignal
 

Detailed Description

This provides signals that are emitted according the lifecylce of the program.

Definition at line 43 of file lifecycle-controller-impl.h.

Constructor & Destructor Documentation

Dali::Internal::Adaptor::LifecycleController::LifecycleController ( )

Constructor.

Definition at line 61 of file lifecycle-controller-impl.cpp.

Referenced by Get().

Here is the caller graph for this function:

Dali::Internal::Adaptor::LifecycleController::~LifecycleController ( )
protectedvirtual

Virtual Destructor.

Definition at line 65 of file lifecycle-controller-impl.cpp.

Member Function Documentation

void Dali::Internal::Adaptor::LifecycleController::EmitInitSignal ( )
private

Emit the init signal.

Definition at line 74 of file lifecycle-controller-impl.cpp.

References mInitSignal.

Referenced by OnInit().

Here is the caller graph for this function:

void Dali::Internal::Adaptor::LifecycleController::EmitLanguageChangedSignal ( )
private

Emit the init signal.

Definition at line 152 of file lifecycle-controller-impl.cpp.

References mLanguageChangedSignal.

Referenced by OnLanguageChanged().

Here is the caller graph for this function:

void Dali::Internal::Adaptor::LifecycleController::EmitPauseSignal ( )
private

Emit the init signal.

Definition at line 100 of file lifecycle-controller-impl.cpp.

References mPauseSignal.

Referenced by OnPause().

Here is the caller graph for this function:

void Dali::Internal::Adaptor::LifecycleController::EmitResetSignal ( )
private

Emit the init signal.

Definition at line 126 of file lifecycle-controller-impl.cpp.

References mResetSignal.

Referenced by OnReset().

Here is the caller graph for this function:

void Dali::Internal::Adaptor::LifecycleController::EmitResizeSignal ( )
private

Emit the init signal.

Definition at line 139 of file lifecycle-controller-impl.cpp.

References mResizeSignal.

Referenced by OnResize().

Here is the caller graph for this function:

void Dali::Internal::Adaptor::LifecycleController::EmitResumeSignal ( )
private

Emit the init signal.

Definition at line 113 of file lifecycle-controller-impl.cpp.

References mResumeSignal.

Referenced by OnResume().

Here is the caller graph for this function:

void Dali::Internal::Adaptor::LifecycleController::EmitTerminateSignal ( )
private

Emit the init signal.

Definition at line 87 of file lifecycle-controller-impl.cpp.

References mTerminateSignal.

Referenced by OnTerminate().

Here is the caller graph for this function:

Dali::LifecycleController Dali::Internal::Adaptor::LifecycleController::Get ( )
static
Dali::LifecycleController::LifecycleSignalType & Dali::Internal::Adaptor::LifecycleController::InitSignal ( )

Definition at line 69 of file lifecycle-controller-impl.cpp.

References mInitSignal.

Dali::LifecycleController::LifecycleSignalType & Dali::Internal::Adaptor::LifecycleController::LanguageChangedSignal ( )
void Dali::Internal::Adaptor::LifecycleController::OnInit ( Dali::Application app)

Called when the framework is initialised.

Parameters
[in]appThe application instance

Definition at line 160 of file lifecycle-controller-impl.cpp.

References EmitInitSignal().

Referenced by Dali::Internal::Adaptor::Application::OnInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::Adaptor::LifecycleController::OnLanguageChanged ( Dali::Application app)

Called when the framework informs the application that the language of the device has changed.

Parameters
[in]appThe application instance

Definition at line 185 of file lifecycle-controller-impl.cpp.

References EmitLanguageChangedSignal().

Referenced by Dali::Internal::Adaptor::Application::OnInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::Adaptor::LifecycleController::OnPause ( Dali::Application app)

Called when the framework is paused.

Parameters
[in]appThe application instance

Definition at line 170 of file lifecycle-controller-impl.cpp.

References EmitPauseSignal().

Referenced by Dali::Internal::Adaptor::Application::OnInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::Adaptor::LifecycleController::OnReset ( Dali::Application app)

Called when the framework informs the application that it should reset itself.

Parameters
[in]appThe application instance

Definition at line 180 of file lifecycle-controller-impl.cpp.

References EmitResetSignal().

Referenced by Dali::Internal::Adaptor::Application::OnInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::Adaptor::LifecycleController::OnResize ( Dali::Application app)

Signal handler when the adaptor's window resizes itself.

Parameters
[in]appThe application instance

Definition at line 190 of file lifecycle-controller-impl.cpp.

References EmitResizeSignal().

Referenced by Dali::Internal::Adaptor::Application::OnInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::Adaptor::LifecycleController::OnResume ( Dali::Application app)

Called when the framework resumes from a paused state.

Parameters
[in]appThe application instance

Definition at line 175 of file lifecycle-controller-impl.cpp.

References EmitResumeSignal().

Referenced by Dali::Internal::Adaptor::Application::OnInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::Adaptor::LifecycleController::OnTerminate ( Dali::Application app)

Called when the framework is terminated.

Parameters
[in]appThe application instance

Definition at line 165 of file lifecycle-controller-impl.cpp.

References EmitTerminateSignal().

Referenced by Dali::Internal::Adaptor::Application::OnInit().

Here is the call graph for this function:

Here is the caller graph for this function:

Dali::LifecycleController::LifecycleSignalType & Dali::Internal::Adaptor::LifecycleController::PauseSignal ( )

Definition at line 95 of file lifecycle-controller-impl.cpp.

References mPauseSignal.

Dali::LifecycleController::LifecycleSignalType & Dali::Internal::Adaptor::LifecycleController::ResetSignal ( )

Definition at line 121 of file lifecycle-controller-impl.cpp.

References mResetSignal.

Dali::LifecycleController::LifecycleSignalType & Dali::Internal::Adaptor::LifecycleController::ResizeSignal ( )

Definition at line 134 of file lifecycle-controller-impl.cpp.

References mResizeSignal.

Dali::LifecycleController::LifecycleSignalType & Dali::Internal::Adaptor::LifecycleController::ResumeSignal ( )

Definition at line 108 of file lifecycle-controller-impl.cpp.

References mResumeSignal.

Dali::LifecycleController::LifecycleSignalType & Dali::Internal::Adaptor::LifecycleController::TerminateSignal ( )

Definition at line 82 of file lifecycle-controller-impl.cpp.

References mTerminateSignal.

Member Data Documentation

Dali::LifecycleController::LifecycleSignalType Dali::Internal::Adaptor::LifecycleController::mInitSignal
private

Definition at line 195 of file lifecycle-controller-impl.h.

Referenced by EmitInitSignal(), and InitSignal().

Dali::LifecycleController::LifecycleSignalType Dali::Internal::Adaptor::LifecycleController::mLanguageChangedSignal
private
Dali::LifecycleController::LifecycleSignalType Dali::Internal::Adaptor::LifecycleController::mPauseSignal
private

Definition at line 197 of file lifecycle-controller-impl.h.

Referenced by EmitPauseSignal(), and PauseSignal().

Dali::LifecycleController::LifecycleSignalType Dali::Internal::Adaptor::LifecycleController::mResetSignal
private

Definition at line 199 of file lifecycle-controller-impl.h.

Referenced by EmitResetSignal(), and ResetSignal().

Dali::LifecycleController::LifecycleSignalType Dali::Internal::Adaptor::LifecycleController::mResizeSignal
private

Definition at line 200 of file lifecycle-controller-impl.h.

Referenced by EmitResizeSignal(), and ResizeSignal().

Dali::LifecycleController::LifecycleSignalType Dali::Internal::Adaptor::LifecycleController::mResumeSignal
private

Definition at line 198 of file lifecycle-controller-impl.h.

Referenced by EmitResumeSignal(), and ResumeSignal().

Dali::LifecycleController::LifecycleSignalType Dali::Internal::Adaptor::LifecycleController::mTerminateSignal
private

Definition at line 196 of file lifecycle-controller-impl.h.

Referenced by EmitTerminateSignal(), and TerminateSignal().


The documentation for this class was generated from the following files:
Dali Docs Home
Read more about Dali