Open Lighting Architecture
0.9.4
|
This class controls the discovery algorithm.
Classes | |
struct | UIDRange |
Public Types | |
typedef ola::SingleUseCallback2< void, bool, const UIDSet & > | DiscoveryCompleteCallback |
Public Member Functions | |
DiscoveryAgent (DiscoveryTargetInterface *target) | |
~DiscoveryAgent () | |
void | Abort () |
void | StartFullDiscovery (DiscoveryCompleteCallback *on_complete) |
void | StartIncrementalDiscovery (DiscoveryCompleteCallback *on_complete) |
|
explicit |
Create a new DiscoveryAgent
target | the DiscoveryTargetInterface to use for sending messages. |
ola::rdm::DiscoveryAgent::~DiscoveryAgent | ( | ) |
Clean up
void ola::rdm::DiscoveryAgent::Abort | ( | ) |
Cancel the running discovery
void ola::rdm::DiscoveryAgent::StartFullDiscovery | ( | DiscoveryCompleteCallback * | on_complete | ) |
Initiate full discovery
on_complete | the callback to run once discovery completes. |
void ola::rdm::DiscoveryAgent::StartIncrementalDiscovery | ( | DiscoveryCompleteCallback * | on_complete | ) |
Initiate incremental discovery
on_complete | the callback to run once discovery completes. |