Open Lighting Architecture  0.9.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | List of all members
ola::rdm::AdvancedDimmerResponder Class Reference

Detailed Description

A dimmer that supports many of the E1.37-1 PIDs.

Inheritance diagram for ola::rdm::AdvancedDimmerResponder:
ola::rdm::RDMControllerInterface

Classes

struct  fail_mode_s
class  LockManager
struct  min_level_s
class  Personalities
class  Preset
struct  preset_playback_s
struct  preset_status_s
class  RDMOps

Public Member Functions

 AdvancedDimmerResponder (const UID &uid)
void SendRDMRequest (const RDMRequest *request, RDMCallback *callback)

Constructor & Destructor Documentation

ola::rdm::AdvancedDimmerResponder::AdvancedDimmerResponder ( const UID uid)
explicit

Create a new dimmer device.

Member Function Documentation

void ola::rdm::AdvancedDimmerResponder::SendRDMRequest ( const RDMRequest request,
RDMCallback on_complete 
)
virtual

Assumption: A class that implements this MUST ensure that as time tends to infinity, the probably that the callback is run tends to 1. That is, there must be no way that a request can be dropped in such a way that the callback is never run. Doing so will either block all subsequent requests, or leak memory depending on the implementation.

Also the implementor of this class should re-write the transaction #, and possibly the UID (changing src UIDs isn't addressed by the RDM spec).

Implements ola::rdm::RDMControllerInterface.


The documentation for this class was generated from the following files: