Spinnaker SDK C++
4.2.0.21
 
 

 
Loading...
Searching...
No Matches
DeviceEventHandlerImpl Class Reference
Inheritance diagram for DeviceEventHandlerImpl:
DeviceEventHandler IDeviceEventHandler EventHandler

Public Member Functions

 DeviceEventHandlerImpl (gcstring eventName)
 
 ~DeviceEventHandlerImpl ()
 
void OnDeviceEvent (gcstring eventName)
 Device event callback.
 
- Public Member Functions inherited from DeviceEventHandler
 DeviceEventHandler ()
 Default constructor.
 
virtual ~DeviceEventHandler ()
 Virtual destructor.
 
virtual void OnDeviceEvent (Spinnaker::GenICam::gcstring eventName)=0
 Device event callback.
 
uint64_t GetDeviceEventId () const
 Get the ID of the device event.
 
GenICam::gcstring GetDeviceEventName () const
 Get the name of the device event.
 
- Public Member Functions inherited from IDeviceEventHandler
virtual ~IDeviceEventHandler ()
 
virtual void OnDeviceEvent (Spinnaker::GenICam::gcstring eventName)=0
 
virtual uint64_t GetDeviceEventId () const =0
 
virtual GenICam::gcstring GetDeviceEventName () const =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.
 

Additional Inherited Members

- Protected Member Functions inherited from DeviceEventHandler
DeviceEventHandleroperator= (const DeviceEventHandler &)
 Assignment operator.
 
- Protected Member Functions inherited from IDeviceEventHandler
 IDeviceEventHandler ()
 
 IDeviceEventHandler (const IDeviceEventHandler &)
 
IDeviceEventHandleroperator= (const IDeviceEventHandler &)
 
- Protected Member Functions inherited from EventHandler
 EventHandler ()
 
EventHandleroperator= (const EventHandler &)
 
void SetEventPayload (uint8_t *offset, size_t length)
 
- Protected Attributes inherited from EventHandler
EventData * m_pEventData
 

Constructor & Destructor Documentation

◆ DeviceEventHandlerImpl()

DeviceEventHandlerImpl ( gcstring  eventName)
inline

◆ ~DeviceEventHandlerImpl()

Member Function Documentation

◆ OnDeviceEvent()

void OnDeviceEvent ( gcstring  eventName)
inlinevirtual

Device event callback.

Parameters
eventNameThe name of the event

Implements DeviceEventHandler.


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