2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 * @author Karol Majewski (k.majewski@samsung.com)
22 #ifndef WRTDEVICEAPIS_CAMERA_API_ICAMERAFEATURE_H_
23 #define WRTDEVICEAPIS_CAMERA_API_ICAMERAFEATURE_H_
26 #include "IFeatureValue.h"
28 namespace WrtDeviceApis {
36 //camera feature is represented by an interval.
37 FEATURETYPE_INTERVAL = 0,
38 //camera feature is represented binary.
39 FEATURETYPE_BINARY = 1,
40 //camera feature is represented by an enumeration.
41 FEATURETYPE_ENUMERATION = 2
45 //A optional description of the feature.
46 std::string m_description;
48 //The unique feature identifier.
51 //The type of the camera feature.
54 //The current value of the camera feature.
55 IFeatureValue m_value;
57 //The default value of the camera feature.
58 IFeatureValue m_default;
60 //A set of feature values that represents the allowed feature configurations
61 //IFeatureValue *m_possibleValues;
65 virtual ~ICameraFeature();
71 #endif /* WRTPLUGINSICAMERAFEATURE_H_ */