GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Public Member Functions | Protected Attributes | List of all members
TGo4MsgList Class Reference

#include <TGo4MsgList.h>

+ Inheritance diagram for TGo4MsgList:

Public Member Functions

 TGo4MsgList ()
 current id stored in the string More...
 
 TGo4MsgList (const char *name, const char *title, Int_t limit=1000)
 
virtual ~TGo4MsgList ()
 
void SetLimit (Int_t limit)
 
Int_t GetLimit () const
 
Int_t GetCounter () const
 
void AddMsg (const char *msg)
 
TList * Select (Int_t max=0, Long64_t id=0)
 
 ClassDefOverride (TGo4MsgList, 1)
 

Protected Attributes

TList fMsgs
 
Int_t fLimit {0}
 
Long64_t fCounter {0}
 
TList fSelect
 
TObjString fStrCounter
 temporary list used for selection More...
 

Detailed Description

Definition at line 21 of file TGo4MsgList.h.

Constructor & Destructor Documentation

◆ TGo4MsgList() [1/2]

TGo4MsgList::TGo4MsgList ( )

current id stored in the string

Definition at line 18 of file TGo4MsgList.cxx.

◆ TGo4MsgList() [2/2]

TGo4MsgList::TGo4MsgList ( const char *  name,
const char *  title,
Int_t  limit = 1000 
)

Definition at line 28 of file TGo4MsgList.cxx.

References fCounter, and fMsgs.

◆ ~TGo4MsgList()

TGo4MsgList::~TGo4MsgList ( )
virtual

Definition at line 45 of file TGo4MsgList.cxx.

References fMsgs.

Member Function Documentation

◆ AddMsg()

void TGo4MsgList::AddMsg ( const char *  msg)

Definition at line 50 of file TGo4MsgList.cxx.

References fCounter, fMsgs, and GetLimit().

Referenced by GetCounter(), SetLimit(), TGo4Sniffer::SetTitle(), and TGo4Sniffer::StatusMessage().

◆ ClassDefOverride()

TGo4MsgList::ClassDefOverride ( TGo4MsgList  ,
 
)

Referenced by GetCounter().

◆ GetCounter()

Int_t TGo4MsgList::GetCounter ( ) const
inline

Definition at line 44 of file TGo4MsgList.h.

References AddMsg(), ClassDefOverride(), fCounter, go4init::msg, and Select().

◆ GetLimit()

Int_t TGo4MsgList::GetLimit ( ) const
inline

Definition at line 42 of file TGo4MsgList.h.

References fLimit.

Referenced by AddMsg().

◆ Select()

TList * TGo4MsgList::Select ( Int_t  max = 0,
Long64_t  id = 0 
)

Definition at line 67 of file TGo4MsgList.cxx.

References fCounter, fMsgs, fSelect, and fStrCounter.

Referenced by GetCounter().

◆ SetLimit()

void TGo4MsgList::SetLimit ( Int_t  limit)
inline

Definition at line 37 of file TGo4MsgList.h.

References AddMsg(), and fLimit.

Member Data Documentation

◆ fCounter

Long64_t TGo4MsgList::fCounter {0}
protected

Definition at line 27 of file TGo4MsgList.h.

Referenced by AddMsg(), GetCounter(), Select(), and TGo4MsgList().

◆ fLimit

Int_t TGo4MsgList::fLimit {0}
protected

Definition at line 26 of file TGo4MsgList.h.

Referenced by GetLimit(), and SetLimit().

◆ fMsgs

TList TGo4MsgList::fMsgs
protected

Definition at line 25 of file TGo4MsgList.h.

Referenced by AddMsg(), Select(), TGo4MsgList(), and ~TGo4MsgList().

◆ fSelect

TList TGo4MsgList::fSelect
protected

Definition at line 28 of file TGo4MsgList.h.

Referenced by Select().

◆ fStrCounter

TObjString TGo4MsgList::fStrCounter
protected

temporary list used for selection

Definition at line 29 of file TGo4MsgList.h.

Referenced by Select().


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