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[];
74 #endif // PLUGINS_UARTDMX_UARTDMXDEVICE_H_ Definition: UartDmxDevice.h:37
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
Creates dummy copy constructor and assignment operator declarations.
Definition: Macro.h:44
bool StartHook()
Called during Start().
Definition: UartDmxDevice.cpp:69
A class used to hold a single universe of DMX data.
Definition: Preferences.h:147
std::string DeviceId() const
The device ID.
Definition: UartDmxDevice.h:45
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44