Spinnaker SDK C++
4.2.0.21
 
 

 
Loading...
Searching...
No Matches

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

#include <EventHandler.h>

Inheritance diagram for EventHandler:
IDeviceArrivalEventHandler IDeviceEventHandler IDeviceRemovalEventHandler IImageEventHandler IImageListEventHandler IInterfaceArrivalEventHandler IInterfaceRemovalEventHandler ILoggingEventHandler

Public Member Functions

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

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

Protected Attributes

EventData * m_pEventData
 

Friends

class CallbackHandlerInternal
 
class EventProcessor
 
class IDataStream
 
class Stream
 
class ImageSetInspector
 

Detailed Description

The base class for all event handler types.

Constructor & Destructor Documentation

◆ ~EventHandler()

virtual ~EventHandler ( )
virtual

Virtual Destructor.

◆ EventHandler()

EventHandler ( )
protected

Member Function Documentation

◆ GetEventPayloadData()

const uint8_t * GetEventPayloadData ( )

Gets the event payload data.

Returns
The event payload data

◆ GetEventPayloadDataSize()

const size_t GetEventPayloadDataSize ( )

Gets the event payload data size.

Returns
The event payload data size

◆ GetEventType()

EventType GetEventType ( )

Gets the event type.

Returns
The event type

◆ operator=()

EventHandler & operator= ( const EventHandler )
protected

◆ SetEventPayload()

void SetEventPayload ( uint8_t *  offset,
size_t  length 
)
protected

◆ SetEventType()

void SetEventType ( EventType  eventType)

Sets the event type.

Parameters
eventTypeThe event type

Friends And Related Symbol Documentation

◆ CallbackHandlerInternal

friend class CallbackHandlerInternal
friend

◆ EventProcessor

friend class EventProcessor
friend

◆ IDataStream

friend class IDataStream
friend

◆ ImageSetInspector

friend class ImageSetInspector
friend

◆ Stream

friend class Stream
friend

Member Data Documentation

◆ m_pEventData

EventData* m_pEventData
protected

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