Castor3D 0.16.0
Multiplatform 3D engine
Classes | Namespaces | Macros | Functions
Debug.hpp File Reference

Classes

struct  castor::debug::Backtrace
 
class  castor::debug::Backtraced
 Helper class used to enable allocation backtrace retrieval. More...
 

Namespaces

namespace  castor
 
namespace  castor::debug
 

Macros

#define CU_DeclareDebugVar(type, var)    type var
 
#define CU_DefineDebugVar(type, var, value)    type var{ value }
 
#define CU_AssignDebugVar(var, value)    var = value
 

Functions

CU_API void castor::debug::initialise ()
 Initialises debug data.
 
CU_API void castor::debug::loadModule (DynamicLibrary const &library)
 Loads debug data for given library.
 
CU_API void castor::debug::unloadModule (DynamicLibrary const &library)
 Unloads debug data for given library.
 
CU_API void castor::debug::cleanup ()
 Cleans up debug data.
 
CU_API OutputStreamcastor::debug::operator<< (OutputStream &stream, Backtrace const &)
 Puts the backtrace into a stream.
 
OutputStreamcastor::debug::operator<< (OutputStream &stream, Backtraced const &traced)
 

Macro Definition Documentation

◆ CU_AssignDebugVar

#define CU_AssignDebugVar ( var,
value )    var = value

◆ CU_DeclareDebugVar

#define CU_DeclareDebugVar ( type,
var )    type var

◆ CU_DefineDebugVar

#define CU_DefineDebugVar ( type,
var,
value )    type var{ value }