Merge branch 'security-CKM' into 'master'
[platform/upstream/iotivity.git] / service / simulator / inc / simulator_device_info.h
1 /******************************************************************
2  *
3  * Copyright 2015 Samsung Electronics All Rights Reserved.
4  *
5  *
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 #ifndef SIMULATOR_DEVICE_INFO_H_
22 #define SIMULATOR_DEVICE_INFO_H_
23
24 #include <iostream>
25
26 /**
27  * @class   DeviceInfo
28  *
29  * @brief   This class contains remote device information and provide APIs access it.
30  */
31 class DeviceInfo
32 {
33     public:
34         DeviceInfo(const std::string &, const std::string &, const std::string &, const std::string &);
35
36         /**
37          * This method is for getting device name.
38          *
39          * @return Device name.
40          */
41         std::string getName() const;
42
43         /**
44          * This method is for getting device id.
45          *
46          * @return Device id.
47          */
48         std::string getID() const;
49
50         /**
51          * This method is for getting device specification version.
52          *
53          * @return Device id.
54          */
55         std::string getSpecVersion() const;
56
57         /**
58          * This method is for getting device data model version.
59          *
60          * @return Device data model version.
61          */
62         std::string getDataModelVersion() const;
63
64     private:
65         std::string m_name;
66         std::string m_id;
67         std::string m_specVersion;
68         std::string m_DMV;
69 };
70
71 #endif