Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
ola::plugin::usbpro::RobeWidgetDetector Class Reference
Inheritance diagram for ola::plugin::usbpro::RobeWidgetDetector:
ola::plugin::usbpro::WidgetDetectorInterface

Public Types

typedef ola::Callback2< void, ola::io::ConnectedDescriptor *, const RobeWidgetInformation * > SuccessHandler
 
typedef ola::Callback1< void, ola::io::ConnectedDescriptor * > FailureHandler
 

Public Member Functions

 RobeWidgetDetector (ola::thread::SchedulingExecutorInterface *scheduler, SuccessHandler *on_success, FailureHandler *on_failure, unsigned int timeout=200)
 
bool Discover (ola::io::ConnectedDescriptor *descriptor)
 
- Public Member Functions inherited from ola::plugin::usbpro::WidgetDetectorInterface

Constructor & Destructor Documentation

◆ RobeWidgetDetector()

ola::plugin::usbpro::RobeWidgetDetector::RobeWidgetDetector ( ola::thread::SchedulingExecutorInterface * scheduler,
SuccessHandler * on_success,
FailureHandler * on_failure,
unsigned int timeout = 200 )

Constructor

Parameters
schedulera instance of SchedulerInterface used to register events.
on_successA callback to run if discovery succeeds.
on_failureA callback to run if discovery fails.
timeoutthe time in ms between each discovery message.

Member Function Documentation

◆ Discover()

bool ola::plugin::usbpro::RobeWidgetDetector::Discover ( ola::io::ConnectedDescriptor * descriptor)
virtual

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