c8e9409076b1d3600a3302af551a4441eb602db6
[platform/core/uifw/dali-adaptor.git] / adaptors / base / performance-logging / statistics / stat-context-log-interface.h
1 #ifndef __DALI_INTERNAL_ADAPTOR_STATISTICS_STAT_CONTEXT_LOG_INTERFACE_H__
2 #define __DALI_INTERNAL_ADAPTOR_STATISTICS_STAT_CONTEXT_LOG_INTERFACE_H__
3
4 /*
5  * Copyright (c) 2014 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 Adaptor
28 {
29
30 /**
31  * @brief  Abstract interface used to log statistics data
32  */
33 class StatContextLogInterface
34 {
35 public:
36
37   /**
38    * @brief Used to log statistics out
39    * @param[in] text log the text
40    */
41   virtual void LogContextStatistics( const char* const text) = 0;
42
43
44 protected:
45
46   /**
47    * @brief  Constructor
48    */
49   StatContextLogInterface()
50   {
51   }
52
53   /**
54    * @brief Virtual Destructor
55    */
56   virtual ~StatContextLogInterface()
57   {
58   }
59
60 private:
61
62   // Undefined copy constructor.
63   StatContextLogInterface( const StatContextLogInterface& );
64
65   // Undefined assignment operator.
66   StatContextLogInterface& operator=( const StatContextLogInterface& );
67
68 };
69
70
71 } // namespace Internal
72
73 } // namespace Adaptor
74
75 } // namespace Dali
76
77 #endif // __DALI_INTERNAL_ADAPTOR_STATISTICS_STAT_CONTEXT_LOG_INTERFACE_H__