Merge "atspi: remove undefined method" into devel/master
[platform/core/uifw/dali-adaptor.git] / dali / internal / system / common / 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) 2021 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 namespace Internal
24 {
25 namespace Adaptor
26 {
27 /**
28  * @brief  Abstract interface used to log statistics data
29  */
30 class StatContextLogInterface
31 {
32 public:
33   /**
34    * @brief Used to log statistics out
35    * @param[in] text log the text
36    */
37   virtual void LogContextStatistics(const char* const text) = 0;
38
39 protected:
40   /**
41    * @brief  Constructor
42    */
43   StatContextLogInterface()
44   {
45   }
46
47   /**
48    * @brief Virtual Destructor
49    */
50   virtual ~StatContextLogInterface()
51   {
52   }
53
54 private:
55   // Undefined copy constructor.
56   StatContextLogInterface(const StatContextLogInterface&);
57
58   // Undefined assignment operator.
59   StatContextLogInterface& operator=(const StatContextLogInterface&);
60 };
61
62 } // namespace Adaptor
63
64 } // namespace Internal
65
66 } // namespace Dali
67
68 #endif // DALI_INTERNAL_ADAPTOR_STATISTICS_STAT_CONTEXT_LOG_INTERFACE_H