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
constructor()
Creates the object.
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
string getName()
Returns the data provider name.
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
constructor()
Creates the object.
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