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_