A class taking the input stream as a data source. Most commonly used to construct a data source from an NSCLDAQ event file on disk.
More...
#include <StreamDataSource.h>
A class taking the input stream as a data source. Most commonly used to construct a data source from an NSCLDAQ event file on disk.
◆ StreamDataSource()
StreamDataSource::StreamDataSource |
( |
RingItemFactoryBase * |
pFactory, |
|
|
std::istream & |
str |
|
) |
| |
Constructor.
- Parameters
-
pFactory | Pointer to the ring item factory. |
str | References the stream from which to get ring items. |
◆ ~StreamDataSource()
StreamDataSource::~StreamDataSource |
( |
| ) |
|
|
virtual |
◆ getItem()
CRingItem * StreamDataSource::getItem |
( |
| ) |
|
|
virtual |
Get a ring item from the soruce. Implementation of the mandatory interface from the base class.
- Returns
- Pointer to the next ring item from the stream.
- Return values
-
Implements DataSource.
The documentation for this class was generated from the following files: