21 #ifndef PLUGINS_SPIDMX_SPIDMXDEVICE_H_ 22 #define PLUGINS_SPIDMX_SPIDMXDEVICE_H_ 28 #include "olad/Device.h" 29 #include "olad/Preferences.h" 30 #include "plugins/spidmx/SPIDMXWidget.h" 31 #include "plugins/spidmx/SPIDMXThread.h" 42 const std::string &name,
43 const std::string &path);
46 std::string
DeviceId()
const {
return m_path; }
54 std::string DeviceBlocklength()
const;
58 std::auto_ptr<SPIDMXWidget> m_widget;
59 std::auto_ptr<SPIDMXThread> m_thread;
62 const std::string m_name;
63 const std::string m_path;
64 unsigned int m_blocklength;
66 static const unsigned int PREF_BLOCKLENGTH_DEFAULT;
67 static const char PREF_BLOCKLENGTH_KEY[];
75 #endif // PLUGINS_SPIDMX_SPIDMXDEVICE_H_ #define DISALLOW_COPY_AND_ASSIGN(TypeName)
Creates dummy copy constructor and assignment operator declarations.
Definition: Macro.h:44
A class used to hold a single universe of DMX data.
Definition: PluginAdaptor.h:41
bool StartHook()
Called during Start().
Definition: SPIDMXDevice.cpp:68
Definition: Preferences.h:147
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Definition: SPIDMXDevice.h:37
std::string DeviceId() const
The device ID.
Definition: SPIDMXDevice.h:46