An event handler for capturing the device arrival event. More...
#include <DeviceArrivalEventHandler.h>
Public Member Functions | |
DeviceArrivalEventHandler () | |
Default constructor. | |
virtual | ~DeviceArrivalEventHandler () |
Virtual destructor. | |
virtual void | OnDeviceArrival (CameraPtr pCamera)=0 |
Callback to the device arrival event. | |
Public Member Functions inherited from IDeviceArrivalEventHandler | |
virtual | ~IDeviceArrivalEventHandler () |
virtual void | OnDeviceArrival (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 | |
DeviceArrivalEventHandler & | operator= (const DeviceArrivalEventHandler &) |
Assignment operator. | |
Protected Member Functions inherited from IDeviceArrivalEventHandler | |
IDeviceArrivalEventHandler () | |
IDeviceArrivalEventHandler (const IDeviceArrivalEventHandler &) | |
IDeviceArrivalEventHandler & | operator= (const IDeviceArrivalEventHandler &) |
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 arrival event.
Default constructor.
|
virtual |
Virtual destructor.
|
pure virtual |
Callback to the device arrival event.
pCamera | Reference tracked CameraPtr object of the camera attached to the system |
Implements IDeviceArrivalEventHandler.
|
protected |
Assignment operator.