HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TraceScopeAuto Class Reference

#include <trace.h>

Public Member Functions

 TraceScopeAuto (const TraceStaticKeyData &key) noexcept
 
template<typename... Args>
 TraceScopeAuto (const TraceStaticKeyData &key, Args &&...args)
 
 ~TraceScopeAuto () noexcept
 

Detailed Description

A class which records a timestamp when it is created and a scope event when it is destructed.

Definition at line 206 of file trace.h.

Constructor & Destructor Documentation

TraceScopeAuto::TraceScopeAuto ( const TraceStaticKeyData key)
inlineexplicitnoexcept

Constructor for TRACE_FUNCTION macro.

Definition at line 210 of file trace.h.

template<typename... Args>
TraceScopeAuto::TraceScopeAuto ( const TraceStaticKeyData key,
Args &&...  args 
)
inline

Constructor that also records scope arguments.

Definition at line 218 of file trace.h.

TraceScopeAuto::~TraceScopeAuto ( )
inlinenoexcept

Destructor.

Definition at line 230 of file trace.h.


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