Spinnaker C++
2.6.0.0
Public Member Functions | Protected Member Functions | List of all members
LoggingEventHandler Class Referenceabstract

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

Inheritance diagram for LoggingEventHandler:
ILoggingEventHandler EventHandler LoggingEventHandlerImpl

Public Member Functions

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

LoggingEventHandleroperator= (const LoggingEventHandler &)
 Assignment operator. More...
 
- 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.

Examples:
Logging.cpp.

Constructor & Destructor Documentation

Default constructor.

Virtual destructor.

Member Function Documentation

virtual void OnLogEvent ( LoggingEventDataPtr  eventPtr)
pure virtual

The callback for the log event.

Parameters
eventPtrThe logging event pointer

Implements ILoggingEventHandler.

LoggingEventHandler& operator= ( const LoggingEventHandler )
protected

Assignment operator.


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