21 #ifndef PLUGINS_KARATE_KARATEPORT_H_ 22 #define PLUGINS_KARATE_KARATEPORT_H_ 26 #include "olad/Port.h" 27 #include "plugins/karate/KarateDevice.h" 28 #include "plugins/karate/KarateThread.h" 38 const std::string &path)
49 std::string
Description()
const {
return "KarateLight at " + m_path; }
62 #endif // PLUGINS_KARATE_KARATEPORT_H_ Used to hold a single universe of DMX data.
Definition: DmxBuffer.h:49
BasicOutputPort(AbstractDevice *parent, unsigned int port_id, bool start_rdm_discovery_on_patch=false, bool supports_rdm=false)
Create a new BasicOutputPort.
Definition: Port.cpp:120
Definition: KarateThread.h:32
bool WriteDMX(const ola::DmxBuffer &buffer, uint8_t priority)
Write DMX data to this port.
Definition: KaratePort.h:51
A class used to hold a single universe of DMX data.
#define OLA_UNUSED
Mark unused arguments & types.
Definition: Macro.h:62
bool Stop()
Stop the thread.
Definition: KarateThread.cpp:112
virtual bool Start()
Start the thread and wait for the thread to be running.
Definition: Thread.cpp:90
Definition: KaratePort.h:34
Definition: KarateDevice.h:31
std::string Description() const
Fetch the string description for a Port.
Definition: KaratePort.h:49
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
bool WriteDmx(const DmxBuffer &buffer)
Store the data in the shared buffer.
Definition: KarateThread.cpp:125