21 #ifndef PLUGINS_SPI_SPIPLUGIN_H_
22 #define PLUGINS_SPI_SPIPLUGIN_H_
26 #include "olad/Plugin.h"
27 #include "ola/plugin_id.h"
36 :
Plugin(plugin_adaptor) {}
38 std::string
Name()
const {
return PLUGIN_NAME; }
40 ola_plugin_id
Id()
const {
return OLA_PLUGIN_SPI; }
44 std::vector<class SPIDevice*> m_devices;
48 bool SetDefaultPreferences();
50 static const char DEFAULT_BASE_UID[];
51 static const char DEFAULT_SPI_DEVICE_PREFIX[];
52 static const char PLUGIN_NAME[];
53 static const char PLUGIN_PREFIX[];
54 static const char SPI_BASE_UID_KEY[];
55 static const char SPI_DEVICE_PREFIX_KEY[];
60 #endif // PLUGINS_SPI_SPIPLUGIN_H_
ola_plugin_id Id() const
Get the plugin ID of this plugin.
Definition: SPIPlugin.h:40
std::string PluginPrefix() const
The prefix to use for storing configuration files.
Definition: SPIPlugin.h:41
std::string Description() const
Definition: SPIPlugin.cpp:115
Definition: SPIPlugin.h:33
Definition: PluginAdaptor.h:41
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
std::string Name() const
Get the plugin name.
Definition: SPIPlugin.h:38