Dali 3D User Interface Engine
thread-local-storage.h
Go to the documentation of this file.
1 #ifndef __DALI_INTERNAL_THREAD_LOCAL_STORAGE_H__
2 #define __DALI_INTERNAL_THREAD_LOCAL_STORAGE_H__
3 
4 /*
5  * Copyright (c) 2015 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 // INTERNAL INCLUDES
23 
24 namespace Dali
25 {
26 
27 struct Vector2;
28 
29 namespace Integration
30 {
31 class PlatformAbstraction;
32 }
33 
34 namespace Internal
35 {
36 
37 class Core;
38 class NotificationManager;
39 class ResourceClient;
40 class ResourceManager;
41 class ImageFactory;
42 class ShaderFactory;
43 class GestureEventProcessor;
44 class RelayoutController;
45 
46 namespace SceneGraph
47 {
48 class UpdateManager;
49 }
50 
56 {
57 public:
58 
64  ThreadLocalStorage(Core* core);
65 
70 
75  void Remove();
76 
81  static ThreadLocalStorage& Get();
82 
87  static bool Created();
88 
94 
100 
106 
112 
118 
124 
130 
136 
142 
148 
154 
155 private:
156 
158 
159 };
160 
161 } // namespace Internal
162 
163 } // namespace Dali
164 
165 #endif // __DALI_INTERNAL_THREAD_LOCAL_STORAGE_H__
Dali Docs Home
Read more about Dali