Public Slots | Public Member Functions | Public Attributes | Private Slots | Private Member Functions | Private Attributes | List of all members
MQTT_Dialog Class Reference

#include <mqtt_dialog.h>

Inheritance diagram for MQTT_Dialog:
Inheritance graph
[legend]

Public Slots

void onButtonConnect ()
 
void onSelectionChanged ()
 
void onUpdateTopicList ()
 

Public Member Functions

 MQTT_Dialog (MQTTClient::Ptr mosq_client)
 
void saveSettings ()
 
 ~MQTT_Dialog ()
 

Public Attributes

Ui::DataStreamMQTT * ui
 

Private Slots

void onLoadClientCertificate ()
 
void onLoadPrivateKey ()
 
void onLoadServerCertificate ()
 

Private Member Functions

void changeConnectionState (bool connected)
 
void onConnectionClosed ()
 

Private Attributes

MQTTClient::Ptr _client
 
QString _client_certificate_file
 
QString _private_key_file
 
QString _server_certificate_file
 
std::unordered_set< std::string > _topic_list
 
QTimer * _topic_list_timer
 

Detailed Description

Definition at line 12 of file mqtt_dialog.h.

Constructor & Destructor Documentation

◆ MQTT_Dialog()

MQTT_Dialog::MQTT_Dialog ( MQTTClient::Ptr  mosq_client)

Definition at line 15 of file mqtt_dialog.cpp.

◆ ~MQTT_Dialog()

MQTT_Dialog::~MQTT_Dialog ( )

Definition at line 147 of file mqtt_dialog.cpp.

Member Function Documentation

◆ changeConnectionState()

void MQTT_Dialog::changeConnectionState ( bool  connected)
private

Definition at line 239 of file mqtt_dialog.cpp.

◆ onButtonConnect

void MQTT_Dialog::onButtonConnect ( )
slot

Definition at line 160 of file mqtt_dialog.cpp.

◆ onConnectionClosed()

void MQTT_Dialog::onConnectionClosed ( )
private

Definition at line 5 of file mqtt_dialog.cpp.

◆ onLoadClientCertificate

void MQTT_Dialog::onLoadClientCertificate ( )
privateslot

Definition at line 267 of file mqtt_dialog.cpp.

◆ onLoadPrivateKey

void MQTT_Dialog::onLoadPrivateKey ( )
privateslot

Definition at line 287 of file mqtt_dialog.cpp.

◆ onLoadServerCertificate

void MQTT_Dialog::onLoadServerCertificate ( )
privateslot

Definition at line 247 of file mqtt_dialog.cpp.

◆ onSelectionChanged

void MQTT_Dialog::onSelectionChanged ( )
slot

Definition at line 233 of file mqtt_dialog.cpp.

◆ onUpdateTopicList

void MQTT_Dialog::onUpdateTopicList ( )
slot

Definition at line 199 of file mqtt_dialog.cpp.

◆ saveSettings()

void MQTT_Dialog::saveSettings ( )

Definition at line 125 of file mqtt_dialog.cpp.

Member Data Documentation

◆ _client

MQTTClient::Ptr MQTT_Dialog::_client
private

Definition at line 32 of file mqtt_dialog.h.

◆ _client_certificate_file

QString MQTT_Dialog::_client_certificate_file
private

Definition at line 49 of file mqtt_dialog.h.

◆ _private_key_file

QString MQTT_Dialog::_private_key_file
private

Definition at line 50 of file mqtt_dialog.h.

◆ _server_certificate_file

QString MQTT_Dialog::_server_certificate_file
private

Definition at line 48 of file mqtt_dialog.h.

◆ _topic_list

std::unordered_set<std::string> MQTT_Dialog::_topic_list
private

Definition at line 52 of file mqtt_dialog.h.

◆ _topic_list_timer

QTimer* MQTT_Dialog::_topic_list_timer
private

Definition at line 34 of file mqtt_dialog.h.

◆ ui

Ui::DataStreamMQTT* MQTT_Dialog::ui

Definition at line 19 of file mqtt_dialog.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:50