NAME

ACE_Trace_State - This is a thread-specific Singleton.

SYNOPSIS


#include <ace/Trace.h>


class ACE_Trace_State
{
  public:
    friend ;
  private:
    ACE_Trace_State (void);
    ~ACE_Trace_State (void);
    int inc (void);
    int dec (void);
    int trace_active (void);
    void trace_active (int value);
    void stop_tracing (void);
    void start_tracing (void);
    int tracing_enabled (void);
    int depth_;
    int trace_active_;
    int tracing_enabled_;
};

DESCRIPTION

Instances of this class are stored in thread-specific storage (TSS) and used to keep track of the depth of the Tracing and whether tracing is being invoked recursively from within an ACE_ERROR or ACE_DEBUG macro (to avoid infinite recursion).

PUBLIC MEMBERS

friend ;

PRIVATE MEMBERS

ACE_Trace_State (void);
~ACE_Trace_State (void);
int inc (void);
int dec (void);
int trace_active (void);
void trace_active (int value);
void stop_tracing (void);
void start_tracing (void);
int tracing_enabled (void);
int depth_;
int trace_active_;
int tracing_enabled_;

AUTHOR

Doug Schmidt

Nesting depth increment and decrement.

LIBRARY

ace