[ATSPI] Add more descriptions to Bridge objects
[platform/core/uifw/dali-adaptor.git] / dali / internal / accessibility / bridge / bridge-value.h
1 #ifndef DALI_INTERNAL_ACCESSIBILITY_BRIDGE_VALUE_H
2 #define DALI_INTERNAL_ACCESSIBILITY_BRIDGE_VALUE_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 // EXTERNAL INCLUDES
22 #include <array>
23 #include <string>
24 #include <tuple>
25 #include <unordered_map>
26 #include <vector>
27
28 // INTERNAL INCLUDES
29 #include <dali/internal/accessibility/bridge/bridge-base.h>
30
31 /**
32  * @brief The BridgeValue class is to correspond with Dali::Accessibility::Value.
33  */
34 class BridgeValue : public virtual BridgeBase
35 {
36 protected:
37   /**
38    * @brief Constructor.
39    */
40   BridgeValue();
41
42   /**
43    * @brief Registers Value functions to dbus interfaces.
44    */
45   void RegisterInterfaces();
46
47   /**
48    * @brief Returns Value Action object of the currently executed DBus method call.
49    *
50    * @return The Value object
51    */
52   Dali::Accessibility::Value* FindSelf() const;
53
54 public:
55   /**
56    * @copydoc Dali::Accessibility::Value::GetCurrent()
57    */
58   double GetCurrentValue();
59
60   /**
61    * @copydoc Dali::Accessibility::Value::SetCurrent()
62    */
63   void SetCurrentValue(double newValue);
64
65   /**
66    * @copydoc Dali::Accessibility::Value::GetMaximum()
67    */
68   double GetMaximumValue();
69
70   /**
71    * @copydoc Dali::Accessibility::Value::GetMinimumIncrement()
72    */
73   double GetMinimumIncrement();
74
75   /**
76    * @copydoc Dali::Accessibility::Value::GetMinimum()
77    */
78   double GetMinimumValue();
79 };
80
81 #endif // DALI_INTERNAL_ACCESSIBILITY_BRIDGE_VALUE_H