#include <Arduino.h>
#include "config.h"
#include "RawTimings.h"
#include "Pulsetrain.h"
#include "Meaning.h"
#include "tools.h"
Go to the source code of this file.
◆ DEVICE_PLUGIN_START
#define DEVICE_PLUGIN_START |
( |
|
name | ) |
|
Value: namespace ook {\
namespace device_ ## name {\
class DevicePlugin :
public Device {\
public:
Definition at line 11 of file Device.h.
◆ DEVICE_PLUGIN_END
#define DEVICE_PLUGIN_END |
( |
|
name | ) |
|
Value: };\
struct AutoRegister {\
AutoRegister() {\
static DevicePlugin devicePlugin;
\
}\
} autoRegister;\
\
}\
}
static bool add(const char *name, Device *pointer)
Registers an instance of Device, i.e. a devuce plugin in the static store
Definition at line 17 of file Device.h.