Dali 3D User Interface Engine
environment-options.h
Go to the documentation of this file.
1 #ifndef __DALI_INTERNAL_ADAPTOR_ENVIRONMENT_OPTIONS_H__
2 #define __DALI_INTERNAL_ADAPTOR_ENVIRONMENT_OPTIONS_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 // EXTERNAL INCLUDES
23 
24 // INTERNAL INCLUDES
25 #include <base/threading-mode.h>
26 
27 namespace Dali
28 {
29 namespace Internal
30 {
31 namespace Adaptor
32 {
33 
40 {
41 
42 public:
43 
48 
53 
57  void SetLogFunction( const Dali::Integration::Log::LogFunction& logFunction );
58 
62  void InstallLogFunction() const;
63 
67  void UnInstallLogFunction() const;
68 
72  unsigned int GetNetworkControlMode() const;
73 
77  unsigned int GetFrameRateLoggingFrequency() const;
78 
82  unsigned int GetUpdateStatusLoggingFrequency() const;
83 
87  unsigned int GetObjectProfilerInterval() const;
88 
92  unsigned int GetPerformanceStatsLoggingOptions() const;
93 
97  unsigned int GetPerformanceStatsLoggingFrequency() const;
98 
102  unsigned int GetPerformanceTimeStampOutput() const;
103 
107  unsigned int GetPanGestureLoggingLevel() const;
108 
112  int GetPanGesturePredictionMode() const;
113 
117  int GetPanGesturePredictionAmount() const;
118 
123 
128 
140 
144  int GetPanGestureSmoothingMode() const;
145 
149  float GetPanGestureSmoothingAmount() const;
150 
154  int GetMinimumPanDistance() const;
155 
159  int GetMinimumPanEvents() const;
160 
164  unsigned int GetWindowWidth() const;
165 
169  unsigned int GetWindowHeight() const;
170 
174  int GetGlesCallTime() const;
175 
179  bool PerformanceServerRequired() const;
180 
184  const std::string& GetWindowName() const;
185 
189  const std::string& GetWindowClassName() const;
190 
195 
199  unsigned int GetRenderRefreshRate() const;
200 
201 private: // Internal
202 
208 
209 private: // Data
210 
211  std::string mWindowName;
212  std::string mWindowClassName;
213  unsigned int mNetworkControl;
214  unsigned int mFpsFrequency;
215  unsigned int mUpdateStatusFrequency;
216  unsigned int mObjectProfilerInterval;
217  unsigned int mPerformanceStatsLevel;
220  unsigned int mPanGestureLoggingLevel;
231  unsigned int mWindowWidth;
232  unsigned int mWindowHeight;
234  unsigned int mRenderRefreshRate;
235 
237 
238  // Undefined copy constructor.
240 
241  // Undefined assignment operator.
243 
244 };
245 
246 } // Adaptor
247 } // Internal
248 } // Dali
249 
250 #endif // __DALI_INTERNAL_ADAPTOR_ENVIRONMENT_OPTIONS_H__
Dali Docs Home
Read more about Dali