22#ifndef PLUGINS_UARTDMX_UARTDMXDEVICE_H_
23#define PLUGINS_UARTDMX_UARTDMXDEVICE_H_
29#include "olad/Device.h"
30#include "olad/Preferences.h"
31#include "plugins/uartdmx/UartWidget.h"
41 const std::string &name,
42 const std::string &path);
45 std::string
DeviceId()
const {
return m_path; }
46 UartWidget* GetWidget() {
return m_widget.get(); }
53 std::string DeviceBreakKey()
const;
54 std::string DeviceMalfKey()
const;
57 std::auto_ptr<UartWidget> m_widget;
59 const std::string m_name;
60 const std::string m_path;
61 unsigned int m_breakt;
64 static const unsigned int DEFAULT_MALF;
65 static const char K_MALF[];
66 static const unsigned int DEFAULT_BREAK;
67 static const char K_BREAK[];
69 UartDmxDevice(
const UartDmxDevice &) =
delete;
70 const UartDmxDevice &operator=(
const UartDmxDevice &) =
delete;
A class used to hold a single universe of DMX data.
Definition Preferences.h:148
Definition UartDmxDevice.h:37
std::string DeviceId() const
The device ID.
Definition UartDmxDevice.h:45
bool StartHook()
Called during Start().
Definition UartDmxDevice.cpp:69
The namespace containing all OLA symbols.
Definition Credentials.cpp:44