An event handler for capturing the device removal event. More...
#include <DeviceRemovalEventHandler.h>
Public Member Functions | |
DeviceRemovalEventHandler () | |
Default Constructor. | |
virtual | ~DeviceRemovalEventHandler () |
Virtual Destructor. | |
virtual void | OnDeviceRemoval (CameraPtr pCamera)=0 |
Device removal event callback. | |
Public Member Functions inherited from IDeviceRemovalEventHandler | |
virtual | ~IDeviceRemovalEventHandler () |
virtual void | OnDeviceRemoval (CameraPtr pCamera)=0 |
Public Member Functions inherited from EventHandler | |
virtual | ~EventHandler () |
Virtual Destructor. | |
void | SetEventType (EventType eventType) |
Sets the event type. | |
EventType | GetEventType () |
Gets the event type. | |
const uint8_t * | GetEventPayloadData () |
Gets the event payload data. | |
const size_t | GetEventPayloadDataSize () |
Gets the event payload data size. | |
Protected Member Functions | |
DeviceRemovalEventHandler & | operator= (const DeviceRemovalEventHandler &) |
Assignment operator. | |
Protected Member Functions inherited from IDeviceRemovalEventHandler | |
IDeviceRemovalEventHandler () | |
IDeviceRemovalEventHandler (const IDeviceRemovalEventHandler &) | |
IDeviceRemovalEventHandler & | operator= (const IDeviceRemovalEventHandler &) |
Protected Member Functions inherited from EventHandler | |
EventHandler () | |
EventHandler & | operator= (const EventHandler &) |
void | SetEventPayload (uint8_t *offset, size_t length) |
Additional Inherited Members | |
Protected Attributes inherited from EventHandler | |
EventData * | m_pEventData |
An event handler for capturing the device removal event.
Default Constructor.
|
virtual |
Virtual Destructor.
|
pure virtual |
Device removal event callback.
pCamera | Reference tracked CameraPtr object of the camera removed from the system |
Implements IDeviceRemovalEventHandler.
|
protected |
Assignment operator.