Qore EmpathicBuildingDataProvider Module Reference 1.1
Loading...
Searching...
No Matches
EmpathicBuildingSensorDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
29
30public:
32 const ProviderInfo = ...;
33
34
37
38
40 const RequestType = AbstractDataProviderTypeMap."nothing";
41
44
45protected:
47 hash<auto> org;
48
50 hash<auto> loc;
51
53 hash<auto> sensor;
54
55 const ChildMap = ...;
56
57
58public:
59
61 constructor(RestClient::RestClient rest, *Logger::LoggerInterface logger, hash<auto> org, hash<auto> loc, hash<auto> sensor) ;
62
63
65 string getName();
66
67
69 *string getDesc();
70
71
73 static string getSensorDesc(hash<auto> sensor);
74
76 static hash<auto> getSensorData(hash<auto> sensor);
77
79
84protected:
85 auto doRequestImpl(auto req, *hash<auto> request_options);
86public:
87
88
90
92protected:
93 *DataProvider::AbstractDataProviderType getRequestTypeImpl();
94public:
95
96
98
100protected:
101 *DataProvider::AbstractDataProviderType getResponseTypeImpl();
102public:
103
104
106 *list<hash<DataProvider::DataProviderSummaryInfo>> getChildProviderSummaryInfo();
107
108
110
112protected:
114public:
115
116
118
122protected:
123 *DataProvider::AbstractDataProvider getChildProviderImpl(string name);
124public:
125
126
128protected:
129 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
130public:
131
132};
133
135class EmpathicBuildingMeasurementType : public HashDataType {
136
137public:
138 const Fields = ...;
139
140
143
144};
145
148
150class EmpathicBuildingSensorType : public HashDataType {
151
152public:
153 const Fields = ...;
154
155
158
159};
160
163};
The EmpathicBuilding data provider class.
Definition EmpathicBuildingDataProviderBase.qc.dox.h:28
RestClient::RestClient rest
The REST client object for API calls.
Definition EmpathicBuildingDataProviderBase.qc.dox.h:40
Measurement type.
Definition EmpathicBuildingSensorDataProvider.qc.dox.h:135
The EmpathicBuilding sensor data provider class.
Definition EmpathicBuildingSensorDataProvider.qc.dox.h:28
constructor(RestClient::RestClient rest, *Logger::LoggerInterface logger, hash< auto > org, hash< auto > loc, hash< auto > sensor)
Create the object from the REST connection.
const RequestType
Request type.
Definition EmpathicBuildingSensorDataProvider.qc.dox.h:40
static hash< auto > getSensorData(hash< auto > sensor)
Converts ms epoch offsets to date/time values.
*string getDesc()
Returns the data provider description.
*DataProvider::AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or nothing if the given child is unknown.
hash< auto > sensor
Sensor data.
Definition EmpathicBuildingSensorDataProvider.qc.dox.h:53
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
hash< auto > loc
Loc data.
Definition EmpathicBuildingSensorDataProvider.qc.dox.h:50
const ProviderSummaryInfo
Provider summary info.
Definition EmpathicBuildingSensorDataProvider.qc.dox.h:36
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
hash< auto > org
Org data.
Definition EmpathicBuildingSensorDataProvider.qc.dox.h:47
*list< hash< DataProvider::DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
const ResponseType
Response type.
Definition EmpathicBuildingSensorDataProvider.qc.dox.h:43
static string getSensorDesc(hash< auto > sensor)
Returns a description of the sensor.
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
const ProviderInfo
Provider info.
Definition EmpathicBuildingSensorDataProvider.qc.dox.h:32
Sensor type.
Definition EmpathicBuildingSensorDataProvider.qc.dox.h:150
Qore EmpathicBuildingDataProvider module definition.
Definition EmpathicBuildingDataProvider.qc.dox.h:26
const EmpathicBuildingSensorType
Sensor data type constant.
Definition EmpathicBuildingSensorDataProvider.qc.dox.h:162
const EmpathicBuildingMeasurementType
Measurement type constant.
Definition EmpathicBuildingSensorDataProvider.qc.dox.h:147