score
Home
Classes
Namespaces
Files
Loading...
Searching...
No Matches
MQTTDevice.hpp
1
#pragma once
2
#include <Device/Protocol/DeviceInterface.hpp>
3
4
#include <ossia/network/zeroconf/zeroconf.hpp>
5
6
namespace
Protocols
7
{
8
class
MQTTDevice
final :
public
Device::OwningDeviceInterface
9
{
10
public
:
11
MQTTDevice
(
12
const
Device::DeviceSettings
& stngs,
const
ossia::net::network_context_ptr& ctx);
13
14
bool
reconnect()
override
;
15
void
recreate(
const
Device::Node
&)
final
override
;
16
17
bool
isLearning()
const
final
override
;
18
void
setLearning(
bool
)
final
override
;
19
20
private
:
21
const
ossia::net::network_context_ptr& m_ctx;
22
};
23
}
Device::OwningDeviceInterface
Definition
DeviceInterface.hpp:185
Protocols::MQTTDevice
Definition
MQTTDevice.hpp:9
TreeNode< DeviceExplorerNode >
Device::DeviceSettings
Definition
DeviceSettings.hpp:20