21 #ifndef PLUGINS_PATHPORT_PATHPORTPORT_H_
22 #define PLUGINS_PATHPORT_PATHPORTPORT_H_
26 #include "olad/Port.h"
27 #include "plugins/pathport/PathportDevice.h"
36 std::string Description(
const Universe *universe)
const;
37 bool PreSetUniverse(
Universe *new_universe);
54 const DmxBuffer &ReadDMX()
const {
return m_buffer; }
57 return m_helper.PreSetUniverse(new_universe);
63 PathportPortHelper m_helper;
84 return m_helper.PreSetUniverse(new_universe);
88 PathportPortHelper m_helper;
94 #endif // PLUGINS_PATHPORT_PATHPORTPORT_H_
Definition: Universe.h:45
Definition: PathportPort.h:33
Definition: PathportPort.h:69
Definition: PathportNode.h:37
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
A class used to hold a single universe of DMX data.
bool WriteDMX(const DmxBuffer &buffer, uint8_t priority)
Write DMX data to this port.
Definition: PathportPort.cpp:73
#define OLA_UNUSED
Mark unused arguments & types.
Definition: Macro.h:62
Definition: PluginAdaptor.h:41
std::string Description() const
Fetch the string description for a Port.
Definition: PathportPort.h:78
Definition: PathportDevice.h:33
Universe * GetUniverse() const
Fetch the universe this Port is bound to.
Definition: Port.h:295
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44