|
|
virtual int64_t | pad_bytes (unsigned char *buffer, int64_t bytes) |
| | Pads gaps in data.
|
| |
|
void | open_file (const char *filename) |
| | Open the file.
|
| |
|
int | get_header (char *pmdaq_header, const char *filename) |
| | Initialises 'pmdaq_header' with the header info.
|
| |
|
void | set_chan_begin (unsigned _chan_begin) |
| |
|
unsigned | get_chan_begin () const |
| |
|
void | set_chan_end (unsigned _chan_end) |
| |
|
unsigned | get_chan_end () const |
| |
| virtual int64_t | fstat_file_ndat (uint64_t tailer_bytes=0) |
| | Return ndat given the file and header sizes, nchan, npol, and ndim. More...
|
| |
| virtual int64_t | load_bytes (unsigned char *buffer, uint64_t nbytes) |
| | Load nbyte bytes of sampled data from the device into buffer. More...
|
| |
| virtual int64_t | seek_bytes (uint64_t bytes) |
| | Set the file pointer to the absolute number of sampled data bytes. More...
|
| |
| virtual uint64_t | skip_extra () |
| | Skip (by seeking the file pointer) the next tailer and header. More...
|
| |
|
virtual int64_t | load_bytes_device (unsigned char *buffer, uint64_t bytes, void *device_handle) |
| | The file descriptor.
|
| |
|
virtual void | set_total_samples () |
| | Calculates the total number of samples in the file, based on its size.
|
| |
|
virtual void | open_fd (const std::string &filename) |
| | Utility opens the file descriptor.
|
| |
|
virtual void | set_eod (bool _eod) |
| | set end_of_data
|
| |
|
virtual void | load_data (BitSeries *data) |
| | Load next block of data into BitSeries.
|
| |
| virtual uint64_t | recycle_data (BitSeries *data) |
| | Conserve access to resources by re-using data already in BitSeries. More...
|
| |
|
void | init () |
| | initialize variables
|
| |
| virtual void | operation () |
| | Load data into the BitSeries specified with set_output. More...
|
| |
|
virtual void | mark_output () |
| | Mark the output BitSeries with sequence informatin.
|
| |
|
virtual bool | can_operate () |
| | Return false if the operation doesn't have enough data to proceed.
|
| |
|
virtual void | set_name (const std::string &_name) |
| | Set the name!
|
| |
|
int | timers_index (const std::string &op_name) |
| | Returns the index in the 'timers' array of a particular timer.
|
| |
|
Handle * | __reference (bool active) const |
| |
|
void | __dereference (bool auto_delete=true) const |
| |
Loads BitSeries data from a PMDAQ data file.