Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4ObjectQueue Class Reference

Class containing a pointer queue for objects. More...

#include <TGo4ObjectQueue.h>

Inheritance diagram for TGo4ObjectQueue:

TGo4Queue List of all members.

Public Member Functions

 TGo4ObjectQueue ()
 TGo4ObjectQueue (const char *name)
virtual ~TGo4ObjectQueue ()
void AddObjectFromBuffer (TBuffer *buffer)
 Reconstruct a TObject queue entry from a given TBuffer pointer.
void AddObject (TObject *object, Bool_t clone=kFALSE)
 Add object pointer to queue.
TObject * WaitObject ()
 Wait for object from queue.

Detailed Description

Class containing a pointer queue for objects.

Is able to add any object contained in a TBuffer into the queue using the root streamer

Definition at line 26 of file TGo4ObjectQueue.h.


Constructor & Destructor Documentation

TGo4ObjectQueue::TGo4ObjectQueue  ) 
 

Definition at line 22 of file TGo4ObjectQueue.cxx.

References TRACE.

TGo4ObjectQueue::TGo4ObjectQueue const char *  name  ) 
 

Definition at line 28 of file TGo4ObjectQueue.cxx.

References TRACE.

TGo4ObjectQueue::~TGo4ObjectQueue  )  [virtual]
 

Definition at line 34 of file TGo4ObjectQueue.cxx.

References TRACE.


Member Function Documentation

void TGo4ObjectQueue::AddObjectFromBuffer TBuffer *  buffer  ) 
 

Reconstruct a TObject queue entry from a given TBuffer pointer.

To be used for streaming the receiving socket contents into the queue. Operation should be thread locked by the calling user.

Definition at line 61 of file TGo4ObjectQueue.cxx.

References TGo4Queue::Add(), and TRACE.

Referenced by main().

void TGo4ObjectQueue::AddObject TObject *  object,
Bool_t  clone = kFALSE
 

Add object pointer to queue.

We Renamed the protected baseclass method to avoid user confusion.

Definition at line 45 of file TGo4ObjectQueue.cxx.

References TGo4Queue::Add(), and TRACE.

Referenced by main(), and TGo4Task::SubmitLocalCommand().

TObject * TGo4ObjectQueue::WaitObject  ) 
 

Wait for object from queue.

We Renamed the protected baseclass method to avoid user confusion.

Definition at line 39 of file TGo4ObjectQueue.cxx.

References TRACE, and TGo4Queue::Wait().

Referenced by main(), and TGo4LocalCommandRunnable::Run().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:01:07 2008 for Go4-v3.04-1 by  doxygen 1.4.2