22 #ifndef PLUGINS_UARTDMX_UARTDMXPLUGIN_H_
23 #define PLUGINS_UARTDMX_UARTDMXPLUGIN_H_
29 #include "olad/Plugin.h"
30 #include "ola/plugin_id.h"
32 #include "plugins/uartdmx/UartDmxDevice.h"
44 ola_plugin_id
Id()
const {
return OLA_PLUGIN_UARTDMX; }
45 std::string
Name()
const {
return PLUGIN_NAME; }
48 bool DefaultMode()
const {
return false; }
53 typedef std::vector<UartDmxDevice*> UartDeviceVector;
54 UartDeviceVector m_devices;
56 void AddDevice(UartDmxDevice *device);
59 bool SetDefaultPreferences();
60 unsigned int GetBreak();
61 unsigned int GetMalf();
63 static const char PLUGIN_NAME[];
64 static const char PLUGIN_PREFIX[];
65 static const char K_DEVICE[];
66 static const char DEFAULT_DEVICE[];
68 DISALLOW_COPY_AND_ASSIGN(UartDmxPlugin);
73 #endif // PLUGINS_UARTDMX_UARTDMXPLUGIN_H_
ola_plugin_id Id() const
Get the plugin ID of this plugin.
Definition: UartDmxPlugin.h:44
Definition: UartDmxPlugin.h:38
Definition: PluginAdaptor.h:41
std::string Name() const
Get the plugin name.
Definition: UartDmxPlugin.h:45
std::string PluginPrefix() const
The prefix to use for storing configuration files.
Definition: UartDmxPlugin.h:46
std::string Description() const
Definition: UartDmxPlugin.cpp:117
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44