BOSS 7.0.2
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 |
FIFOStream () | |
FIFOStream (const FIFOStream &other) | |
~FIFOStream () | |
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 |
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 |
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 Event/ers/ers-00-00-03/ers/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.
ers::FIFOStream::FIFOStream | ( | ) |
ers::FIFOStream::FIFOStream | ( | const FIFOStream & | other | ) |
ers::FIFOStream::~FIFOStream | ( | ) |
|
virtual |
Reimplemented from ers::Stream.
Definition at line 63 of file FIFOStream.cxx.
|
virtual |
Reimplemented from ers::Stream.
|
virtual |
Blocking read into the stream.
Reimplemented from ers::Stream.
Definition at line 56 of file FIFOStream.cxx.
|
virtual |
Receives an issue from the stream.
Reads an isssue on the stream
Reimplemented from ers::Stream.
|
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.
|
virtual |
Sends an issue into the stream.
Sends the issue to the stream.
i | the issue to send |
Reimplemented from ers::Stream.
|
static |
Key for FIFO stream
Definition at line 27 of file Event/ers/ers-00-00-03/ers/FIFOStream.h.
Referenced by print_to().
|
protected |
Definition at line 25 of file Event/ers/ers-00-00-03/ers/FIFOStream.h.
Referenced by FIFOStream().