Spinnaker C++
2.6.0.0
Public Member Functions | Protected Member Functions | List of all members
DeviceRemovalEventHandler Class Referenceabstract

An event handler for capturing the device removal event. More...

Inheritance diagram for DeviceRemovalEventHandler:
IDeviceRemovalEventHandler EventHandler

Public Member Functions

 DeviceRemovalEventHandler ()
 Default Constructor. More...
 
virtual ~DeviceRemovalEventHandler ()
 Virtual Destructor. More...
 
virtual void OnDeviceRemoval (uint64_t serialNumber)=0
 Device removal event callback. More...
 
- Public Member Functions inherited from IDeviceRemovalEventHandler
virtual ~IDeviceRemovalEventHandler ()
 
- Public Member Functions inherited from EventHandler
virtual ~EventHandler ()
 Virtual Destructor. More...
 
void SetEventType (EventType eventType)
 Sets the event type. More...
 
EventType GetEventType ()
 Gets the event type. More...
 
const uint8_t * GetEventPayloadData ()
 Gets the event payload data. More...
 
const size_t GetEventPayloadDataSize ()
 Gets the event payload data size. More...
 

Protected Member Functions

DeviceRemovalEventHandleroperator= (const DeviceRemovalEventHandler &)
 Assignment operator. More...
 
- Protected Member Functions inherited from IDeviceRemovalEventHandler
 IDeviceRemovalEventHandler ()
 
 IDeviceRemovalEventHandler (const IDeviceRemovalEventHandler &)
 
IDeviceRemovalEventHandleroperator= (const IDeviceRemovalEventHandler &)
 
- Protected Member Functions inherited from EventHandler
 EventHandler ()
 
EventHandleroperator= (const EventHandler &)
 
void SetEventPayload (uint8_t *offset, size_t length)
 

Additional Inherited Members

- Protected Attributes inherited from EventHandler
EventData * m_pEventData
 

Detailed Description

An event handler for capturing the device removal event.

Constructor & Destructor Documentation

Default Constructor.

virtual ~DeviceRemovalEventHandler ( )
virtual

Virtual Destructor.

Member Function Documentation

virtual void OnDeviceRemoval ( uint64_t  serialNumber)
pure virtual

Device removal event callback.

Parameters
serialNumberThe serial number of the device removed

Implements IDeviceRemovalEventHandler.

DeviceRemovalEventHandler& operator= ( const DeviceRemovalEventHandler )
protected

Assignment operator.


The documentation for this class was generated from the following file:
Contact Support Spinnaker® SDK Programmer's Guide and API Reference