A handler to device arrival and removal events on all interfaces. More...
#include <InterfaceEventHandler.h>
Public Member Functions | |
InterfaceEventHandler () | |
Default constructor. | |
virtual | ~InterfaceEventHandler () |
Virtual destructor. | |
virtual void | OnDeviceArrival (CameraPtr pCamera)=0 |
Device arrival event callback. | |
virtual void | OnDeviceRemoval (CameraPtr pCamera)=0 |
Callback to the device removal event. | |
Public Member Functions inherited from IInterfaceEventHandler | |
virtual | ~IInterfaceEventHandler () |
virtual void | OnDeviceArrival (CameraPtr pCamera)=0 |
virtual void | OnDeviceRemoval (CameraPtr pCamera)=0 |
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. | |
Public Member Functions inherited from IDeviceRemovalEventHandler | |
virtual | ~IDeviceRemovalEventHandler () |
virtual void | OnDeviceRemoval (CameraPtr pCamera)=0 |
Protected Member Functions | |
InterfaceEventHandler & | operator= (const InterfaceEventHandler &) |
Assignment operator. | |
Protected Member Functions inherited from IInterfaceEventHandler | |
IInterfaceEventHandler () | |
IInterfaceEventHandler (const IInterfaceEventHandler &) | |
IInterfaceEventHandler & | operator= (const IInterfaceEventHandler &) |
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) |
Protected Member Functions inherited from IDeviceRemovalEventHandler | |
IDeviceRemovalEventHandler () | |
IDeviceRemovalEventHandler (const IDeviceRemovalEventHandler &) | |
IDeviceRemovalEventHandler & | operator= (const IDeviceRemovalEventHandler &) |
Additional Inherited Members | |
Protected Attributes inherited from EventHandler | |
EventData * | m_pEventData |
A handler to device arrival and removal events on all interfaces.
Default constructor.
|
virtual |
Virtual destructor.
|
pure virtual |
Device arrival event callback.
pCamera | Reference tracked pointer to Camera object of the device attached to the system |
Implements IInterfaceEventHandler.
Implemented in InterfaceEventHandlerImpl, and InterfaceEventHandlerImpl.
|
pure virtual |
Callback to the device removal event.
pCamera | Reference tracked pointer to Camera object of the device removed from the system |
Implements IInterfaceEventHandler.
Implemented in InterfaceEventHandlerImpl, and InterfaceEventHandlerImpl.
|
protected |
Assignment operator.