Qore jni Module 2.4.0
Loading...
Searching...
No Matches
MqttDataProvider::MqttDevicesDataProvider Class Reference

Parent data provider for MQTT devices. More...

#include <MqttDevicesDataProvider.qc.dox.h>

Inheritance diagram for MqttDataProvider::MqttDevicesDataProvider:
MqttDataProvider::AbstractMqttDataProvider

Public Member Methods

 constructor (AbstractMqttDataProvider prev)
 Creates the object from another object of the same class.
 
string getName ()
 Returns the name of the data provider.
 
hash< DataProvider::DataProviderInfo > getStaticInfoImpl ()
 Returns data provider static info.
 

Static Public Member Methods

static registerChild (string pathname, Reflection::Class cls)
 Register a new child data provider for Google calendars.
 
- Static Public Member Methods inherited from MqttDataProvider::AbstractMqttDataProvider
static hash< auto > getClient (hash< auto > copts)
 Returns a client for the given options.
 

Public Attributes

const ProviderInfo = ...
 Provider info.
 

Private Member Methods

*list< string > getChildProviderNamesImpl ()
 Returns a list of child data provider names, if any.
 
*DataProvider::AbstractDataProvider getChildProviderImpl (string name)
 Returns the given child provider or nothing if the given child is unknown.
 
- Private Member Methods inherited from MqttDataProvider::AbstractMqttDataProvider
 constructor ()
 Creates the object without any arguments for child classes.
 
 constructor (AbstractMqttDataProvider prev)
 Creates the object from another object of the same class for child classes.
 

Static Private Member Methods

static deregisterChild (string pathname)
 Deregister the named child data provider.
 

Static Private Attributes

static hash< string, Reflection::Class > childMap
 Child data provider classes.
 

Additional Inherited Members

- Private Attributes inherited from MqttDataProvider::AbstractMqttDataProvider
MqttClient client
 The MQTT client itself.
 
MqttConnectOptions opts
 Connection options.
 
string topic
 Subscription topic filter.
 
int qos
 Subscription QoS.
 
string message_format
 Message payload format.
 
string encoding
 Encoding for message_format "string".
 

Detailed Description

Parent data provider for MQTT devices.

Member Function Documentation

◆ getChildProviderImpl()

*DataProvider::AbstractDataProvider MqttDataProvider::MqttDevicesDataProvider::getChildProviderImpl ( string  name)
private

Returns the given child provider or nothing if the given child is unknown.

Returns
the given child provider or nothing if the given child is unknown
See also
getChildProviderEx()

◆ getChildProviderNamesImpl()

*list< string > MqttDataProvider::MqttDevicesDataProvider::getChildProviderNamesImpl ( )
private

Returns a list of child data provider names, if any.

Returns
a list of child data provider names, if any

The documentation for this class was generated from the following file: