Leosac
0.8.0
Open Source Access Control
|
Transient configuration object that stores the list of mqtt servers use/configure. More...
#include <MqttConfig.hpp>
Public Member Functions | |
MqttConfig ()=default | |
void | add_server (std::shared_ptr< const MqttServerConfig >) |
void | add_topic (std::shared_ptr< const MqttExternalMessage >) |
const std::vector< std::shared_ptr< const MqttServerConfig > > & | servers () const |
const std::vector< std::shared_ptr< const MqttExternalMessage > > & | topics () const |
Private Attributes | |
std::vector< std::shared_ptr< const MqttServerConfig > > | servers_ |
std::vector< std::shared_ptr< const MqttExternalMessage > > | topics_ |
Transient configuration object that stores the list of mqtt servers use/configure.
This object is either populated from the database or from the XML configuration.
Definition at line 141 of file MqttConfig.hpp.
|
default |
void Leosac::Module::Mqtt::MqttConfig::add_server | ( | std::shared_ptr< const MqttServerConfig > | server | ) |
Definition at line 31 of file MqttConfig.cpp.
void Leosac::Module::Mqtt::MqttConfig::add_topic | ( | std::shared_ptr< const MqttExternalMessage > | topic | ) |
Definition at line 41 of file MqttConfig.cpp.
const std::vector< std::shared_ptr< const MqttServerConfig > > & Leosac::Module::Mqtt::MqttConfig::servers | ( | ) | const |
Definition at line 36 of file MqttConfig.cpp.
const std::vector< std::shared_ptr< const MqttExternalMessage > > & Leosac::Module::Mqtt::MqttConfig::topics | ( | ) | const |
Definition at line 46 of file MqttConfig.cpp.
|
private |
Definition at line 152 of file MqttConfig.hpp.
|
private |
Definition at line 153 of file MqttConfig.hpp.