#include <TRawEventSource.h>
Constructor & Destructor Documentation
TRawEventPipeSource::TRawEventPipeSource |
( |
const std::string & |
command, |
|
|
kFileType |
file_type |
|
) |
| |
TRawEventPipeSource::~TRawEventPipeSource |
( |
| ) |
|
Member Function Documentation
int TRawEventPipeSource::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.
std::string TRawEventPipeSource::SourceDescription |
( |
| ) |
const |
|
virtual |
Member Data Documentation
std::string TRawEventPipeSource::fCommand |
|
private |
FILE* TRawEventPipeSource::fPipe |
|
private |
The documentation for this class was generated from the following files: