Microsoft Information Protection (MIP) SDK for C++: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C++
Loading...
Searching...
No Matches
DiagnosticDelegate< T > Class Template Referenceabstract

A class that defines the interface to the MIP SDK audit/telemetry notifications. More...

#include <src/api/mip/diagnostic_delegate.h>

+ Inheritance diagram for DiagnosticDelegate< T >:

Public Member Functions

virtual void Flush ()=0
 Flush any queued events (e.g.
 
virtual void WriteEvent (const std::shared_ptr< T > &event)=0
 Log a diagnostic event.
 
virtual void WriteEvent (const std::shared_ptr< T > &event, const mip::EventContext &eventContext)=0
 Log a diagnostic event.
 

Detailed Description

template<class T>
class DiagnosticDelegate< T >

A class that defines the interface to the MIP SDK audit/telemetry notifications.

Definition at line 47 of file diagnostic_delegate.h.

Member Function Documentation

◆ Flush()

template<class T >
virtual void DiagnosticDelegate< T >::Flush ( )
pure virtual

Flush any queued events (e.g.

due to shutdown)

◆ WriteEvent() [1/2]

template<class T >
virtual void DiagnosticDelegate< T >::WriteEvent ( const std::shared_ptr< T > & event)
pure virtual

Log a diagnostic event.

Parameters
eventEvent to be logged

◆ WriteEvent() [2/2]

template<class T >
virtual void DiagnosticDelegate< T >::WriteEvent ( const std::shared_ptr< T > & event,
const mip::EventContext & eventContext )
pure virtual

Log a diagnostic event.

Parameters
eventEvent to be logged
eventContextEventContext associated with event

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