From 6d98a0829f6bc257d4ddeba7ae3a83169accffbc Mon Sep 17 00:00:00 2001 From: prascle Date: Wed, 19 Jan 2005 06:25:53 +0000 Subject: [PATCH] PR: add comments to differentiate LocalTraceCollector and SALOMETraceCollector --- src/SALOMELocalTrace/LocalTraceCollector.cxx | 3 +++ src/SALOMELocalTrace/LocalTraceCollector.hxx | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/SALOMELocalTrace/LocalTraceCollector.cxx b/src/SALOMELocalTrace/LocalTraceCollector.cxx index 37c2557ec..e150db6d9 100644 --- a/src/SALOMELocalTrace/LocalTraceCollector.cxx +++ b/src/SALOMELocalTrace/LocalTraceCollector.cxx @@ -44,6 +44,9 @@ std::string LocalTraceCollector::_fileName = ""; // ============================================================================ /*! + * This class is for use without CORBA, outside SALOME. + * SALOME uses SALOMETraceCollector, to allow trace collection via CORBA. + * * guarantees a unique object instance of the class (singleton thread safe) * a separate thread for loop to print traces is launched. * \param typeTrace 0=standard out, 1=file(/tmp/tracetest.log) diff --git a/src/SALOMELocalTrace/LocalTraceCollector.hxx b/src/SALOMELocalTrace/LocalTraceCollector.hxx index bad917721..d9ce36f5f 100644 --- a/src/SALOMELocalTrace/LocalTraceCollector.hxx +++ b/src/SALOMELocalTrace/LocalTraceCollector.hxx @@ -30,6 +30,8 @@ #include #include "LocalTraceBufferPool.hxx" +//! See SALOMETraceCollector instead of LocalTraceCollector for SALOME usage + class LocalTraceCollector { public: -- 2.39.2