Spinnaker C++
4.0.0.116
Public Member Functions | List of all members
SystemEventHandlerImpl Class Reference
Inheritance diagram for SystemEventHandlerImpl:
SystemEventHandler ISystemEventHandler IInterfaceArrivalEventHandler IInterfaceRemovalEventHandler EventHandler EventHandler

Public Member Functions

 SystemEventHandlerImpl (SystemPtr system)
 
 ~SystemEventHandlerImpl ()
 
void LockEventHandlerMutex ()
 
void UnlockEventHandlerMutex ()
 
void OnInterfaceArrival (InterfacePtr pInterface)
 Interface arrival event callback. More...
 
void OnInterfaceRemoval (InterfacePtr pInterface)
 Interface removal event callback. More...
 
void RegisterInterfaceEventToSystem ()
 
void UnregisterInterfaceEventFromSystem ()
 
void RegisterAllInterfaceEvents ()
 
void UnregisterAllInterfaceEvents ()
 
- Public Member Functions inherited from SystemEventHandler
 SystemEventHandler ()
 Default constructor. More...
 
virtual ~SystemEventHandler ()
 Virtual destructor. More...
 
- Public Member Functions inherited from ISystemEventHandler
virtual ~ISystemEventHandler ()
 
- Public Member Functions inherited from IInterfaceArrivalEventHandler
virtual ~IInterfaceArrivalEventHandler ()
 
- 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 IInterfaceRemovalEventHandler
virtual ~IInterfaceRemovalEventHandler ()
 

Additional Inherited Members

- Protected Member Functions inherited from SystemEventHandler
SystemEventHandleroperator= (const SystemEventHandler &)
 Assignment operator. More...
 
- Protected Member Functions inherited from ISystemEventHandler
 ISystemEventHandler ()
 
 ISystemEventHandler (const ISystemEventHandler &)
 
ISystemEventHandleroperator= (const ISystemEventHandler &)
 
- 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)
 
- Protected Member Functions inherited from IInterfaceRemovalEventHandler
 IInterfaceRemovalEventHandler ()
 
 IInterfaceRemovalEventHandler (const IInterfaceRemovalEventHandler &)
 
IInterfaceRemovalEventHandleroperator= (const IInterfaceRemovalEventHandler &)
 
- Protected Attributes inherited from EventHandler
EventData * m_pEventData
 

Detailed Description

Examples:
EnumerationEvents.cpp.

Constructor & Destructor Documentation

SystemEventHandlerImpl ( SystemPtr  system)
inline

Member Function Documentation

void LockEventHandlerMutex ( )
inline
void OnInterfaceArrival ( InterfacePtr  pInterface)
inlinevirtual

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 SystemEventHandler.

void OnInterfaceRemoval ( InterfacePtr  pInterface)
inlinevirtual

Interface removal event callback.

Note that only GEV interface removals are currently handled.

Parameters
pInterfaceReference tracked pointer to Interface object of the adapter removed from the system

Implements SystemEventHandler.

void RegisterAllInterfaceEvents ( )
inline
void RegisterInterfaceEventToSystem ( )
inline
void UnlockEventHandlerMutex ( )
inline
void UnregisterAllInterfaceEvents ( )
inline
void UnregisterInterfaceEventFromSystem ( )
inline

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