Spinnaker SDK C++
4.2.0.21
 
 

 
Loading...
Searching...
No Matches

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

#include <InterfaceArrivalEventHandler.h>

Inheritance diagram for InterfaceArrivalEventHandler:
IInterfaceArrivalEventHandler EventHandler

Public Member Functions

 InterfaceArrivalEventHandler ()
 Default constructor.
 
virtual ~InterfaceArrivalEventHandler ()
 Virtual destructor.
 
virtual void OnInterfaceArrival (InterfacePtr pInterface)=0
 Interface arrival event callback.
 
- Public Member Functions inherited from IInterfaceArrivalEventHandler
virtual ~IInterfaceArrivalEventHandler ()
 
virtual void OnInterfaceArrival (InterfacePtr pInterface)=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

InterfaceArrivalEventHandleroperator= (const InterfaceArrivalEventHandler &)
 Assignment operator.
 
- Protected Member Functions inherited from IInterfaceArrivalEventHandler
 IInterfaceArrivalEventHandler ()
 
 IInterfaceArrivalEventHandler (const IInterfaceArrivalEventHandler &)
 
IInterfaceArrivalEventHandleroperator= (const IInterfaceArrivalEventHandler &)
 
- 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 interface arrival event.

Note that only GEV interface arrivals are currently handled.

Constructor & Destructor Documentation

◆ InterfaceArrivalEventHandler()

Default constructor.

◆ ~InterfaceArrivalEventHandler()

virtual ~InterfaceArrivalEventHandler ( )
virtual

Virtual destructor.

Member Function Documentation

◆ OnInterfaceArrival()

virtual void OnInterfaceArrival ( InterfacePtr  pInterface)
pure virtual

Interface arrival event callback.

Note that only GEV interface arrivals are currently handled.

Parameters
pInterfaceReference tracked pointer to Interface object of the adapter attached to the system

Implements IInterfaceArrivalEventHandler.

◆ operator=()

InterfaceArrivalEventHandler & operator= ( const InterfaceArrivalEventHandler )
protected

Assignment operator.


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