Spinnaker SDK C++
4.1.0.338
 
 

 
Loading...
Searching...
No Matches

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

#include <DeviceArrivalEventHandler.h>

Inheritance diagram for DeviceArrivalEventHandler:
IDeviceArrivalEventHandler EventHandler

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

DeviceArrivalEventHandleroperator= (const DeviceArrivalEventHandler &)
 Assignment operator.
 
- Protected Member Functions inherited from IDeviceArrivalEventHandler
 IDeviceArrivalEventHandler ()
 
 IDeviceArrivalEventHandler (const IDeviceArrivalEventHandler &)
 
IDeviceArrivalEventHandleroperator= (const IDeviceArrivalEventHandler &)
 
- 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 arrival event.

Constructor & Destructor Documentation

◆ DeviceArrivalEventHandler()

Default constructor.

◆ ~DeviceArrivalEventHandler()

virtual ~DeviceArrivalEventHandler ( )
virtual

Virtual destructor.

Member Function Documentation

◆ OnDeviceArrival()

virtual void OnDeviceArrival ( CameraPtr  pCamera)
pure virtual

Callback to the device arrival event.

Parameters
pCameraReference tracked CameraPtr object of the camera attached to the system

Implements IDeviceArrivalEventHandler.

◆ operator=()

DeviceArrivalEventHandler & operator= ( const DeviceArrivalEventHandler )
protected

Assignment operator.


The documentation for this class was generated from the following file: