An event handler for capturing the device logging event. More...
#include <LoggingEventHandler.h>
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 | |
LoggingEventHandler & | operator= (const LoggingEventHandler &) |
Assignment operator. | |
Protected Member Functions inherited from ILoggingEventHandler | |
ILoggingEventHandler () | |
ILoggingEventHandler (const ILoggingEventHandler &) | |
ILoggingEventHandler & | operator= (const ILoggingEventHandler &) |
Protected Member Functions inherited from EventHandler | |
EventHandler () | |
EventHandler & | operator= (const EventHandler &) |
void | SetEventPayload (uint8_t *offset, size_t length) |
Additional Inherited Members | |
Protected Attributes inherited from EventHandler | |
EventData * | m_pEventData |
An event handler for capturing the device logging event.
Default constructor.
~LoggingEventHandler | ( | ) |
Virtual destructor.
|
pure virtual |
The callback for the log event.
eventPtr | The logging event pointer |
Implements ILoggingEventHandler.
|
protected |
Assignment operator.