BOSS 7.0.8
BESIII Offline Software System
|
Queue stream. More...
#include <FIFOStream.h>
Public Member Functions | |
FIFOStream () | |
FIFOStream (const FIFOStream &other) | |
~FIFOStream () | |
virtual void | send (const Issue *i) |
virtual Issue * | receive () |
virtual void | print_to (std::ostream &stream) const |
Public Member Functions inherited from ers::Stream | |
Stream () | |
Stream (const Stream &other) | |
operator std::string () const | |
virtual | ~Stream () |
virtual void | send (const Issue *i) |
Sends an issue into the stream. | |
virtual Issue * | receive () |
Receives an issue from the stream. | |
virtual void | print_to (std::ostream &stream) const |
Static Public Attributes | |
static const char *const | FIFO_STREAM_KEY = "fifo" |
Static Public Attributes inherited from ers::Stream | |
static const char *const | NULL_STREAM_KEY = "null" |
Protected Attributes | |
std::deque< Issue * > | m_issue_queue |
Queue stream.
This streams is used to transmit Issues inside a process.
Definition at line 22 of file FIFOStream.h.
ers::FIFOStream::FIFOStream | ( | ) |
Definition at line 28 of file FIFOStream.cxx.
ers::FIFOStream::FIFOStream | ( | const FIFOStream & | other | ) |
Definition at line 30 of file FIFOStream.cxx.
ers::FIFOStream::~FIFOStream | ( | ) |
Definition at line 37 of file FIFOStream.cxx.
|
virtual |
Reimplemented from ers::Stream.
Definition at line 63 of file FIFOStream.cxx.
|
virtual |
Blocking read into the stream.
Reimplemented from ers::Stream.
Definition at line 56 of file FIFOStream.cxx.
|
virtual |
Sends the issue into the stream. This method should put the issue into a FIFO queue and be non blocking
i | pointer to the issue to send |
Reimplemented from ers::Stream.
Definition at line 45 of file FIFOStream.cxx.
|
static |
|
protected |
Definition at line 25 of file FIFOStream.h.
Referenced by FIFOStream().