Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MsgService.h File Reference

#include <iosfwd>
#include <map>
#include <stdexcept>
#include "MessageService/Msg.h"
#include "MessageService/MsgStream.h"
#include "MessageService/MsgCatStream.h"
#include <string>

Go to the source code of this file.

Classes

class  MSGException
class  MsgService
class  MsgService::Init

Defines

#define TOKCAT(x, y)   x##y
#define TOKCAT2(x, y)   TOKCAT(x,y)
#define LINECAT(x)   TOKCAT2(x, __LINE__ )
#define CVSID(x)   static const char* __CVSID__ = x
#define MSG(s, l)
#define MSGSTREAM(s, l)   ((*(MsgService::Instance())->GetStream(s))(l,__FILE__,__CVSID__,__LINE__))
#define MSG_ONLY_COUNT(s, l)
#define MAXMSG(s, l, c)

Variables

MsgService::Init __msginit


Define Documentation

#define CVSID  )     static const char* __CVSID__ = x
 

Definition at line 151 of file MsgService.h.

#define LINECAT  )     TOKCAT2(x, __LINE__ )
 

Definition at line 141 of file MsgService.h.

#define MAXMSG s,
l,
 ) 
 

Value:

static int LINECAT(MSGCNT) =0; \
  const char* LINECAT(MSGADD) = (++LINECAT(MSGCNT)==c)?"..Last Message (counting continues).. ":""; \
  if(LINECAT(MSGCNT) > c || LINECAT(MSGCNT) < 0) {MSG_ONLY_COUNT(s,l);} else MSG(s,l) << LINECAT(MSGADD)

Definition at line 194 of file MsgService.h.

#define MSG s,
 ) 
 

Value:

if ( !MsgService::Instance()->IsActive(s,l) ) { ; } else \
   ((*(MsgService::Instance())->GetStream(s))(l,__FILE__,__CVSID__,__LINE__))

Definition at line 164 of file MsgService.h.

#define MSG_ONLY_COUNT s,
 ) 
 

Value:

if ( !MsgService::Instance()->IsActive(s,l) ) { ; } else \
   ((MsgService::Instance())->GetStream(s)->LogPrint(l,__FILE__))

Definition at line 190 of file MsgService.h.

#define MSGSTREAM s,
 )     ((*(MsgService::Instance())->GetStream(s))(l,__FILE__,__CVSID__,__LINE__))
 

Definition at line 167 of file MsgService.h.

Referenced by DDSFileHandler::BuildFileIndex(), JobCDemoModuleA::Config(), DbiValidityRecBuilder::DbiValidityRecBuilder(), DataFT::DumpTrack(), DataFT::FillLinWithSpline(), DataFT::FillUArrays(), DataFT::FillVArrays(), PTSimModule::HandleCommand(), JobCDemoModuleA::HandleCommand(), IoInputModule::List(), main(), manyMessageExample(), SwimPlaneInterface::Print(), SwimGeo::Print(), FitContext::Print(), ConvergenceMaster::MaskStep::Print(), FitContext::PrintCurrentFit(), DataFT::PrintData(), ConvergenceMaster::MaskStep::PrintMasks(), ConvergenceMaster::PrintMasks(), DataFT::PrintMomenta(), PerOutputStreamManager::Put(), JobCModule::Report(), DemoMCFilter::Report(), DbiRollbackDates::Show(), DbiTableProxyRegistry::ShowStatistics(), MatrixCalculator::Solve(), and DataFT::SwimAsSwimmer().

#define TOKCAT x,
 )     x##y
 

Definition at line 135 of file MsgService.h.

#define TOKCAT2 x,
 )     TOKCAT(x,y)
 

Definition at line 138 of file MsgService.h.


Variable Documentation

struct MsgService::Init __msginit [static]
 

Definition at line 129 of file MsgService.h.


Generated on Thu Nov 19 23:13:17 2009 for loon by  doxygen 1.3.9.1