Clean up the code to build successfully on macOS
[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()
45   {
46   }
47
48   /**
49    * Destructor
50    */
51   virtual ~SceneController()
52   {
53   }
54
55   /**
56    * Return the render message dispatcher
57    * @return A reference to the render message dispatcher
58    */
59   virtual RenderMessageDispatcher& GetRenderMessageDispatcher() = 0;
60
61   /**
62    * Return the render queue
63    * @return A reference to the render queue
64    */
65   virtual RenderQueue& GetRenderQueue() = 0;
66
67   /**
68    * Return the discard queue
69    * @return A reference to the discard queue
70    */
71   virtual DiscardQueue& GetDiscardQueue() = 0;
72
73 private:
74
75   // Undefined copy constructor.
76   SceneController( const SceneController& );
77
78   // Undefined assignment operator.
79   SceneController& operator=( const SceneController& );
80 };
81
82 } // namespace SceneGraph
83
84 } // namespace Internal
85
86 } // namespace Dali
87
88 #endif // DALI_INTERNAL_SCENE_GRAPH_SCENE_CONTROLLER_H