Castor3D 0.16.0
Multiplatform 3D engine
Classes | Functions
castor::debug Namespace Reference

Classes

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

Functions

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

Function Documentation

◆ cleanup()

CU_API void castor::debug::cleanup ( )

Cleans up debug data.

◆ initialise()

CU_API void castor::debug::initialise ( )

Initialises debug data.

◆ loadModule()

CU_API void castor::debug::loadModule ( DynamicLibrary const & library)

Loads debug data for given library.

◆ operator<<() [1/2]

CU_API OutputStream & castor::debug::operator<< ( OutputStream & stream,
Backtrace const &  )

Puts the backtrace into a stream.

Parameters
[in,out]streamThe stream

◆ operator<<() [2/2]

OutputStream & castor::debug::operator<< ( OutputStream & stream,
Backtraced const & traced )
inline

◆ unloadModule()

CU_API void castor::debug::unloadModule ( DynamicLibrary const & library)

Unloads debug data for given library.