All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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.
 

Private Member Functions

Forbidden operations
void * operator new (std::size_t)
 
void * operator new[] (std::size_t)
 
void * operator new (std::size_t, const std::nothrow_t &)
 
void * operator new[] (std::size_t, const std::nothrow_t &)
 
void operator delete (void *)
 
void operator delete[] (void *)
 
void operator delete (void *, const std::nothrow_t &)
 
void operator delete[] (void *, const std::nothrow_t &)
 

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: