Dali 3D User Interface Engine
List of all members | Public Member Functions | Public Attributes
Dali::Internal::Update::MessageQueue::Impl Struct Reference

Private MessageQueue data. More...

Collaboration diagram for Dali::Internal::Update::MessageQueue::Impl:
Collaboration graph
[legend]

Public Member Functions

 Impl (RenderController &controller, const SceneGraphBuffers &buffers)
 
 ~Impl ()
 
void DeleteBufferContents (MessageBuffer *buffer)
 

Public Attributes

RenderControllerrenderController
 render controller More...
 
const SceneGraphBufferssceneGraphBuffers
 Used to keep track of which buffers are being written or read. More...
 
bool processingEvents
 Whether messages queued will be flushed by core. More...
 
bool queueWasEmpty
 Flag whether the queue was empty during the Update() More...
 
bool sceneUpdateFlag
 true when there is a new message that requires a scene-graph node tree update More...
 
int sceneUpdate
 Non zero when there is a message in the queue requiring a scene-graph node tree update. More...
 
MessageQueueMutex queueMutex
 queueMutex must be locked whilst accessing processQueue or recycleQueue More...
 
MessageBufferQueue processQueue
 to process in the next update More...
 
MessageBufferQueue recycleQueue
 to recycle MessageBuffers after the messages have been processed More...
 
MessageBuffercurrentMessageBuffer
 can be used without locking More...
 
MessageBufferQueue freeQueue
 buffers from the recycleQueue; can be used without locking More...
 

Detailed Description

Private MessageQueue data.

Definition at line 63 of file update-message-queue.cpp.

Constructor & Destructor Documentation

Dali::Internal::Update::MessageQueue::Impl::Impl ( RenderController controller,
const SceneGraphBuffers buffers 
)
inline

Definition at line 65 of file update-message-queue.cpp.

Dali::Internal::Update::MessageQueue::Impl::~Impl ( )
inline

Definition at line 76 of file update-message-queue.cpp.

References currentMessageBuffer, DeleteBufferContents(), freeQueue, processQueue, and recycleQueue.

Here is the call graph for this function:

Member Function Documentation

void Dali::Internal::Update::MessageQueue::Impl::DeleteBufferContents ( MessageBuffer buffer)
inline

Definition at line 108 of file update-message-queue.cpp.

References Dali::Internal::MessageBuffer::Begin(), Dali::Internal::MessageBuffer::Iterator::IsValid(), and Dali::Internal::MessageBase::~MessageBase().

Referenced by ~Impl().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

MessageBuffer* Dali::Internal::Update::MessageQueue::Impl::currentMessageBuffer
MessageBufferQueue Dali::Internal::Update::MessageQueue::Impl::freeQueue

buffers from the recycleQueue; can be used without locking

Definition at line 132 of file update-message-queue.cpp.

Referenced by Dali::Internal::Update::MessageQueue::FlushQueue(), Dali::Internal::Update::MessageQueue::ReserveMessageSlot(), and ~Impl().

bool Dali::Internal::Update::MessageQueue::Impl::processingEvents
MessageBufferQueue Dali::Internal::Update::MessageQueue::Impl::processQueue
MessageQueueMutex Dali::Internal::Update::MessageQueue::Impl::queueMutex

queueMutex must be locked whilst accessing processQueue or recycleQueue

Definition at line 127 of file update-message-queue.cpp.

Referenced by Dali::Internal::Update::MessageQueue::FlushQueue(), and Dali::Internal::Update::MessageQueue::ProcessMessages().

bool Dali::Internal::Update::MessageQueue::Impl::queueWasEmpty

Flag whether the queue was empty during the Update()

Definition at line 123 of file update-message-queue.cpp.

Referenced by Dali::Internal::Update::MessageQueue::ProcessMessages(), and Dali::Internal::Update::MessageQueue::WasEmpty().

MessageBufferQueue Dali::Internal::Update::MessageQueue::Impl::recycleQueue

to recycle MessageBuffers after the messages have been processed

Definition at line 129 of file update-message-queue.cpp.

Referenced by Dali::Internal::Update::MessageQueue::FlushQueue(), Dali::Internal::Update::MessageQueue::ProcessMessages(), and ~Impl().

RenderController& Dali::Internal::Update::MessageQueue::Impl::renderController

render controller

Definition at line 119 of file update-message-queue.cpp.

Referenced by Dali::Internal::Update::MessageQueue::ReserveMessageSlot().

const SceneGraphBuffers& Dali::Internal::Update::MessageQueue::Impl::sceneGraphBuffers

Used to keep track of which buffers are being written or read.

Definition at line 120 of file update-message-queue.cpp.

int Dali::Internal::Update::MessageQueue::Impl::sceneUpdate

Non zero when there is a message in the queue requiring a scene-graph node tree update.

Definition at line 125 of file update-message-queue.cpp.

Referenced by Dali::Internal::Update::MessageQueue::FlushQueue(), Dali::Internal::Update::MessageQueue::IsSceneUpdateRequired(), and Dali::Internal::Update::MessageQueue::ProcessMessages().

bool Dali::Internal::Update::MessageQueue::Impl::sceneUpdateFlag

true when there is a new message that requires a scene-graph node tree update

Definition at line 124 of file update-message-queue.cpp.

Referenced by Dali::Internal::Update::MessageQueue::FlushQueue(), and Dali::Internal::Update::MessageQueue::ReserveMessageSlot().


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