#include <TRawEventOnlineFileSource.h>
Constructor & Destructor Documentation
TRawEventOnlineFileSource::TRawEventOnlineFileSource |
( |
const std::string & |
filename, |
|
|
kFileType |
file_type |
|
) |
| |
TRawEventOnlineFileSource::~TRawEventOnlineFileSource |
( |
| ) |
|
Member Function Documentation
int TRawEventOnlineFileSource::ReadBytes |
( |
char * |
buf, |
|
|
size_t |
size |
|
) |
| |
|
virtual |
Given a buffer, fill the buffer with at most size
bytes.
- Parameters
-
buf | The buffer to be filled. |
size | The maximum number of bytes to be read. |
- Returns
- The number of bytes that were read. Should return zero at end of file. Should return a negative value in the case of error.
Implements TRawEventByteSource.
int TRawEventOnlineFileSource::single_read |
( |
char * |
buf, |
|
|
size_t |
size |
|
) |
| |
|
private |
std::string TRawEventOnlineFileSource::SourceDescription |
( |
| ) |
const |
|
virtual |
Member Data Documentation
FILE* TRawEventOnlineFileSource::fFile |
|
private |
std::string TRawEventOnlineFileSource::fFilename |
|
private |
The documentation for this class was generated from the following files: