Macros | Functions
mqtt_client.cpp File Reference
#include "mqtt_client.h"
#include <QDebug>
#include <QMessageBox>
#include <QString>
#include <QtGlobal>
#include <QLoggingCategory>
Include dependency graph for mqtt_client.cpp:

Go to the source code of this file.

Macros

#define debug()   qCDebug(category)
 
#define MQTT_DEBUG   0
 

Functions

static const QLoggingCategory category ("MQTTClient")
 
void connect_callback (struct mosquitto *mosq, void *context, int result, int, const mosquitto_property *)
 
void disconnect_callback (struct mosquitto *mosq, void *context, int result)
 
void log_callback (struct mosquitto *mosq, void *context, int log_level, const char *msg)
 
void message_callback (struct mosquitto *mosq, void *context, const struct mosquitto_message *message, const mosquitto_property *)
 

Macro Definition Documentation

◆ debug

#define debug ( )    qCDebug(category)

Definition at line 14 of file mqtt_client.cpp.

◆ MQTT_DEBUG

#define MQTT_DEBUG   0

Definition at line 13 of file mqtt_client.cpp.

Function Documentation

◆ category()

static const QLoggingCategory category ( "MQTTClient"  )
static

◆ connect_callback()

void connect_callback ( struct mosquitto *  mosq,
void *  context,
int  result,
int  ,
const mosquitto_property *   
)

Definition at line 18 of file mqtt_client.cpp.

◆ disconnect_callback()

void disconnect_callback ( struct mosquitto *  mosq,
void *  context,
int  result 
)

Definition at line 40 of file mqtt_client.cpp.

◆ log_callback()

void log_callback ( struct mosquitto *  mosq,
void *  context,
int  log_level,
const char *  msg 
)

Definition at line 57 of file mqtt_client.cpp.

◆ message_callback()

void message_callback ( struct mosquitto *  mosq,
void *  context,
const struct mosquitto_message *  message,
const mosquitto_property *   
)

Definition at line 50 of file mqtt_client.cpp.



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