Qore EmpathicBuildingDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
EmpathicBuildingMeasurementsDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
29
30public:
32 const ProviderInfo = <DataProviderInfo>{
33 "name": "measurements",
34 "desc": "Empathic Building measurements data provider; parent provider for APIs related to measurements",
35 "type": "EmpathicBuildingMeasurementsDataProvider",
37 "supports_children": True,
38 "children_can_support_apis": True,
39 };
40
42 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
43 AbstractDataProvider::DataProviderSummaryInfoKeys
44 });
45
46protected:
47 const ChildMap = {
48 "create": Class::forName("EmpathicBuildingDataProvider::EmpathicBuildingMeasurementsCreateDataProvider"),
49 };
50
51public:
52
54 constructor(*hash<auto> options);
55
56
59
60
62 string getName();
63
64
66 *string getDesc();
67
68
70 *list<hash<DataProvider::DataProviderSummaryInfo>> getChildProviderSummaryInfo();
71
72
74
76protected:
78public:
79
80
82
86protected:
88public:
89
90
92 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
93
94};
95};
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:33
const ConstructorOptions
Constructor options.
Definition: EmpathicBuildingDataProvider.qc.dox.h:46
The parent class for Empathic Building measurement APIs.
Definition: EmpathicBuildingMeasurementsDataProvider.qc.dox.h:28
*DataProvider::AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
constructor(*hash< auto > options)
Creates the object from constructor options.
constructor(RestClient::RestClient rest)
Creates the object from a REST connection.
const ProviderInfo
Provider info.
Definition: EmpathicBuildingMeasurementsDataProvider.qc.dox.h:32
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
*string getDesc()
Returns the data provider description.
*list< hash< DataProvider::DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
const ProviderSummaryInfo
Provider summary info.
Definition: EmpathicBuildingMeasurementsDataProvider.qc.dox.h:42
Qore EmpathicBuildingDataProvider module definition.
Definition: EmpathicBuildingDataProvider.qc.dox.h:26