|
void | open_file (const char *filename) |
| Open the file.
|
|
int | load_next_block () |
| Load the next hdr/data block.
|
|
int64_t | seek_bytes (uint64_t bytes) |
| Seek to a spot in the file.
|
|
int64_t | load_bytes (unsigned char *buffer, uint64_t nbytes) |
| Send data bytes to unpacker.
|
|
void | parse_header () |
| Parse the current header into info struct.
|
|
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 | pad_bytes (unsigned char *buffer, int64_t bytes) |
| Over-ride this function to pad data via HoleyFile.
|
|
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 raw GUPPI file.