Spinnaker SDK C++
4.1.0.338
 
 

 
Loading...
Searching...
No Matches
InterfaceEventHandlerImpl Class Reference
Inheritance diagram for InterfaceEventHandlerImpl:
InterfaceEventHandler IInterfaceEventHandler IDeviceArrivalEventHandler IDeviceRemovalEventHandler EventHandler EventHandler

Public Member Functions

 InterfaceEventHandlerImpl (SystemPtr system)
 
 ~InterfaceEventHandlerImpl ()
 
void OnDeviceArrival (CameraPtr pCamera)
 Device arrival event callback.
 
void OnDeviceRemoval (CameraPtr pCamera)
 Callback to the device removal event.
 
 InterfaceEventHandlerImpl (SystemPtr system)
 
 InterfaceEventHandlerImpl (InterfacePtr iface, std::string interfaceID)
 
 ~InterfaceEventHandlerImpl ()
 
void PrintGenericHandlerMessage (const unsigned long long deviceCount)
 
void OnDeviceArrival (CameraPtr pCamera)
 Device arrival event callback.
 
void OnDeviceRemoval (CameraPtr pCamera)
 Callback to the device removal event.
 
std::string GetInterfaceId ()
 
- Public Member Functions inherited from InterfaceEventHandler
 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
 

Additional Inherited Members

- Protected Member Functions inherited from InterfaceEventHandler
InterfaceEventHandleroperator= (const InterfaceEventHandler &)
 Assignment operator.
 
- Protected Member Functions inherited from IInterfaceEventHandler
 IInterfaceEventHandler ()
 
 IInterfaceEventHandler (const IInterfaceEventHandler &)
 
IInterfaceEventHandleroperator= (const IInterfaceEventHandler &)
 
- 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)
 
- Protected Member Functions inherited from IDeviceRemovalEventHandler
 IDeviceRemovalEventHandler ()
 
 IDeviceRemovalEventHandler (const IDeviceRemovalEventHandler &)
 
IDeviceRemovalEventHandleroperator= (const IDeviceRemovalEventHandler &)
 
- Protected Attributes inherited from EventHandler
EventData * m_pEventData
 

Detailed Description

Constructor & Destructor Documentation

◆ InterfaceEventHandlerImpl() [1/3]

◆ ~InterfaceEventHandlerImpl() [1/2]

◆ InterfaceEventHandlerImpl() [2/3]

◆ InterfaceEventHandlerImpl() [3/3]

InterfaceEventHandlerImpl ( InterfacePtr  iface,
std::string  interfaceID 
)
inline

◆ ~InterfaceEventHandlerImpl() [2/2]

Member Function Documentation

◆ GetInterfaceId()

std::string GetInterfaceId ( )
inline

◆ OnDeviceArrival() [1/2]

void OnDeviceArrival ( CameraPtr  pCamera)
inlinevirtual

Device arrival event callback.

Parameters
pCameraReference tracked pointer to Camera object of the device attached to the system

Implements InterfaceEventHandler.

Examples
AcquisitionMultipleCameraRecovery.cpp.

◆ OnDeviceArrival() [2/2]

void OnDeviceArrival ( CameraPtr  pCamera)
inlinevirtual

Device arrival event callback.

Parameters
pCameraReference tracked pointer to Camera object of the device attached to the system

Implements InterfaceEventHandler.

◆ OnDeviceRemoval() [1/2]

void OnDeviceRemoval ( CameraPtr  pCamera)
inlinevirtual

Callback to the device removal event.

Parameters
pCameraReference tracked pointer to Camera object of the device removed from the system

Implements InterfaceEventHandler.

Examples
AcquisitionMultipleCameraRecovery.cpp.

◆ OnDeviceRemoval() [2/2]

void OnDeviceRemoval ( CameraPtr  pCamera)
inlinevirtual

Callback to the device removal event.

Parameters
pCameraReference tracked pointer to Camera object of the device removed from the system

Implements InterfaceEventHandler.

◆ PrintGenericHandlerMessage()

void PrintGenericHandlerMessage ( const unsigned long long  deviceCount)
inline

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