Spinnaker C++
2.6.0.0
Public Member Functions | List of all members
InterfaceEventHandlerImpl Class Reference
Inheritance diagram for InterfaceEventHandlerImpl:
InterfaceEventHandler InterfaceEventHandler IInterfaceEventHandler IInterfaceEventHandler IDeviceArrivalEventHandler IDeviceRemovalEventHandler IDeviceArrivalEventHandler IDeviceRemovalEventHandler EventHandler EventHandler EventHandler EventHandler

Public Member Functions

 InterfaceEventHandlerImpl (SystemPtr system)
 
 ~InterfaceEventHandlerImpl ()
 
void OnDeviceArrival (uint64_t deviceSerialNumber)
 Device arrival event callback. More...
 
void OnDeviceRemoval (uint64_t deviceSerialNumber)
 Callback to the device removal event. More...
 
 InterfaceEventHandlerImpl (SystemPtr system)
 
 InterfaceEventHandlerImpl (InterfacePtr iface, std::string interfaceID)
 
 ~InterfaceEventHandlerImpl ()
 
void PrintGenericHandlerMessage (const unsigned long long deviceCount)
 
void OnDeviceArrival (uint64_t deviceSerialNumber)
 Device arrival event callback. More...
 
void OnDeviceRemoval (uint64_t deviceSerialNumber)
 Callback to the device removal event. More...
 
std::string GetInterfaceId ()
 
- Public Member Functions inherited from InterfaceEventHandler
 InterfaceEventHandler ()
 Default constructor. More...
 
virtual ~InterfaceEventHandler ()
 Virtual destructor. More...
 
- Public Member Functions inherited from IInterfaceEventHandler
virtual ~IInterfaceEventHandler ()
 
- Public Member Functions inherited from IDeviceArrivalEventHandler
virtual ~IDeviceArrivalEventHandler ()
 
- 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...
 
- Public Member Functions inherited from IDeviceRemovalEventHandler
virtual ~IDeviceRemovalEventHandler ()
 

Additional Inherited Members

- Protected Member Functions inherited from InterfaceEventHandler
InterfaceEventHandleroperator= (const InterfaceEventHandler &)
 Assignment operator. More...
 
- 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

Examples:
AcquisitionMultipleCameraRecovery.cpp, and EnumerationEvents.cpp.

Constructor & Destructor Documentation

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

Member Function Documentation

std::string GetInterfaceId ( )
inline
void OnDeviceArrival ( uint64_t  serialNumber)
inlinevirtual

Device arrival event callback.

Implements InterfaceEventHandler.

void OnDeviceArrival ( uint64_t  serialNumber)
inlinevirtual

Device arrival event callback.

Implements InterfaceEventHandler.

void OnDeviceRemoval ( uint64_t  serialNumber)
inlinevirtual

Callback to the device removal event.

Parameters
serialNumberThe serial number of the removed device

Implements InterfaceEventHandler.

void OnDeviceRemoval ( uint64_t  serialNumber)
inlinevirtual

Callback to the device removal event.

Parameters
serialNumberThe serial number of the removed device

Implements InterfaceEventHandler.

void PrintGenericHandlerMessage ( const unsigned long long  deviceCount)
inline

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