Open Lighting Architecture  Latest Git
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Public Types | Public Member Functions | List of all members
ola::plugin::usbpro::RobeWidgetDetector Class Reference
Inheritance diagram for ola::plugin::usbpro::RobeWidgetDetector:
Inheritance graph
Collaboration diagram for ola::plugin::usbpro::RobeWidgetDetector:
Collaboration graph

Public Types

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

Public Member Functions

 RobeWidgetDetector (ola::thread::SchedulingExecutorInterface *scheduler, SuccessHandler *on_success, FailureHandler *on_failure, unsigned int timeout=200)
bool Discover (ola::io::ConnectedDescriptor *descriptor)

Constructor & Destructor Documentation

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


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.

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