21#ifndef PLUGINS_KARATE_KARATEPORT_H_
22#define PLUGINS_KARATE_KARATEPORT_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; }
A class used to hold a single universe of DMX data.
#define OLA_UNUSED
Mark unused arguments & types.
Definition Macro.h:63
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
Used to hold a single universe of DMX data.
Definition DmxBuffer.h:49
Definition KarateDevice.h:31
Definition KaratePort.h:34
std::string Description() const
Fetch the string description for a Port.
Definition KaratePort.h:49
bool WriteDMX(const ola::DmxBuffer &buffer, uint8_t priority)
Write DMX data to this port.
Definition KaratePort.h:51
Definition KarateThread.h:32
bool Stop()
Stop the thread.
Definition KarateThread.cpp:112
bool WriteDmx(const DmxBuffer &buffer)
Store the data in the shared buffer.
Definition KarateThread.cpp:125
virtual bool Start()
Start the thread and wait for the thread to be running.
Definition Thread.cpp:90
The namespace containing all OLA symbols.
Definition Credentials.cpp:44