LegacyStreamReader

The StreamReader class is the utilitiy for reading data from a Rogue file in a streaming fashion. This class supports the file format used in the older XmlDaq platform.

LegacyStreamReader objects in C++ are referenced by the following shared pointer typedef:

typedef std::shared_ptr<rogue::utilities::fileio::LegacyStreamReader> rogue::utilities::fileio::LegacyStreamReaderPtr

The class description is shown below:

class LegacyStreamReader : public rogue::interfaces::stream::Master

Stream writer central class.

Public Functions

LegacyStreamReader()

Creator.

~LegacyStreamReader()

Deconstructor.

void open(std::string file)

Read from the data file.

void close()

Close and stop thread.

void closeWait()

Close when done.

bool isActive()

Return true while reading.

Public Static Functions

static std::shared_ptr<rogue::utilities::fileio::LegacyStreamReader> create()

Class creation.

static void setup_python()

Setup class in python.