Leosac  0.8.0
Open Source Access Control
Leosac::Module::Mqtt::MqttExternalMessage Struct Reference

#include <MqttConfig.hpp>

+ Inheritance diagram for Leosac::Module::Mqtt::MqttExternalMessage:
+ Collaboration diagram for Leosac::Module::Mqtt::MqttExternalMessage:

Public Member Functions

 MqttExternalMessage ()
 
 MqttExternalMessage (const MqttExternalMessage &)=default
 
- Public Member Functions inherited from Leosac::Hardware::ExternalMessage
 ExternalMessage ()
 
void validation_callback (odb::callback_event, odb::database &) const override
 
std::string subject () const
 
void subject (const std::string &subject)
 
Direction direction () const
 
void direction (Direction direction)
 
DeviceClass virtualtype () const
 
void virtualtype (DeviceClass virtualtype)
 
std::string payload () const
 
void payload (const std::string &payload)
 
- Public Member Functions inherited from Leosac::Hardware::Device
 Device ()
 
 Device (DeviceClass device_class)
 
virtual ~Device ()=default
 
UUID id () const
 
const std::string & name () const
 
void name (const std::string &name)
 
DeviceClass device_class () const
 
void device_class (DeviceClass d)
 
bool enabled () const
 
void enabled (bool e)
 
uint64_t odb_version () const
 

Additional Inherited Members

- Public Types inherited from Leosac::Hardware::ExternalMessage
enum  Direction { Direction::Subscribe = 0, Direction::Publish = 1 }
 
- Protected Attributes inherited from Leosac::Hardware::ExternalMessage
std::string subject_
 
Direction direction_
 
DeviceClass virtualtype_
 
std::string payload_
 

Detailed Description

Definition at line 125 of file MqttConfig.hpp.

Constructor & Destructor Documentation

◆ MqttExternalMessage() [1/2]

Leosac::Module::Mqtt::MqttExternalMessage::MqttExternalMessage ( )
inline

Definition at line 127 of file MqttConfig.hpp.

◆ MqttExternalMessage() [2/2]

Leosac::Module::Mqtt::MqttExternalMessage::MqttExternalMessage ( const MqttExternalMessage )
default

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