CARMA C++
Trace.h File Reference

Interface file for the carma::util::Trace class and related macros. More...

#include <sstream>
#include "carma/util/FacilityType.h"

Go to the source code of this file.

Classes

class  carma::util::Trace
 The Trace class provides an efficient means for managing debug statements throughout CARMA code. More...
 

Namespaces

module  carma
 IDL for bima Rx Control, inherits from antenna::common::RxControl.
 
 carma::util
 Utility classes.
 
 log4cpp
 AntennaControlImpl Corba control implementation.
 

Macros

#define CARMA_CPTRACE(priorityLevel, message)
 Macro for people who just want to use the Trace object created for them in carma::util::Program. More...
 
#define CARMA_TRACE(traceObject, priorityLevel, message)
 Macro for Trace output. More...
 
#define CARMA_TRACELINE
 Macro for giving file and location information. More...
 
#define CPTRACE(priorityLevel, message)   CARMA_CPTRACE(priorityLevel, message)
 Old deprecated macro name for CARMA_CPTRACE. More...
 

Detailed Description

Interface file for the carma::util::Trace class and related macros.

Author
Chul Gwon

Definition in file Trace.h.

Macro Definition Documentation

#define CARMA_CPTRACE (   priorityLevel,
  message 
)

Macro for people who just want to use the Trace object created for them in carma::util::Program.

Note: renamed os to carmaUtilTraceOss to avoid clashes with code that may use os as a local variable.

Definition at line 59 of file Trace.h.

#define CARMA_TRACE (   traceObject,
  priorityLevel,
  message 
)

Macro for Trace output.

Need to pass through the Trace object as well as the desired output message

Note: renamed os to carmaUtilTraceOss to avoid clashes with code that may use os as a local variable.

Definition at line 37 of file Trace.h.

#define CARMA_TRACELINE

Macro for giving file and location information.

Definition at line 27 of file Trace.h.

#define CPTRACE (   priorityLevel,
  message 
)    CARMA_CPTRACE(priorityLevel, message)

Old deprecated macro name for CARMA_CPTRACE.

Deprecated:
Please use CARMA_CPTRACE instead.

Definition at line 78 of file Trace.h.