HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
onnxruntime::logging::ISink Class Referenceabstract

#include <isink.h>

Public Member Functions

 ISink (SinkType type=SinkType::BaseSink)
 
SinkType GetType () const
 
void Send (const Timestamp &timestamp, const std::string &logger_id, const Capture &message)
 
virtual void SendProfileEvent (profiling::EventRecord &) const
 
virtual ~ISink ()=default
 

Detailed Description

Definition at line 13 of file isink.h.

Constructor & Destructor Documentation

onnxruntime::logging::ISink::ISink ( SinkType  type = SinkType::BaseSink)
inlineexplicit

Definition at line 15 of file isink.h.

virtual onnxruntime::logging::ISink::~ISink ( )
virtualdefault

Member Function Documentation

SinkType onnxruntime::logging::ISink::GetType ( ) const
inline

Definition at line 17 of file isink.h.

void onnxruntime::logging::ISink::Send ( const Timestamp timestamp,
const std::string &  logger_id,
const Capture message 
)
inline

Sends the message to the sink.

Parameters
timestampThe timestamp.
logger_idThe logger identifier.
messageThe captured message.

Definition at line 25 of file isink.h.

virtual void onnxruntime::logging::ISink::SendProfileEvent ( profiling::EventRecord ) const
inlinevirtual

Sends a Profiling Event Record to the sink.

Parameters
ProfilingEvent Record

Definition at line 33 of file isink.h.


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