IoTivity C++ SDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RCSBundleInfo.h
Go to the documentation of this file.
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 
27 #ifndef RCSBUNDLEINFO_H_
28 #define RCSBUNDLEINFO_H_
29 
30 #include <string>
31 
32 namespace OIC
33 {
34  namespace Service
35  {
36 
43  {
44  public:
51  virtual const std::string &getID() = 0;
52 
59  virtual const std::string &getPath() = 0;
60 
67  virtual const std::string &getActivatorName() = 0;
68 
75  virtual const std::string &getLibraryPath() = 0;
76 
83  virtual const std::string &getVersion() = 0;
84 
91  virtual bool isActivated() = 0;
92 
94  {
95  };
96  virtual ~RCSBundleInfo()
97  {
98  };
99  protected:
100  std::string m_ID, m_path, m_version;
101 
102 
103  };
104  }
105 }
106 
107 #endif /* RCSBUNDLEINFO_H_ */
virtual bool isActivated()=0
API for getting the activation status of the bundle.
RCSBundleInfo()
Definition: RCSBundleInfo.h:93
virtual const std::string & getVersion()=0
API for getting the version of the bundle.
This class provides APIs for creating, getting and setting the Bundle Information.
Definition: RCSBundleInfo.h:42
virtual const std::string & getLibraryPath()=0
API for getting the library path for the bundle.
std::string m_path
Definition: RCSBundleInfo.h:98
virtual const std::string & getPath()=0
API for getting the path of the bundle.
std::string m_ID
Definition: RCSBundleInfo.h:98
virtual ~RCSBundleInfo()
Definition: RCSBundleInfo.h:96
virtual const std::string & getActivatorName()=0
API for setting the Activator name for the bundle.
virtual const std::string & getID()=0
API for getting the Id of the bundle.
std::string m_version
Definition: RCSBundleInfo.h:98