36 int read(
char* buf,
int max);
A class to manage I/O for a chain of blocked files.
~PXDLocalDAQFile()
Destructor.
int read_data(char *data, size_t len)
Read a record from a file.
void openFile(std::string filename)
actually open the file
std::unique_ptr< std::ios > m_stream
pointer to the filtering input or output stream
bool m_compressed
is file bzip2 compressed?
int status() const
Returns status after constructor call.
PXDLocalDAQFile(const PXDLocalDAQFile &)=delete
No copying.
PXDLocalDAQFile & operator=(const PXDLocalDAQFile &)=delete
No assignment.
std::string m_filename
Name of the opened file.
int read(char *buf, int max)
Read a record from a file.
Abstract base class for different kinds of events.