StRoot
1
|
#include <StMessMgr.h>
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 StMessage * | FindMessage (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 StMessage * | FindInfo (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 StMessage * | FindWarning (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 StMessage * | FindError (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 StMessage * | FindDebug (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 StMessage * | FindQAInfo (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 StMessage * | FindUCMInfo (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 StMessMgr * | CurrentMessager () |
static StMessMgr * | Instance () |
static StMessMgr * | Instance (const char *) |
static StMessMgr * | SetCurrentMessager (StMessMgr *mgr=0) |
Protected Member Functions | |
virtual void | IgnoreRepeats ()=0 |
virtual void | AllowRepeats ()=0 |
StMessMgr & | operator= (const StMessMgr &) |
virtual StMessMgr * | Instantiate () |
virtual StMessMgr * | Instantiate (const char *) |
Friends | |
class | StBFChain |
ostream & | operator<< (ostream &, StMessage *) |
ostream & | operator++ (StMessMgr &) |
ostream & | operator- (StMessMgr &) |
ostream & | operator-- (StMessMgr &) |
ostream & | operator~ (StMessMgr &) |
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.
Definition at line 108 of file StMessMgr.h.