Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

trazas.hpp File Reference

#include "ace/Thread.h"
#include "ace/Synch_T.h"
#include "ace/Synch.h"
#include <fstream>
#include <strstream>
#include <map>
#include <string>

Include dependency graph for trazas.hpp:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  TRAZAS

Defines

#define NIVEL_NULO   0
#define NIVEL_SUCESO   1
#define NIVEL_TRAZA   2
#define NIVEL_DEPURA   3
#define NIVEL_DEFINIDO_TRAZAS   3
#define INICIO_TRAZAS(directorio, argv0)   TRAZAS::Contenedor::inicializa(directorio, argv0);
#define O_DEPURA(cadena)
#define DEPURA(cadena)
#define O_TRAZA(cadena)
#define TRAZA(cadena)
#define O_SUCESO(cadena)
#define SUCESO(cadena)
#define PON_NIVEL_TRAZAS(nivel)   TRAZAS::Contenedor::ponNivel(nivel)
#define FICHERO_TRAZA(cadena)   TRAZAS::Contenedor::ponFichero(ACE_Thread::self(), cadena);


Define Documentation

#define DEPURA cadena   
 

Value:

if (TRAZAS::Contenedor::dameNivel() >= NIVEL_DEPURA) \
    { \
      std::strstream *__Aux_StrStream__ = new std::strstream; \
      (*__Aux_StrStream__) << cadena << std::ends; \
      char * __Aux_Cadena__ = __Aux_StrStream__->str(); \
      TRAZAS::Contenedor::escribeTraza(ACE_Thread::self(), __Aux_Cadena__); \
      delete __Aux_Cadena__; \
      delete __Aux_StrStream__; \
    }

#define FICHERO_TRAZA cadena       TRAZAS::Contenedor::ponFichero(ACE_Thread::self(), cadena);
 

#define INICIO_TRAZAS directorio,
argv0       TRAZAS::Contenedor::inicializa(directorio, argv0);
 

#define NIVEL_DEFINIDO_TRAZAS   3
 

#define NIVEL_DEPURA   3
 

#define NIVEL_NULO   0
 

#define NIVEL_SUCESO   1
 

#define NIVEL_TRAZA   2
 

#define O_DEPURA cadena   
 

Value:

std::strstream *__Aux_StrStream__ = new std::strstream; \
    (*__Aux_StrStream__) << cadena << std::ends; \
    char * __Aux_Cadena__ = __Aux_StrStream__->str(); \
    TRAZAS::TrazaMetodo __Aux_Obj_Traza__(__Aux_Cadena__, NIVEL_DEPURA); \
    delete __Aux_Cadena__; \
    delete __Aux_StrStream__;

#define O_SUCESO cadena   
 

Value:

std::strstream *__Aux_StrStream__ = new std::strstream; \
    (*__Aux_StrStream__) << cadena << std::ends; \
    char * __Aux_Cadena__ = __Aux_StrStream__->str(); \
    TRAZAS::TrazaMetodo __Aux_Obj_Traza__(__Aux_Cadena__, NIVEL_SUCESO); \
    delete __Aux_Cadena__; \
    delete __Aux_StrStream__;

#define O_TRAZA cadena   
 

Value:

std::strstream *__Aux_StrStream__ = new std::strstream; \
    (*__Aux_StrStream__) << cadena << std::ends; \
    char * __Aux_Cadena__ = __Aux_StrStream__->str(); \
    TRAZAS::TrazaMetodo __Aux_Obj_Traza__(__Aux_Cadena__, NIVEL_TRAZA); \
    delete __Aux_Cadena__; \
    delete __Aux_StrStream__;

#define PON_NIVEL_TRAZAS nivel       TRAZAS::Contenedor::ponNivel(nivel)
 

#define SUCESO cadena   
 

Value:

if (TRAZAS::Contenedor::dameNivel() >= NIVEL_SUCESO) \
    { \
      std::strstream *__Aux_StrStream__ = new std::strstream; \
      (*__Aux_StrStream__) << cadena << std::ends; \
      char * __Aux_Cadena__ = __Aux_StrStream__->str(); \
      TRAZAS::Contenedor::escribeTraza(ACE_Thread::self(), __Aux_Cadena__); \
      delete __Aux_Cadena__; \
      delete __Aux_StrStream__; \
    }

#define TRAZA cadena   
 

Value:

if (TRAZAS::Contenedor::dameNivel() >= NIVEL_TRAZA) \
    { \
      std::strstream *__Aux_StrStream__ = new std::strstream; \
      (*__Aux_StrStream__) << cadena << std::ends; \
      char * __Aux_Cadena__ = __Aux_StrStream__->str(); \
      TRAZAS::Contenedor::escribeTraza(ACE_Thread::self(), __Aux_Cadena__); \
      delete __Aux_Cadena__; \
      delete __Aux_StrStream__; \
    }


Generated on Wed Mar 5 21:33:58 2003 for JIC by doxygen1.3-rc3