Spinnaker SDK C++
4.1.0.338
 
 

 
Loading...
Searching...
No Matches

An event handler for capturing the device logging event. More...

#include <LoggingEventHandler.h>

Inheritance diagram for LoggingEventHandler:
ILoggingEventHandler EventHandler LoggingEventHandlerImpl

Public Member Functions

 LoggingEventHandler ()
 Default constructor.
 
 ~LoggingEventHandler ()
 Virtual destructor.
 
virtual void OnLogEvent (LoggingEventDataPtr eventPtr)=0
 The callback for the log event.
 
- Public Member Functions inherited from ILoggingEventHandler
virtual ~ILoggingEventHandler ()
 
virtual void OnLogEvent (LoggingEventDataPtr eventPtr)=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

LoggingEventHandleroperator= (const LoggingEventHandler &)
 Assignment operator.
 
- Protected Member Functions inherited from ILoggingEventHandler
 ILoggingEventHandler ()
 
 ILoggingEventHandler (const ILoggingEventHandler &)
 
ILoggingEventHandleroperator= (const ILoggingEventHandler &)
 
- 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 device logging event.

Constructor & Destructor Documentation

◆ LoggingEventHandler()

Default constructor.

◆ ~LoggingEventHandler()

Virtual destructor.

Member Function Documentation

◆ OnLogEvent()

virtual void OnLogEvent ( LoggingEventDataPtr  eventPtr)
pure virtual

The callback for the log event.

Parameters
eventPtrThe logging event pointer

Implements ILoggingEventHandler.

◆ operator=()

LoggingEventHandler & operator= ( const LoggingEventHandler )
protected

Assignment operator.


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