Loading...
Searching...
No Matches
TraceScopeAuto Class Reference

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

#include <trace.h>

Public Member Functions

 TraceScopeAuto (const TraceStaticKeyData &key) noexcept
 Constructor for TRACE_FUNCTION macro.
 
template<typename... Args>
 TraceScopeAuto (const TraceStaticKeyData &key, Args &&... args)
 Constructor that also records scope arguments.
 
 ~TraceScopeAuto () noexcept
 Destructor.
 

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() [1/2]

TraceScopeAuto ( const TraceStaticKeyData key)
inlineexplicitnoexcept

Constructor for TRACE_FUNCTION macro.

Definition at line 210 of file trace.h.

◆ TraceScopeAuto() [2/2]

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: