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;
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[];
73 #endif // PLUGINS_UARTDMX_UARTDMXPLUGIN_H_ Definition: UartDmxDevice.h:37
std::string PluginPrefix() const
The prefix to use for storing configuration files.
Definition: UartDmxPlugin.h:46
std::string Name() const
Get the plugin name.
Definition: UartDmxPlugin.h:45
Definition: UartDmxPlugin.h:38
Definition: PluginAdaptor.h:41
ola_plugin_id Id() const
Get the plugin ID of this plugin.
Definition: UartDmxPlugin.h:44
std::string Description() const
Definition: UartDmxPlugin.cpp:118
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44