Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
ola::plugin::dummy Namespace Reference

Detailed Description

The Dummy plugin.

Classes

class  DummyDevice
class  DummyPlugin
class  DummyPort
class  string
 STL class. More...
class  DimmerResponder
class  DummyResponder
class  UID
 Represents a RDM UID. More...
class  auto_ptr
 STL class. More...
class  map
 STL class. More...
class  ostringstream
 STL class. More...
class  vector
 STL class. More...

Typedefs

typedef ola::BaseCallback1< void, const ola::rdm::UIDSet & > RDMDiscoveryCallback
 The callback run when a discovery operation completes.

Functions

template<typename T>
void AddResponders (map< UID, ola::rdm::RDMControllerInterface * > *responders, ola::rdm::UIDAllocator *uid_allocator, unsigned int count)
void RunRDMCallback (RDMCallback *callback, RDMStatusCode status_code)
 A helper message to run a RDMCallback with the given status code.

Typedef Documentation

◆ RDMDiscoveryCallback

The callback run when a discovery operation completes.

Template Parameters
UIDSetThe UIDs that were discovered.

Function Documentation

◆ AddResponders()

template<typename T>
void ola::plugin::dummy::AddResponders ( map< UID, ola::rdm::RDMControllerInterface * > * responders,
ola::rdm::UIDAllocator * uid_allocator,
unsigned int count )

A count number of responders of type T.

◆ RunRDMCallback()

void ola::rdm::RunRDMCallback ( RDMCallback * callback,
RDMStatusCode status_code )
inline

A helper message to run a RDMCallback with the given status code.

Parameters
callbackThe RDMCallback to run.
status_codeThe status code to use in the RDMReply.