VoltAir
|
Helper factory class to generate a new DeviceConnectionListerer instance for a static callback function. More...
Public Member Functions | |
virtual void | onDeviceConnectionChanged (int deviceId, bool isConnected) override |
Callback function invoked when the device identified by deviceId has connected or disconnected. More... | |
Static Public Member Functions | |
static StaticDeviceConnectionListener * | get (const DeviceConnectionCallback &callback) |
Returns a new DeviceConnectionListener which will forward device connection status changes from onDeviceConnectionChanged() to the specified DeviceConnectionCallback. More... | |
Helper factory class to generate a new DeviceConnectionListerer instance for a static callback function.
|
inlinestatic |
Returns a new DeviceConnectionListener which will forward device connection status changes from onDeviceConnectionChanged() to the specified DeviceConnectionCallback.
callback | Function to invoke onDeviceConnectionChanged() |
|
overridevirtual |
Callback function invoked when the device identified by deviceId
has connected or disconnected.
Implements ControllerManager::DeviceConnectionListener.