Dali 3D User Interface Engine
List of all members | Public Member Functions | Private Member Functions | Private Attributes
Dali::Internal::SceneGraph::SceneControllerImpl Class Reference

concrete implementation of the scene controller interface More...

#include <scene-controller-impl.h>

Inheritance diagram for Dali::Internal::SceneGraph::SceneControllerImpl:
Inheritance graph
[legend]
Collaboration diagram for Dali::Internal::SceneGraph::SceneControllerImpl:
Collaboration graph
[legend]

Public Member Functions

 SceneControllerImpl (RenderMessageDispatcher &renderMessageDispatcher, RenderQueue &renderQueue, DiscardQueue &discardQueue, TextureCache &textureCache)
 Constructor. More...
 
virtual ~SceneControllerImpl ()
 Destructor. More...
 
virtual RenderMessageDispatcherGetRenderMessageDispatcher ()
 Return the render message dispatcher. More...
 
virtual RenderQueueGetRenderQueue ()
 Return the render queue. More...
 
virtual DiscardQueueGetDiscardQueue ()
 Return the discard queue. More...
 
virtual TextureCacheGetTextureCache ()
 Return the texture cache TODO: Remove this method when renderer's & shader's second stage initialization is done by RenderManager rather than by the attachments in the Update thread. More...
 
- Public Member Functions inherited from Dali::Internal::SceneGraph::SceneController
 SceneController ()
 Constructor. More...
 
virtual ~SceneController ()
 Destructor. More...
 

Private Member Functions

 SceneControllerImpl (const SceneControllerImpl &)
 
SceneControllerImploperator= (const SceneControllerImpl &)
 

Private Attributes

RenderMessageDispatchermRenderMessageDispatcher
 Used for passing messages to the render-thread. More...
 
RenderQueuemRenderQueue
 render queue More...
 
DiscardQueuemDiscardQueue
 discard queue More...
 
TextureCachemTextureCache
 texture cache More...
 

Detailed Description

concrete implementation of the scene controller interface

Definition at line 36 of file scene-controller-impl.h.

Constructor & Destructor Documentation

Dali::Internal::SceneGraph::SceneControllerImpl::SceneControllerImpl ( RenderMessageDispatcher renderMessageDispatcher,
RenderQueue renderQueue,
DiscardQueue discardQueue,
TextureCache textureCache 
)

Constructor.

Parameters
[in]rendererDispatcherUsed for passing ownership of renderers to the render-thread.
[in]renderQueueThe renderQueue
[in]discardQueueThe discardQueue
[in]textureCache

Definition at line 32 of file scene-controller-impl.cpp.

Dali::Internal::SceneGraph::SceneControllerImpl::~SceneControllerImpl ( )
virtual

Destructor.

Definition at line 43 of file scene-controller-impl.cpp.

Dali::Internal::SceneGraph::SceneControllerImpl::SceneControllerImpl ( const SceneControllerImpl )
private

Member Function Documentation

virtual DiscardQueue& Dali::Internal::SceneGraph::SceneControllerImpl::GetDiscardQueue ( )
inlinevirtual

Return the discard queue.

Returns
A reference to the discard queue

Implements Dali::Internal::SceneGraph::SceneController.

Definition at line 73 of file scene-controller-impl.h.

References mDiscardQueue.

virtual RenderMessageDispatcher& Dali::Internal::SceneGraph::SceneControllerImpl::GetRenderMessageDispatcher ( )
inlinevirtual

Return the render message dispatcher.

Returns
A reference to the render message dispatcher

Implements Dali::Internal::SceneGraph::SceneController.

Definition at line 63 of file scene-controller-impl.h.

References mRenderMessageDispatcher.

virtual RenderQueue& Dali::Internal::SceneGraph::SceneControllerImpl::GetRenderQueue ( )
inlinevirtual

Return the render queue.

Returns
A reference to the render queue

Implements Dali::Internal::SceneGraph::SceneController.

Definition at line 68 of file scene-controller-impl.h.

References mRenderQueue.

virtual TextureCache& Dali::Internal::SceneGraph::SceneControllerImpl::GetTextureCache ( )
inlinevirtual

Return the texture cache TODO: Remove this method when renderer's & shader's second stage initialization is done by RenderManager rather than by the attachments in the Update thread.

DO NOT USE THIS IN THE UPDATE THREAD!

Returns
A reference to the texture cache

Implements Dali::Internal::SceneGraph::SceneController.

Definition at line 78 of file scene-controller-impl.h.

References mTextureCache.

Referenced by Dali::Internal::SceneGraph::UpdateManager::AddShader().

Here is the caller graph for this function:

SceneControllerImpl& Dali::Internal::SceneGraph::SceneControllerImpl::operator= ( const SceneControllerImpl )
private

Member Data Documentation

DiscardQueue& Dali::Internal::SceneGraph::SceneControllerImpl::mDiscardQueue
private

discard queue

Definition at line 92 of file scene-controller-impl.h.

Referenced by GetDiscardQueue().

RenderMessageDispatcher& Dali::Internal::SceneGraph::SceneControllerImpl::mRenderMessageDispatcher
private

Used for passing messages to the render-thread.

Definition at line 90 of file scene-controller-impl.h.

Referenced by GetRenderMessageDispatcher().

RenderQueue& Dali::Internal::SceneGraph::SceneControllerImpl::mRenderQueue
private

render queue

Definition at line 91 of file scene-controller-impl.h.

Referenced by GetRenderQueue().

TextureCache& Dali::Internal::SceneGraph::SceneControllerImpl::mTextureCache
private

texture cache

Definition at line 93 of file scene-controller-impl.h.

Referenced by GetTextureCache().


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