21 #ifndef PLUGINS_DMX4LINUX_DMX4LINUXPLUGIN_H_ 22 #define PLUGINS_DMX4LINUX_DMX4LINUXPLUGIN_H_ 27 #include "olad/Plugin.h" 28 #include "ola/network/Socket.h" 29 #include "ola/plugin_id.h" 30 #include "plugins/dmx4linux/Dmx4LinuxPort.h" 31 #include "plugins/dmx4linux/Dmx4LinuxSocket.h" 37 class Dmx4LinuxDevice;
43 m_in_descriptor(NULL),
44 m_out_descriptor(NULL),
45 m_in_devices_count(0),
49 string Name()
const {
return PLUGIN_NAME; }
51 ola_plugin_id
Id()
const {
return OLA_PLUGIN_DMX4LINUX; }
59 bool SetDefaultPreferences();
61 bool SetupDescriptors();
62 int CleanupDescriptors();
63 bool SetupDevice(
string family,
int d4l_uni,
int dir);
66 vector<Dmx4LinuxDevice*> m_devices;
67 vector<Dmx4LinuxInputPort*> m_in_ports;
72 int m_in_devices_count;
75 static const char DMX4LINUX_OUT_DEVICE[];
76 static const char DMX4LINUX_IN_DEVICE[];
77 static const char OUT_DEV_KEY[];
78 static const char IN_DEV_KEY[];
79 static const char PLUGIN_NAME[];
80 static const char PLUGIN_PREFIX[];
86 #endif // PLUGINS_DMX4LINUX_DMX4LINUXPLUGIN_H_ string Name() const
Get the plugin name.
Definition: Dmx4LinuxPlugin.h:49
A class used to hold a single universe of DMX data.
string Description() const
Definition: Dmx4LinuxPlugin.cpp:113
Definition: PluginAdaptor.h:41
Definition: Dmx4LinuxPlugin.h:39
ola_plugin_id Id() const
Get the plugin ID of this plugin.
Definition: Dmx4LinuxPlugin.h:51
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Definition: Dmx4LinuxSocket.h:30
string PluginPrefix() const
The prefix to use for storing configuration files.
Definition: Dmx4LinuxPlugin.h:54