Merge "Clean up the code to build successfully on macOS" into devel/master
[platform/core/uifw/dali-core.git] / dali / internal / update / controllers / scene-controller.h
1 #ifndef DALI_INTERNAL_SCENE_GRAPH_SCENE_CONTROLLER_H
2 #define DALI_INTERNAL_SCENE_GRAPH_SCENE_CONTROLLER_H
3
4 /*
5  * Copyright (c) 2019 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20
21 namespace Dali
22 {
23
24 namespace Internal
25 {
26
27 namespace SceneGraph
28 {
29
30 class RenderMessageDispatcher;
31 class RenderQueue;
32 class DiscardQueue;
33
34 /**
35  * Abstract interface for the scene controller
36  */
37 class SceneController
38 {
39 public:
40
41   /**
42    * Constructor
43    */
44   SceneController() = default;
45
46   /**
47    * Destructor
48    */
49   virtual ~SceneController() = default;
50
51   /**
52    * Return the render message dispatcher
53    * @return A reference to the render message dispatcher
54    */
55   virtual RenderMessageDispatcher& GetRenderMessageDispatcher() = 0;
56
57   /**
58    * Return the render queue
59    * @return A reference to the render queue
60    */
61   virtual RenderQueue& GetRenderQueue() = 0;
62
63   /**
64    * Return the discard queue
65    * @return A reference to the discard queue
66    */
67   virtual DiscardQueue& GetDiscardQueue() = 0;
68
69 private:
70
71   // Undefined copy constructor.
72   SceneController( const SceneController& );
73
74   // Undefined assignment operator.
75   SceneController& operator=( const SceneController& );
76 };
77
78 } // namespace SceneGraph
79
80 } // namespace Internal
81
82 } // namespace Dali
83
84 #endif // DALI_INTERNAL_SCENE_GRAPH_SCENE_CONTROLLER_H