#include <TGo4Queue.h>
Public Member Functions | |
TGo4Queue () | |
TGo4Queue (const char *name) | |
virtual | ~TGo4Queue () |
virtual void | Clear (Option_t *opt="") |
virtual void | Wake () |
Bool_t | IsEmpty () |
Int_t | GetEntries () const |
void | SetMaxEntries (Int_t max) |
Protected Member Functions | |
TObject * | Next () |
TObject * | Wait () |
void | Add (TObject *ob) |
Private Attributes | |
TMutex * | fxMutex |
TCondition * | fxCondition |
TList * | fxList |
Int_t | fiEntries |
Int_t | fiMaxEntries |
Bool_t | fbWakeUpCall |
TObject pointers are transported in queue without streaming. Subclasses may specialize the behaviour on adding and waiting.
Definition at line 31 of file TGo4Queue.h.
TGo4Queue::TGo4Queue | ( | ) |
Definition at line 26 of file TGo4Queue.cxx.
TGo4Queue::TGo4Queue | ( | const char * | name | ) |
Definition at line 35 of file TGo4Queue.cxx.
TGo4Queue::~TGo4Queue | ( | ) | [virtual] |
Definition at line 43 of file TGo4Queue.cxx.
void TGo4Queue::Clear | ( | Option_t * | opt = "" |
) | [virtual] |
void TGo4Queue::Wake | ( | ) | [virtual] |
Definition at line 102 of file TGo4Queue.cxx.
Bool_t TGo4Queue::IsEmpty | ( | ) |
Definition at line 96 of file TGo4Queue.cxx.
Int_t TGo4Queue::GetEntries | ( | ) | const [inline] |
Definition at line 46 of file TGo4Queue.h.
void TGo4Queue::SetMaxEntries | ( | Int_t | max | ) | [inline] |
Definition at line 48 of file TGo4Queue.h.
TObject * TGo4Queue::Next | ( | ) | [protected] |
Definition at line 71 of file TGo4Queue.cxx.
TObject * TGo4Queue::Wait | ( | ) | [protected] |
Definition at line 56 of file TGo4Queue.cxx.
void TGo4Queue::Add | ( | TObject * | ob | ) | [protected] |
Definition at line 77 of file TGo4Queue.cxx.
TMutex* TGo4Queue::fxMutex [private] |
Definition at line 58 of file TGo4Queue.h.
TCondition* TGo4Queue::fxCondition [private] |
Definition at line 59 of file TGo4Queue.h.
TList* TGo4Queue::fxList [private] |
Definition at line 60 of file TGo4Queue.h.
Int_t TGo4Queue::fiEntries [private] |
Definition at line 61 of file TGo4Queue.h.
Int_t TGo4Queue::fiMaxEntries [private] |
Definition at line 62 of file TGo4Queue.h.
Bool_t TGo4Queue::fbWakeUpCall [private] |
Definition at line 63 of file TGo4Queue.h.