StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
StMessMgr Class Referenceabstract

#include <StMessMgr.h>

Inheritance diagram for StMessMgr:
StLoggerManager StMessageManager

Public Types

enum  ESTARMakerErrorLevels {
  kAll =-5, kFatal, kError, kWarning,
  kInfo, kDefault, kDebug, kDebug2
}
 

Public Member Functions

 StMessMgr (const StMessMgr &)
 
virtual std::ostream & OperatorShift (std::ostream &os, StMessage *stm)=0
 
virtual std::ostringstream & Message (const char *mess="", const char *type="", const char *opt=0, const char *sourceFileName=0, int lineNumber=-1)=0
 
virtual void Print ()=0
 
virtual int PrintList (messVec *list)=0
 
virtual int PrintAll ()=0
 
virtual StMessageFindMessage (const char *s1, const char s2[]="", const char *s3="", const char *s4="", messVec *list=0)=0
 
virtual messVec * FindMessageList (const char *s1, const char *s2="", const char *s3="", const char *s4="", messVec *list=0)=0
 
virtual int RemoveMessage (StMessage *mess)=0
 
virtual int RemoveMessage (const char *s1, const char *s2="", const char *s3="", const char *s4="")=0
 
virtual void SetLimit (const char *str, int n=0)=0
 
virtual int GetLimit (const char *str)=0
 
virtual void ListLimits ()=0
 
virtual void RemoveLimit (const char *str)=0
 
virtual void SetLevel (Int_t logLevel)=0
 
virtual Int_t GetLevel (Int_t logLevel) const =0
 
virtual const char * GetName () const =0
 
virtual void SwitchOff (const char *str)=0
 
virtual void SwitchOn (const char *str)=0
 
virtual void FixOn (const char *str)=0
 
virtual void NoLimits ()=0
 
virtual void Summary (size_t nTerms=1)=0
 
virtual void MemorySummary ()=0
 
virtual void MemoryOn ()=0
 
virtual void MemoryOff ()=0
 
virtual int AddType (const char *type, const char *text)=0
 
virtual int ListTypes ()=0
 
virtual void Close ()
 
virtual bool isDebugEnabled () const
 
virtual bool isWarnEnabled () const
 
virtual bool isWarningEnabled () const
 
virtual bool isErrorEnabled () const
 
virtual bool isInfoEnabled () const
 
virtual bool isFatalEnabled () const
 
virtual bool isEnabledFor () const
 
virtual bool isQAInfoEnabled () const
 
virtual bool isUCMInfoEnabled () const
 
virtual std::ostringstream & Info (const char *mess="", const char *opt="O", const char *sourceFileName=0, int lineNumber=-1)=0
 
virtual int PrintInfos ()=0
 
virtual const messVec * GetInfos ()=0
 
virtual StMessageFindInfo (const char *s1, const char *s2="", const char *s3="", const char *s4="")=0
 
virtual messVec * FindInfoList (const char *s1, const char *s2="", const char *s3="", const char *s4="")=0
 
virtual std::ostringstream & Warning (const char *mess="", const char *opt="E", const char *sourceFileName=0, int lineNumber=-1)=0
 
virtual int PrintWarnings ()=0
 
virtual const messVec * GetWarnings ()=0
 
virtual StMessageFindWarning (const char *s1, const char *s2="", const char *s3="", const char *s4="")=0
 
virtual messVec * FindWarningList (const char *s1, const char *s2="", const char *s3="", const char *s4="")=0
 
virtual std::ostringstream & Error (const char *mess="", const char *opt="E", const char *sourceFileName=0, int lineNumber=-1)=0
 
virtual int PrintErrors ()=0
 
virtual const messVec * GetErrors ()=0
 
virtual StMessageFindError (const char *s1, const char *s2="", const char *s3="", const char *s4="")=0
 
virtual messVec * FindErrorList (const char *s1, const char *s2="", const char *s3="", const char *s4="")=0
 
virtual std::ostringstream & Debug (const char *mess="", const char *opt="OT", const char *sourceFileName=0, int lineNumber=-1)=0
 
virtual int PrintDebug ()=0
 
virtual const messVec * GetDebugs ()=0
 
virtual StMessageFindDebug (const char *s1, const char *s2="", const char *s3="", const char *s4="")=0
 
virtual messVec * FindDebugList (const char *s1, const char *s2="", const char *s3="", const char *s4="")=0
 
virtual std::ostringstream & QAInfo (const char *mess="", const char *opt="OS", const char *sourceFileName=0, int lineNumber=-1)=0
 
virtual int PrintQAInfo ()=0
 
virtual const messVec * GetQAInfos ()=0
 
virtual StMessageFindQAInfo (const char *s1, const char *s2="", const char *s3="", const char *s4="")=0
 
virtual messVec * FindQAInfoList (const char *s1, const char *s2="", const char *s3="", const char *s4="")=0
 
virtual std::ostringstream & UCMInfo (const char *mess="", const char *opt="OS", const char *sourceFileName=0, int lineNumber=-1)=0
 
virtual int PrintUCMInfo ()=0
 
virtual const messVec * GetUCMInfos ()=0
 
virtual StMessageFindUCMInfo (const char *s1, const char *s2="", const char *s3="", const char *s4="")=0
 
virtual messVec * FindUCMInfoList (const char *s1, const char *s2="", const char *s3="", const char *s4="")=0
 
virtual std::ostringstream & out (const char *mess="")=0
 
virtual std::ostringstream & err (const char *mess="")=0
 
virtual void PrintInfo ()=0
 
virtual std::ostringstream & Fatal (const char *mess="", const char *opt="OT", const char *sourceFileName=0, int lineNumber=-1)=0
 

Static Public Member Functions

static StMessMgrCurrentMessager ()
 
static StMessMgrInstance ()
 
static StMessMgrInstance (const char *)
 
static StMessMgrSetCurrentMessager (StMessMgr *mgr=0)
 

Protected Member Functions

virtual void IgnoreRepeats ()=0
 
virtual void AllowRepeats ()=0
 
StMessMgroperator= (const StMessMgr &)
 
virtual StMessMgrInstantiate ()
 
virtual StMessMgrInstantiate (const char *)
 

Friends

class StBFChain
 
ostream & operator<< (ostream &, StMessage *)
 
ostream & operator++ (StMessMgr &)
 
ostream & operator- (StMessMgr &)
 
ostream & operator-- (StMessMgr &)
 
ostream & operator~ (StMessMgr &)
 

Detailed Description

Author
G. Van Buren, BNL

This class provides the interface for STAR offline messaging. It is an abstract class which is inherited by the StMessageManager class. StMessageManager implements the functionality for managing messages, which are instances of the class StMessage. For more details refer to the StMessageManager class.

See Also
http://www.star.bnl.gov/STAR/comp/pkg/dev/StRoot/StUtilities/doc/StMessMgr.html

Definition at line 108 of file StMessMgr.h.


The documentation for this class was generated from the following files: