Dali 3D User Interface Engine
List of all members | Public Member Functions | Public Attributes
Dali::Integration::UpdateStatus Class Reference

The status of the Core::Update operation. More...

#include <core.h>

Public Member Functions

 UpdateStatus ()
 Constructor. More...
 
unsigned int KeepUpdating ()
 Query whether the Core has further frames to update & render e.g. More...
 
bool NeedsNotification ()
 Query whether the Core requires an Notification event. More...
 
float SecondsFromLastFrame ()
 This method is provided so that FPS can be easily calculated with a release version of Core. More...
 

Public Attributes

unsigned int keepUpdating
 A bitmask of KeepUpdating values. More...
 
bool needsNotification
 
float secondsFromLastFrame
 

Detailed Description

The status of the Core::Update operation.

Definition at line 68 of file core.h.

Constructor & Destructor Documentation

Dali::Integration::UpdateStatus::UpdateStatus ( )
inline

Constructor.

Definition at line 75 of file core.h.

Member Function Documentation

unsigned int Dali::Integration::UpdateStatus::KeepUpdating ( )
inline

Query whether the Core has further frames to update & render e.g.

when animations are ongoing.

Returns
A bitmask of KeepUpdating values

Definition at line 88 of file core.h.

References keepUpdating.

Referenced by Dali::TestApplication::GetUpdateStatus(), Dali::TestApplication::Render(), Dali::Internal::Adaptor::UpdateThread::Run(), Dali::TestApplication::UpdateOnly(), Dali::Internal::Adaptor::SingleThreadController::UpdateRender(), and Dali::Internal::Adaptor::CombinedUpdateRenderController::UpdateRenderThread().

Here is the caller graph for this function:

bool Dali::Integration::UpdateStatus::NeedsNotification ( )
inline

Query whether the Core requires an Notification event.

This should be sent through the same mechanism (e.g. event loop) as input events.

Returns
True if an Notification event should be sent.

Definition at line 95 of file core.h.

References needsNotification.

Referenced by Dali::Internal::Adaptor::UpdateThread::Run(), and Dali::Internal::Adaptor::CombinedUpdateRenderController::UpdateRenderThread().

Here is the caller graph for this function:

float Dali::Integration::UpdateStatus::SecondsFromLastFrame ( )
inline

This method is provided so that FPS can be easily calculated with a release version of Core.

Returns
the seconds from last frame as float

Definition at line 102 of file core.h.

References secondsFromLastFrame.

Referenced by Dali::Internal::Adaptor::UpdateThread::Run().

Here is the caller graph for this function:

Member Data Documentation

unsigned int Dali::Integration::UpdateStatus::keepUpdating

A bitmask of KeepUpdating values.

Definition at line 106 of file core.h.

Referenced by Dali::TestApplication::Initialize(), and KeepUpdating().

bool Dali::Integration::UpdateStatus::needsNotification

Definition at line 107 of file core.h.

Referenced by NeedsNotification().

float Dali::Integration::UpdateStatus::secondsFromLastFrame

Definition at line 108 of file core.h.

Referenced by SecondsFromLastFrame().


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