Open Lighting Architecture: ola::plugin::usbpro::UsbProWidgetDetector Class Reference

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
ola::plugin::usbpro::UsbProWidgetDetector Class Reference
Inheritance diagram for ola::plugin::usbpro::UsbProWidgetDetector:

## Public Types
typedef ola::Callback2< void, ola::io::ConnectedDescriptor *, const UsbProWidgetInformation * > | SuccessHandler
typedef ola::Callback1< void, ola::io::ConnectedDescriptor * > | FailureHandler

## Public Member Functions
| UsbProWidgetDetector (ola::thread::SchedulingExecutorInterface *scheduler, SuccessHandler *on_success, FailureHandler *on_failure, unsigned int message_interval=200)
bool | Discover (ola::io::ConnectedDescriptor *descriptor)

## Constructor & Destructor Documentation

## ◆ UsbProWidgetDetector()

ola::plugin::usbpro::UsbProWidgetDetector::UsbProWidgetDetector | ( | ola::thread::SchedulingExecutorInterface * | scheduler,
|  | SuccessHandler * | on_success,
|  | FailureHandler * | on_failure,
|  | unsigned int | message_interval = 200 )

Constructor

Parameters

  scheduler | a SchedulingExecutorInterface to use to register events.
  on_success | A callback to run if discovery succeeds.
  on_failure | A callback to run if discovery fails.
  message_interval | the time in ms between each discovery message.

## Member Function Documentation

## ◆ Discover()

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

Implements ola::plugin::usbpro::WidgetDetectorInterface.

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

- plugins/usbpro/UsbProWidgetDetector.h
- plugins/usbpro/UsbProWidgetDetector.cpp