![]() |
Open Lighting Architecture
0.9.5
|
The GPIO Output port.
Public Member Functions | |
GPIOOutputPort (GPIODevice *parent, const GPIODriver::Options &options) | |
Create a new GPIOOutputPort. | |
~GPIOOutputPort () | |
Destructor. | |
bool | Init () |
Initialize the port. | |
std::string | Description () const |
bool | WriteDMX (const DmxBuffer &buffer, uint8_t priority) |
Write DMX data to this port. | |
![]() | |
BasicOutputPort (AbstractDevice *parent, unsigned int port_id, bool start_rdm_discovery_on_patch=false, bool supports_rdm=false) | |
Create a new BasicOutputPort. | |
unsigned int | PortId () const |
AbstractDevice * | GetDevice () const |
bool | SetUniverse (Universe *universe) |
Universe * | GetUniverse () const |
std::string | UniqueId () const |
bool | SetPriority (uint8_t priority) |
uint8_t | GetPriority () const |
void | SetPriorityMode (port_priority_mode mode) |
port_priority_mode | GetPriorityMode () const |
virtual void | UniverseNameChanged (const std::string &new_name) |
Called if the universe name changes. | |
port_priority_capability | PriorityCapability () const |
virtual void | SendRDMRequest (const ola::rdm::RDMRequest *request, ola::rdm::RDMCallback *callback) |
Handle an RDMRequest, subclasses can implement this to support RDM. | |
virtual void | RunFullDiscovery (ola::rdm::RDMDiscoveryCallback *on_complete) |
This is a noop for ports that don't support RDM. | |
virtual void | RunIncrementalDiscovery (ola::rdm::RDMDiscoveryCallback *on_complete) |
This is a noop for ports that don't support RDM. | |
virtual bool | SupportsTimeCode () const |
virtual bool | SendTimeCode (const ola::timecode::TimeCode &) |
This is a noop for ports that don't support TimeCode. | |
virtual bool | PreSetUniverse (Universe *, Universe *) |
virtual void | PostSetUniverse (Universe *, Universe *) |
virtual bool | SupportsRDM () const |
Additional Inherited Members | |
![]() | |
virtual bool | SupportsPriorities () const |
void | UpdateUIDs (const ola::rdm::UIDSet &uids) |
Called when the discovery triggered by patching completes. |
ola::plugin::gpio::GPIOOutputPort::GPIOOutputPort | ( | GPIODevice * | parent, |
const GPIODriver::Options & | options | ||
) |
Create a new GPIOOutputPort.
parent | The parent device. |
options | the Options for the GPIODriver. |
bool ola::plugin::gpio::GPIOOutputPort::Init | ( | ) |
Initialize the port.
|
virtual |
Write DMX data to this port.
buffer | the DmxBuffer to write |
priority | the priority of the DMX data |
Implements ola::OutputPort.