#include <TGo4ObjectQueue.h>
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. |
Is able to add any object contained in a TBuffer into the queue using the root streamer
Definition at line 24 of file TGo4ObjectQueue.h.
TGo4ObjectQueue::TGo4ObjectQueue | ( | ) |
Definition at line 20 of file TGo4ObjectQueue.cxx.
TGo4ObjectQueue::TGo4ObjectQueue | ( | const char * | name | ) |
Definition at line 26 of file TGo4ObjectQueue.cxx.
TGo4ObjectQueue::~TGo4ObjectQueue | ( | ) | [virtual] |
Definition at line 32 of file TGo4ObjectQueue.cxx.
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 59 of file TGo4ObjectQueue.cxx.
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 43 of file TGo4ObjectQueue.cxx.
TObject * TGo4ObjectQueue::WaitObject | ( | ) |
Wait for object from queue.
We Renamed the protected baseclass method to avoid user confusion.
Definition at line 37 of file TGo4ObjectQueue.cxx.