Spinnaker C++
2.6.0.0
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members

The base class for all event handler types. More...

Inheritance diagram for EventHandler:
IDeviceArrivalEventHandler IDeviceEventHandler IDeviceRemovalEventHandler IImageEventHandler IInterfaceArrivalEventHandler IInterfaceRemovalEventHandler ILoggingEventHandler DeviceArrivalEventHandler IInterfaceEventHandler DeviceEventHandler DeviceRemovalEventHandler IInterfaceEventHandler ImageEventHandler InterfaceArrivalEventHandler ISystemEventHandler InterfaceRemovalEventHandler ISystemEventHandler LoggingEventHandler

Public Member Functions

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

Protected Member Functions

 EventHandler ()
 
EventHandleroperator= (const EventHandler &)
 
void SetEventPayload (uint8_t *offset, size_t length)
 

Protected Attributes

EventData * m_pEventData
 

Friends

class EventProcessor
 
class IDataStream
 
class Stream
 

Detailed Description

The base class for all event handler types.

Constructor & Destructor Documentation

virtual ~EventHandler ( )
virtual

Virtual Destructor.

EventHandler ( )
protected

Member Function Documentation

const uint8_t* GetEventPayloadData ( )

Gets the event payload data.

Returns
The event payload data
const size_t GetEventPayloadDataSize ( )

Gets the event payload data size.

Returns
The event payload data size
EventType GetEventType ( )

Gets the event type.

Returns
The event type
EventHandler& operator= ( const EventHandler )
protected
void SetEventPayload ( uint8_t *  offset,
size_t  length 
)
protected
void SetEventType ( EventType  eventType)

Sets the event type.

Parameters
eventTypeThe event type

Friends And Related Function Documentation

friend class EventProcessor
friend
friend class IDataStream
friend
friend class Stream
friend

Member Data Documentation

EventData* m_pEventData
protected

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