Log.cpp File Reference

#include "Log.hpp"
#include "../system/util_system.hpp"
#include "../math/BrayT.hpp"
#include <malloc.h>
#include <cstdio>
#include <cstdlib>

Go to the source code of this file.

Namespaces

namespace  se_err

Classes

struct  se_err::Alloc
struct  se_err::Mem2Alloc

Functions

void dump (const char *s)
void scream3 (const char *file, int line, const char *msg)
 Must be defined in platform dependent module.
void say3 (const char *file, int line, const char *msg)
void whisper3 (const char *file, int line, const char *msg)
void silent3 (const char *file, int line, const char *msg)
void debugStop ()
char * log_msg ()

Variables

short debug_state = 0
int usedMem = 0
int maxUsedMem = 0
int objects = 0
int arrays = 0
int allocCount = 0
se_err::Alloc allocs [200]
se_err::Mem2Allocm2a
int m2aCount = 0
int maxM2aCount = 0


Function Documentation

void debugStop  ) 
 

Definition at line 73 of file Log.cpp.

_SeCoreExport void se_err::dump const char *  s  ) 
 

Definition at line 33 of file Log.cpp.

Referenced by se_err::say3(), se_err::scream3(), se_err::silent3(), and se_err::whisper3().

char* log_msg  ) 
 

Definition at line 80 of file Log.cpp.

Referenced by se_core::Encoder::headerCode(), se_client::LanguageParser::parse(), se_core::Area::saveThings(), se_core::Tuple4::toLog(), se_core::Tuple3::toLog(), se_core::Euler3::toLog(), and se_core::AxisAngle4::toLog().

_SeCoreExport void se_err::say3 const char *  file,
int  line,
const char *  msg2
 

Definition at line 57 of file Log.cpp.

References se_err::dump().

Referenced by se_err::Log::say().

_SeCoreExport void se_err::scream3 const char *  file,
int  line,
const char *  msg2
 

Must be defined in platform dependent module.

Definition at line 45 of file Log.cpp.

References se_err::dump().

Referenced by se_err::Log::scream().

_SeCoreExport void se_err::silent3 const char *  file,
int  line,
const char *  msg2
 

Definition at line 67 of file Log.cpp.

References se_err::dump().

Referenced by se_err::Log::silent().

_SeCoreExport void se_err::whisper3 const char *  file,
int  line,
const char *  msg2
 

Definition at line 62 of file Log.cpp.

References se_err::dump().

Referenced by se_err::Log::whisper().


Variable Documentation

int se_err::allocCount = 0
 

Definition at line 232 of file Log.cpp.

struct se_err::Alloc se_err::allocs[200]
 

int se_err::arrays = 0
 

Definition at line 231 of file Log.cpp.

short se_err::debug_state = 0
 

Definition at line 227 of file Log.cpp.

struct se_err::Mem2Alloc * se_err::m2a
 

int se_err::m2aCount = 0
 

Definition at line 246 of file Log.cpp.

int se_err::maxM2aCount = 0
 

Definition at line 247 of file Log.cpp.

int se_err::maxUsedMem = 0
 

Definition at line 229 of file Log.cpp.

int se_err::objects = 0
 

Definition at line 230 of file Log.cpp.

int se_err::usedMem = 0
 

Definition at line 228 of file Log.cpp.


Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:18 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo