projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 0.9.2
[platform/upstream/iotivity.git]
/
service
/
soft-sensor-manager
/
SSMCore
/
src
/
SSMInterface
/
SSMModelDefinition.h
diff --git
a/service/soft-sensor-manager/SSMCore/src/SSMInterface/SSMModelDefinition.h
b/service/soft-sensor-manager/SSMCore/src/SSMInterface/SSMModelDefinition.h
index
73cbe58
..
2c33279
100644
(file)
--- a/
service/soft-sensor-manager/SSMCore/src/SSMInterface/SSMModelDefinition.h
+++ b/
service/soft-sensor-manager/SSMCore/src/SSMInterface/SSMModelDefinition.h
@@
-53,17
+53,20
@@
class ISSMResource
ISSMResource()
{
location = SENSOR_LOCATION_LOCAL;
ISSMResource()
{
location = SENSOR_LOCATION_LOCAL;
+ connectivityType = 0;
}
ISSMResource(const std::string &n, const std::string &t) :
name(n), type(t)
{
}
ISSMResource(const std::string &n, const std::string &t) :
name(n), type(t)
{
- location = SENSOR_LOCATION_LOCAL;
+ location = SENSOR_LOCATION_LOCAL;
+ connectivityType = 0;
}
SENSOR_LOCATION location;
std::string name;
std::string type;
std::string friendlyName;
std::string ip;
}
SENSOR_LOCATION location;
std::string name;
std::string type;
std::string friendlyName;
std::string ip;
+ int connectivityType;
std::vector<std::string> inputList;
std::vector<std::map<std::string, std::string> > outputProperty;
};
std::vector<std::string> inputList;
std::vector<std::map<std::string, std::string> > outputProperty;
};