1 #ifndef DATAQUEUE_LOG_HH 
    2 #define DATAQUEUE_LOG_HH 
    7 #include <boost/thread/mutex.hpp> 
   60   void add(std::string 
const& tag)
 
   62     boost::mutex::scoped_lock lock(
m_mutex);
 
   64     container_t::iterator 
const it = 
m_counters.find(tag);
 
   75     boost::mutex::scoped_lock lock(
m_mutex);
 
   79   void reset(std::string 
const& tag)
 
   81     boost::mutex::scoped_lock lock(
m_mutex);
 
   83     container_t::iterator 
const it = 
m_counters.find(tag);
 
   93     boost::mutex::scoped_lock lock(c.
m_mutex);
 
  100       stream << it->first << 
": " << it->second << 
", ";
 
  109 #define LOG_DEBUG   Log::Logger(Log::cDebug  ).stream() 
  110 #define LOG_WARNING Log::Logger(Log::cWarning).stream() 
  111 #define LOG_ERROR   Log::Logger(Log::cError  ).stream() 
  112 #define LOG_NOTICE  Log::Logger(Log::cNotice ).stream() 
  113 #define LOG_STATUS  Log::Logger(Log::cDebug  ).stream() 
  115 #endif // DATAQUEUE_LOG_HH 
friend std::ostream & operator<<(std::ostream &stream, Counter const &c)
 
std::ostringstream & stream()
 
std::map< std::string, unsigned int > container_t
 
void reset(std::string const &tag)
 
std::ostringstream m_stream
 
~Logger()
Logger without Jpp. 
 
void add(std::string const &tag)
 
JLog< JF1_t > Log(const JF1_t &f1)
Logarithm of function. 
 
$WORKDIR ev_configure_dqsimulator txt echo process $DQ_SIMULATOR $i $SOURCE_HOST[$index] csh c(setenv ROOTSYS $ROOTSYS &&source $JPP_DIR/setenv.csh $JPP_DIR &&($DQ_SIMULATOR\-u\$NAME\$\-H\$SERVER\$\-M\$LOGGER\$\-d $DEBUG</dev/null > &/dev/null &))'
 
Counter & operator=(Counter const &)