List of all members
blaze::logging::FunctionTrace Class Reference

RAII object for function tracing.The FunctionTrace class is an auxiliary helper class for the tracing of function calls. It is implemented as a wrapper around the Logger class and is responsible for the atomicity of the logging operations of trace information. More...

#include <FunctionTrace.h>

Inherits blaze::NonCopyable.

Public Member Functions

Constructors
 FunctionTrace (const std::string &file, const std::string &function)
 Constructor for the FunctionTrace class. More...
 
Destructor
 ~FunctionTrace ()
 Destructor for the FunctionTrace class.
 
Forbidden operations
void * operator new (std::size_t)=delete
 
void * operator new[] (std::size_t)=delete
 
void * operator new (std::size_t, const std::nothrow_t &) noexcept=delete
 
void * operator new[] (std::size_t, const std::nothrow_t &) noexcept=delete
 
void operator delete (void *) noexcept=delete
 
void operator delete[] (void *) noexcept=delete
 
void operator delete (void *, const std::nothrow_t &) noexcept=delete
 
void operator delete[] (void *, const std::nothrow_t &) noexcept=delete
 

Private Attributes

Member variables
std::string file_
 The file name the traced function is contained in.
 
std::string function_
 The name of the traced function.
 

Detailed Description

RAII object for function tracing.

The FunctionTrace class is an auxiliary helper class for the tracing of function calls. It is implemented as a wrapper around the Logger class and is responsible for the atomicity of the logging operations of trace information.

Constructor & Destructor Documentation

blaze::logging::FunctionTrace::FunctionTrace ( const std::string &  file,
const std::string &  function 
)

Constructor for the FunctionTrace class.

Parameters
fileThe name of the file the traced function is contained in
functionThe name of the traced function

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