Page principale Liste des namespaces Hiérarchie des classes Liste par ordre alphabétique Liste des composants Liste des fichiers Membres des namespaces Composants Déclarations

# Référence du fichier ExCTrace.h

`#include <string>`
`#include <iostream>`
`#include <fstream>`

Aller au code source de ce fichier.

## Définitions des macros
#define | DEBUG
#define | EXC throw 1;
#define | Guard(function)
#define | UnGuard
#define | Trace(why)

## Documentation de la macro

#define DEBUG

| Définition à la ligne 85 du fichier ExNihiloServer/ExCTrace.h.

#define EXC throw 1;

| Définition à la ligne 87 du fichier ExNihiloServer/ExCTrace.h.

#define Guard | ( | function |  | ) |

| Valeur:
    static char * __FUNCTION_NAME__ = #function;\
                                                                                    try {
Définition à la ligne 112 du fichier ExNihiloServer/ExCTrace.h. Référencé par ExManagerTexture::Add(), ExManagerObject::Add(), ExManagerMenu::Add(), ExManagerEntite::Add(), ExManagerCamera::Add(), ExManagerCam::Add(), ExManagerCommand::AddAction(), ExManagerCommand::AddCommandAction(), ExCEntite::AddMesh(), ExManagerCommand::AddNewAction(), ExManagerCommand::AddRepAction(), ExManagerConsole::AddStringAction(), ExCEntite::AddVertex(), ExCAction::AllActionDone(), ExManagerWindow::Apply(), ExManagerCommand::ApplyAction(), ExManagerConsole::ApplyBuffCommand(), ExCParticule::ApplyForceToParitcule(), ExCOctree::Build(), ExCModel3DS::BuildArray(), ExCOctree::BuildBox(), ExCOctree::BuildFirstBox(), ExCModelASC::BuildList(), ExCModel3DS::BuildList(), ExCMap::BuildOctree(), ExCEntite::BuildPvsBox(), ExCMap::BuildSkyBox(), ExCMap::BuildVertexArrays(), ExCOctree::BuilList(), ExCMap::BuilList(), ExCSystemeParticule::CalculateEmitPosition(), ExManagerTexture::CheckExist(), ExManagerInputGLUT::CheckInput(), ExManagerConsole::ClearConsol(), ExCSocket::Close(), ExManagerNetwork::Connect(), ExCSocketClient::Connect(), ExCSystemeParticule::CreateNewParticle(), ExManagerWindow::CreateNewWindow(), ExManagerWindow::CreateSingleton(), ExManagerVertexArrays::CreateSingleton(), ExManagerTexture::CreateSingleton(), ExManagerSpirit::CreateSingleton(), ExManagerSpecialEffect::CreateSingleton(), ExManagerSound::CreateSingleton(), ExManagerParticuleSystem::CreateSingleton(), ExManagerOutput::CreateSingleton(), ExManagerNetwork::CreateSingleton(), ExManagerModel::CreateSingleton(), ExManagerMenu::CreateSingleton(), ExManagerMap::CreateSingleton(), ExManagerLight::CreateSingleton(), ExManagerInterface::CreateSingleton(), ExManagerInputGLUT::CreateSingleton(), ExManagerId::CreateSingleton(), ExManagerGizmo::CreateSingleton(), ExManagerFont::CreateSingleton(), ExManagerFog::CreateSingleton(), ExManagerConsole::CreateSingleton(), ExManagerCommand::CreateSingleton(), ExManagerCollision::CreateSingleton(), ExManagerCamera::CreateSingleton(), ExManagerAnimation::CreateSingleton(), ExManagerInterface::DisableAllInterface(), ExManagerFog::DisableFog(), ExManagerInterface::DisableInterface(), ExManagerSound::DisplayAviableInput(), ExManagerInputGLUT::DisplayAviableInput(), ExManagerCommand::DisplayFileType(), ExManagerParticuleSystem::Draw(), ExManagerModel::Draw(), ExManagerMenu::Draw(), ExManagerMap::Draw(), ExManagerInterface::Draw(), ExManagerGizmo::Draw(), ExManagerConsole::Draw(), ExManagerCamera::Draw(), ExManagerCam::Draw(), ExCSystemeParticule::Draw(), ExCParticule::Draw(), ExCOctree::Draw(), ExCObject::Draw(), ExCModelOBJ::Draw(), ExCModelMD3::Draw(), ExCModelMD2::Draw(), ExCModelASC::Draw(), ExCModel3DS::Draw(), ExCModel::Draw(), ExCMenu::Draw(), ExCMap::Draw(), ExCInterface::Draw(), ExCGizmoRectangle::Draw(), ExCEntite::Draw(), ExCCameraChase::Draw(), ExCCamera::Draw(), ExCMap::DrawAllMesh(), ExManagerPVS::DrawAllObject(), ExManagerVertexArrays::DrawElements(), ExCModelMD2::DrawFrameFromFile(), ExCMap::DrawMeshInFrustrum(), ExManagerOutput::DrawScene(), ExCEntite::DrawWithoutList(), ExManagerInterface::EnableAllInterface(), ExManagerFog::EnableFog(), ExManagerInterface::EnableInterface(), ExCAction::ExCAction(), ExCCamera::ExCCamera(), ExCCameraChase::ExCCameraChase(), ExCCameraFirst::ExCCameraFirst(), ExCCameraFree::ExCCameraFree(), ExCEntite::ExCEntite(), ExCFont::ExCFont(), ExCGizmoRectangle::ExCGizmoRectangle(), ExCInterface::ExCInterface(), ExCLight::ExCLight(), ExCMatrix4x4::ExCMatrix4x4(), ExCMenu::ExCMenu(), ExCModel::ExCModel(), ExCModel3DS::ExCModel3DS(), ExCModelASC::ExCModelASC(), ExCModelASE::ExCModelASE(), ExCModelMD::ExCModelMD(), ExCModelMD2::ExCModelMD2(), ExCModelMD3::ExCModelMD3(), ExCModelOBJ::ExCModelOBJ(), ExCOctree::ExCOctree(), ExCParticule::ExCParticule(), ExCParticuleLine::ExCParticuleLine(), ExCParticulePoint::ExCParticulePoint(), ExCParticuleTexture::ExCParticuleTexture(), ExCSocket::ExCSocket(), ExCSocketClient::ExCSocketClient(), ExCSocketServer::ExCSocketServer(), ExCSound::ExCSound(), ExCSystemeParticule::ExCSystemeParticule(), ExCTexture::ExCTexture(), ExManagerCam::ExManagerCam(), ExManagerConsole::ExManagerConsole(), ExManagerEntite::ExManagerEntite(), ExManagerFog::ExManagerFog(), ExManagerGizmo::ExManagerGizmo(), ExManagerId::ExManagerId(), ExManagerInputGLUT::ExManagerInputGLUT(), ExManagerLight::ExManagerLight(), ExManagerObject::ExManagerObject(), ExManagerOutput::ExManagerOutput(), ExManagerParticuleSystem::ExManagerParticuleSystem(), ExManagerTexture::ExManagerTexture(), ExManagerWindow::ExManagerWindow(), ExCImageLoader::FindTextureType(), ExManagerInputGLUT::Focus(), ExCModel::Forward(), ExManagerEntite::Get(), ExManagerCam::Get(), ExCLight::GetAmbiantA(), ExCLight::GetAmbiantB(), ExCLight::GetAmbiantG(), ExCLight::GetAmbiantR(), ExManagerId::GetAviableName(), ExCLight::GetConstantAttenuation(), ExCFileReader::getContent(), ExManagerCam::GetCurrentCam(), ExManagerEntite::GetCurrentEntite(), ExCMenu::GetCurrentItem(), ExCMenu::GetCurrentItemAction(), ExManagerObject::GetCurrentObject(), ExManagerModel::GetCurrentObject(), ExManagerCamera::GetCurrentObject(), ExCLight::GetDiffuseA(), ExCLight::GetDiffuseB(), ExCLight::GetDiffuseG(), ExCLight::GetDiffuseR(), ExCFile2::GetElementFloatAt(), ExCFile2::GetElementIntAt(), ExCFile2::GetElementStringAt(), ExCSocket::GetHandler(), ExManagerCam::GetIdByName(), ExCSocket::GetIp(), ExCMenu::GetItem(), ExManagerObject::GetIterator(), ExCLight::GetLinearAttenuation(), GetMatrixFromEuler(), ExManagerCam::GetNameById(), ExManagerInterface::GetNumberEnableInterface(), ExManagerObject::GetObject(), ExManagerModel::GetObject(), ExManagerCamera::GetObject(), ExManagerId::GetObjectId(), ExManagerId::GetObjectName(), ExManagerId::GetObjectType(), ExCAction::GetParamAsInt(), ExCLight::GetQuadraticAttenuation(), ExCSocketClient::GetSocketAdresse(), ExCSocket::GetSocketPort(), ExManagerSound::GetSound(), ExCLight::GetSpecularA(), ExCLight::GetSpecularB(), ExCLight::GetSpecularG(), ExCLight::GetSpecularR(), ExCLight::GetSpotCutOff(), ExCLight::GetSpotExponent(), ExManagerTexture::GetTextureId(), ExCEntite::GetVertex(), handlerSigint(), ExManagerInterface::HideRegion(), ExCLight::IncAmbiantA(), ExCLight::IncAmbiantB(), ExCLight::IncAmbiantG(), ExCLight::IncAmbiantR(), ExCLight::IncConstantAttenuation(), ExManagerFog::IncDensity(), ExCLight::IncDiffuseA(), ExCLight::IncDiffuseB(), ExCLight::IncDiffuseG(), ExCLight::IncDiffuseR(), ExManagerFog::IncEndPoint(), ExManagerFog::IncFogColorA(), ExManagerFog::IncFogColorB(), ExManagerFog::IncFogColorG(), ExManagerFog::IncFogColorR(), ExCLight::IncLinearAttenuation(), ExCLight::IncQuadraticAttenuation(), ExCLight::IncSpecularA(), ExCLight::IncSpecularB(), ExCLight::IncSpecularG(), ExCLight::IncSpecularR(), ExCLight::IncSpotCutOff(), ExCLight::IncSpotExponent(), ExManagerFog::IncStartPoint(), ExManagerVertexArrays::Init(), ExManagerTexture::Init(), ExManagerSound::Init(), ExManagerParticuleSystem::Init(), ExManagerOutput::Init(), ExManagerObject::Init(), ExManagerModel::Init(), ExManagerMenu::Init(), ExManagerLight::Init(), ExManagerInterface::Init(), ExManagerId::Init(), ExManagerGizmo::Init(), ExManagerEntite::Init(), ExManagerConsole::Init(), ExManagerCommand::Init(), ExManagerCamera::Init(), ExManagerCam::Init(), ExCSocketServer::Init(), ExCSocketClient::Init(), ExCSocket::Init(), ExCSound::InitCom(), InitGlExtension(), InitManager(), ExManagerWindow::InputAction(), ExManagerTexture::InputAction(), ExManagerSound::InputAction(), ExManagerParticuleSystem::InputAction(), ExManagerNetwork::InputAction(), ExManagerModel::InputAction(), ExManagerMenu::InputAction(), ExManagerMap::InputAction(), ExManagerInterface::InputAction(), ExManagerId::InputAction(), ExManagerFog::InputAction(), ExManagerConsole::InputAction(), ExManagerCommand::InputAction(), ExManagerCamera::InputAction(), ExManagerWindow::InputCommand(), ExManagerSound::InputCommand(), ExManagerParticuleSystem::InputCommand(), ExManagerModel::InputCommand(), ExManagerMenu::InputCommand(), ExManagerMap::InputCommand(), ExManagerInterface::InputCommand(), ExManagerFog::InputCommand(), ExManagerConsole::InputCommand(), ExManagerCommand::InputCommand(), ExManagerCamera::InputCommand(), ExCInterface::InputCommand(), ExManagerInputGLUT::KeySpe(), ExManagerObject::List(), ExManagerModel::List(), ExManagerId::List(), ExManagerConsole::ListConsoleCommand(), ExCSocketServer::Listen(), ExManagerEntite::ListEntite(), ExManagerTexture::Load(), ExManagerParticuleSystem::Load(), ExManagerObject::Load(), ExManagerModel::Load(), ExManagerMenu::Load(), ExManagerInterface::Load(), ExCSystemeParticule::Load(), ExCSound::Load(), ExCModelMD2::Load(), ExCModel3DS::Load(), ExManagerModel::Load3DS(), ExManagerModel::LoadASC(), ExManagerEntite::LoadAsc(), ExCEntite::LoadAsc(), ExCComposed::LoadAsc(), ExManagerModel::LoadASE(), ExCImageLoader::LoadBMP(), ExManagerCommand::LoadCommandFile(), ExManagerCommand::LoadExecFile(), ExCTexture::LoadFile(), ExCObject::LoadFile(), ExCModelASC::LoadFile(), ExCMenu::LoadFile(), ExCInterface::LoadFile(), ExCImageLoader::LoadImage(), ExManagerMap::LoadMap(), ExCMap::LoadMap(), ExManagerModel::LoadMD2(), ExManagerModel::LoadMD3(), ExManagerEntite::LoadModel(), ExManagerModel::LoadOBJ(), ExCImageLoader::LoadPCX(), ExCImageLoader::LoadPCXFile(), ExCImageLoader::LoadPPM(), ExManagerCommand::LoadSetOfFile(), ExManagerSound::LoadSound(), ExManagerConsole::LoadStringActionFile(), ExCImageLoader::LoadTGA(), main(), ExCEntite::MakeList(), ExCComposed::MakeList(), ExCOctree::MeshInOctree(), ExManagerInputGLUT::MouseMotion(), ExManagerInputGLUT::MousePassiveMotion(), ExManagerWindow::Move(), ExManagerEntite::NewObject(), ExManagerCam::NewObject(), ExManagerConsole::NextAviableState(), ExManagerCam::NextCam(), ExManagerEntite::NextEntite(), ExManagerModel::NextFrame(), ExCModel::NextFrame(), ExCMenu::NextItem(), ExManagerObject::NextObject(), operator<<(), ExManagerParticuleSystem::Pause(), ExCSystemeParticule::Pause(), ExManagerParticuleSystem::PauseAll(), ExCSound::Play(), ExManagerSound::PlaySound(), ExCParticule::PrecalculeParticuleTrajectory(), ExManagerCam::PrevCam(), ExManagerEntite::PrevEntite(), ExManagerModel::PreviousFrame(), ExCModel::PreviousFrame(), ExCMenu::PreviousItem(), ExManagerObject::PreviousObject(), ExManagerCommand::ProcesExCAction(), ExCModelMD2::Process(), ExCCamera::Process(), ExManagerCommand::ProcessCommand(), ExCModelASC::ProcessLine(), ExCModel3DS::ReadChunk(), ExCModel3DS::ReadFace(), ExCModel3DS::ReadObject(), ExCModel3DS::ReadObjectInfo(), ExCModel3DS::ReadObjectMaterial(), ExCModel3DS::ReadUVCoordinates(), ExCModel3DS::ReadVertices(), ExManagerId::RecordObject(), ExManagerVertexArrays::RegisterArray(), ExManagerObject::Remove(), ExManagerEntite::Remove(), ExManagerCam::Remove(), ExManagerObject::RemoveCurrentObject(), ExManagerCommand::RemoveRepAction(), ExManagerSound::RemoveSound(), ExManagerVertexArrays::Reset(), ExManagerTexture::Reset(), ExManagerSound::Reset(), ExManagerObject::Reset(), ExManagerNetwork::Reset(), ExManagerMenu::Reset(), ExManagerLight::Reset(), ExManagerInterface::Reset(), ExManagerId::Reset(), ExManagerGizmo::Reset(), ExManagerFog::Reset(), ExManagerEntite::Reset(), ExManagerConsole::Reset(), ExManagerCamera::Reset(), ExManagerCam::Reset(), ExCLight::Reset(), ExCCamera::ResetZoom(), ExManagerOutput::Reshape(), RoutingtoConsole(), ExCTexture::SetActive(), ExManagerFog::SetAlgo(), ExCLight::SetAmbiant(), ExCLight::SetAmbiantA(), ExCLight::SetAmbiantB(), ExCLight::SetAmbiantG(), ExCLight::SetAmbiantR(), ExCCamera::SetClipFar(), ExCCamera::SetClipNear(), ExCMatrix4x4::SetColone(), ExManagerConsole::SetConsoleBackGroudTexture(), ExManagerConsole::SetConsoleState(), ExCLight::SetConstantAttenuation(), ExManagerCam::SetCurrentCam(), ExManagerEntite::SetCurrentEntite(), ExManagerEntite::SetCurrentEntiteName(), ExManagerModel::SetCurrentFrame(), ExCModel::SetCurrentFrame(), ExManagerTexture::SetCurrentObject(), ExManagerObject::SetCurrentObject(), ExManagerWindow::SetCursor(), ExManagerFog::SetDensity(), ExCLight::SetDiffuse(), ExCLight::SetDiffuseA(), ExCLight::SetDiffuseB(), ExCLight::SetDiffuseG(), ExCLight::SetDiffuseR(), ExManagerFog::SetEndPoint(), ExManagerFog::SetFogColor(), ExManagerFog::SetFogColorA(), ExManagerFog::SetFogColorB(), ExManagerFog::SetFogColorG(), ExManagerFog::SetFogColorR(), SetGlutCallBack(), ExCSocket::SetHandler(), ExManagerWindow::SetIconTitle(), ExCLight::SetLightNumber(), ExCMatrix4x4::SetLine(), ExCLight::SetLinearAttenuation(), SetManagerLink(), ExCMesh::SetMaterial(), ExCMatrix4x4::SetMatrix(), ExCTexture::SetName(), ExCAction::SetParam(), ExCSystemeParticule::SetParticuleSystemeName(), ExCSystemeParticule::SetParticuleTexture(), ExCSystemeParticule::SetParticuleType(), ExCParticule::SetParticuleType(), ExCLight::SetPosition(), ExCLight::SetPositionX(), ExCLight::SetPositionY(), ExCLight::SetPositionZ(), ExCLight::SetQuadraticAttenuation(), ExCEntite::SetRenderMode(), ExCComposed::SetRenderMode(), ExManagerWindow::SetResolution(), ExCSocket::SetSocketPort(), ExCLight::SetSpecular(), ExCLight::SetSpecularA(), ExCLight::SetSpecularB(), ExCLight::SetSpecularG(), ExCLight::SetSpecularR(), ExCLight::SetSpotCutOff(), ExCLight::SetSpotExponent(), ExManagerFog::SetStartPoint(), ExCLight::SetTarget(), ExCLight::SetTargetX(), ExCLight::SetTargetY(), ExCLight::SetTargetZ(), ExCMesh::SetVertex(), ExManagerWindow::SetWindowTitle(), ExCCamera::SetZoom(), ExCCamera::SetZoomDefault(), ExCCamera::SetZoomMax(), ExCCamera::SetZoomMin(), ExManagerWindow::ShowFps(), ExCObject3D::ShowInfo(), ExManagerInterface::ShowRegion(), ExCModel3DS::Skip(), ExManagerInputGLUT::SpaceballMotion(), ExManagerInputGLUT::SpaceballRotate(), ExManagerParticuleSystem::Start(), ExCSystemeParticule::Start(), ExCModelMD2::StartAction(), ExCModel::StartAction(), ExCCamera::StartAction(), ExManagerParticuleSystem::StartAll(), ExCModelMD2::StartRun(), ExCModel::StartRun(), ExManagerParticuleSystem::Stop(), ExCSystemeParticule::Stop(), ExCSound::Stop(), ExCModelMD2::StopAction(), ExCModel::StopAction(), ExCCamera::StopAction(), ExManagerParticuleSystem::StopAll(), ExCModelMD2::StopRun(), ExCModel::StopRun(), ExManagerSound::StopSound(), ExCOctree::SubDivise(), ExManagerInputGLUT::TabletButton(), ExManagerInputGLUT::TabletMotion(), ExCLight::TurnOff(), ExCLight::TurnOn(), ExManagerConsole::Write(), ExCCamera::ZoomIn(), ExCCamera::ZoomOut(), ExCAction::~ExCAction(), ExCCamera::~ExCCamera(), ExCCameraChase::~ExCCameraChase(), ExCCameraFirst::~ExCCameraFirst(), ExCCameraFree::~ExCCameraFree(), ExCEntite::~ExCEntite(), ExCFont::~ExCFont(), ExCGizmoRectangle::~ExCGizmoRectangle(), ExCInterface::~ExCInterface(), ExCLight::~ExCLight(), ExCMatrix4x4::~ExCMatrix4x4(), ExCMenu::~ExCMenu(), ExCModel::~ExCModel(), ExCModel3DS::~ExCModel3DS(), ExCModelASC::~ExCModelASC(), ExCModelASE::~ExCModelASE(), ExCModelMD::~ExCModelMD(), ExCModelMD2::~ExCModelMD2(), ExCModelMD3::~ExCModelMD3(), ExCModelOBJ::~ExCModelOBJ(), ExCOctree::~ExCOctree(), ExCParticule::~ExCParticule(), ExCParticuleLine::~ExCParticuleLine(), ExCParticulePoint::~ExCParticulePoint(), ExCParticuleTexture::~ExCParticuleTexture(), ExCSocket::~ExCSocket(), ExCSocketClient::~ExCSocketClient(), ExCSocketServer::~ExCSocketServer(), ExCSound::~ExCSound(), ExCSystemeParticule::~ExCSystemeParticule(), ExCTexture::~ExCTexture(), ExManagerCam::~ExManagerCam(), ExManagerConsole::~ExManagerConsole(), ExManagerEntite::~ExManagerEntite(), ExManagerFog::~ExManagerFog(), ExManagerGizmo::~ExManagerGizmo(), ExManagerId::~ExManagerId(), ExManagerLight::~ExManagerLight(), ExManagerObject::~ExManagerObject(), ExManagerOutput::~ExManagerOutput(), ExManagerParticuleSystem::~ExManagerParticuleSystem(), ExManagerTexture::~ExManagerTexture(), et ExManagerWindow::~ExManagerWindow().

#define Trace | ( | why |  | ) |

| Valeur:
    static char * __WHY__ = #why;\
                                                                                    time_t tt;struct tm *ttb;tt = time(NULL);ttb = localtime(&tt);\
                                                                                    std::cout<<"***********************TRACE***********************"<<std::endl;\
                                                                                    std::cout<<"* Date      : "<<asctime(ttb);\
                                                                                    std::cout<<"* Module    : "<<__FUNCTION_NAME__<<std::endl;\
                                                                                    std::cout<<"* Line      : "<<__LINE__<<std::endl;\
                                                                                    std::cout<<"* File      : "<<__FILE__<<std::endl;\
                                                                                    std::cout<<"* Make date : "<<__DATE__<<" "<<__TIME__<<std::endl;\
                                                                                    std::cout<<"* Cause     : "<<__WHY__<<std::endl;\
                                                                                    std::cout<<"* Error     : "<<errno<<std::endl;\
                                                                                    std::cout<<"***************************************************"<<std::endl;
Définition à la ligne 146 du fichier ExNihiloServer/ExCTrace.h. Référencé par ExCSocketClient::Connect(), ExCSocketServer::Init(), ExCSocketClient::Init(), et ExCSocketServer::Listen().

#define UnGuard

| Valeur:
    } catch (...) {\
                                                                                    time_t tt;struct tm *ttb;tt = time(NULL);ttb = localtime(&tt);\
                                                                                    std::cout<<"*********************CALL STACK*********************"<<std::endl;\
                                                                                    std::cout<<"* Date   : "<<asctime(ttb);\
                                                                                    std::cout<<"* Module : "<<__FUNCTION_NAME__<<std::endl;\
                                                                                    std::cout<<"* Line   : "<<__LINE__<<std::endl;\
                                                                                    std::cout<<"* File   : "<<__FILE__<<std::endl;\
                                                                                    std::cout<<"* Make date : "<<__DATE__<<" "<<__TIME__<<std::endl;\
                                                                                    std::cout<<"***************************************************"<<std::endl;\
                                                                                    throw; }
Définition à la ligne 114 du fichier ExNihiloServer/ExCTrace.h.