A handler to interface arrival and removal events on the system. More...
#include <SystemEventHandler.h>
Public Member Functions | |
SystemEventHandler () | |
Default constructor. | |
virtual | ~SystemEventHandler () |
Virtual destructor. | |
virtual void | OnInterfaceArrival (InterfacePtr pInterface)=0 |
Interface arrival event callback. | |
virtual void | OnInterfaceRemoval (InterfacePtr pInterface)=0 |
Interface removal event callback. | |
Public Member Functions inherited from ISystemEventHandler | |
virtual | ~ISystemEventHandler () |
virtual void | OnInterfaceArrival (InterfacePtr pInterface)=0 |
virtual void | OnInterfaceRemoval (InterfacePtr pInterface)=0 |
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. | |
Public Member Functions inherited from IInterfaceRemovalEventHandler | |
virtual | ~IInterfaceRemovalEventHandler () |
virtual void | OnInterfaceRemoval (InterfacePtr pInterface)=0 |
Protected Member Functions | |
SystemEventHandler & | operator= (const SystemEventHandler &) |
Assignment operator. | |
Protected Member Functions inherited from ISystemEventHandler | |
ISystemEventHandler () | |
ISystemEventHandler (const ISystemEventHandler &) | |
ISystemEventHandler & | operator= (const ISystemEventHandler &) |
Protected Member Functions inherited from IInterfaceArrivalEventHandler | |
IInterfaceArrivalEventHandler () | |
IInterfaceArrivalEventHandler (const IInterfaceArrivalEventHandler &) | |
IInterfaceArrivalEventHandler & | operator= (const IInterfaceArrivalEventHandler &) |
Protected Member Functions inherited from EventHandler | |
EventHandler () | |
EventHandler & | operator= (const EventHandler &) |
void | SetEventPayload (uint8_t *offset, size_t length) |
Protected Member Functions inherited from IInterfaceRemovalEventHandler | |
IInterfaceRemovalEventHandler () | |
IInterfaceRemovalEventHandler (const IInterfaceRemovalEventHandler &) | |
IInterfaceRemovalEventHandler & | operator= (const IInterfaceRemovalEventHandler &) |
Additional Inherited Members | |
Protected Attributes inherited from EventHandler | |
EventData * | m_pEventData |
A handler to interface arrival and removal events on the system.
Note that only GEV interface arrivals and removals are currently handled.
Default constructor.
|
virtual |
Virtual destructor.
|
pure virtual |
Interface arrival event callback.
Note that only GEV interface arrivals are currently handled.
pInterface | Reference tracked pointer to Interface object of the adapter attached to the system |
Implements ISystemEventHandler.
Implemented in SystemEventHandlerImpl.
|
pure virtual |
Interface removal event callback.
Note that only GEV interface removals are currently handled.
pInterface | Reference tracked pointer to Interface object of the adapter removed from the system |
Implements ISystemEventHandler.
Implemented in SystemEventHandlerImpl.
|
protected |
Assignment operator.