BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Main Page
Related Pages
Data Structures
Files
File List
src
commands
ServerDeviceListCommand.h
1
#pragma once
2
3
#include "core/Command.h"
4
#include "model/DevicePrefix.h"
5
6
namespace
BeeeOn {
7
8
/*
9
* List of joined devices serves for device discovery,
10
* with which this device manager (identified by DevicePrefix)
11
* can communicate. This information should not be saved
12
* directly on gateway.
13
*/
14
class
ServerDeviceListCommand
:
public
Command
{
15
public
:
16
typedef
Poco::AutoPtr<ServerDeviceListCommand> Ptr;
17
18
ServerDeviceListCommand
(
const
DevicePrefix
&prefix);
19
20
DevicePrefix
devicePrefix()
const
;
21
22
std::string
toString
()
const override
;
23
24
protected
:
25
~
ServerDeviceListCommand
();
26
27
private
:
28
DevicePrefix
m_prefix;
29
};
30
31
}
BeeeOn::Command
Definition:
Command.h:25
BeeeOn::ServerDeviceListCommand
Definition:
ServerDeviceListCommand.h:14
BeeeOn::Enum< DevicePrefixEnum, DevicePrefixEnum::Raw, DevicePrefixNamesInitializer >
BeeeOn::ServerDeviceListCommand::toString
std::string toString() const override
Definition:
ServerDeviceListCommand.cpp:21
Generated by
1.8.5