Ask a Question | Search DSPSR: |
Home
|
Seekable.h 65 virtual int64_t load_bytes_device (unsigned char* buffer, uint64_t bytes, void * dev_handle) = 0;
84 };
virtual void load_data(BitSeries *data) Load next block of data into BitSeries. Definition: Seekable.C:64 virtual void set_ndat(uint64_t _ndat) Set the number of time samples in container. Definition: Observation.h:105 void set_output(BitSeries *data) Set the bits series into which data will be loaded. Definition: Seekable.C:318 int64_t get_input_sample(Input *input=0) const Return the sample offset from the start of the data source. Definition: BitSeries.C:138 virtual uint64_t get_nsamples(uint64_t nbytes) const Return the number of samples in nbytes bytes. Definition: Observation.C:548 virtual int64_t seek_bytes(uint64_t bytes)=0 Seek to absolute position and return absolute position in bytes. Pure virtual base class of all objects that can load BitSeries data. Definition: Input.h:31 virtual unsigned char * get_rawptr() Return pointer to the raw data buffer. Definition: BitSeries.h:64 unsigned get_ndim() const Return the dimension of each datum. Definition: Observation.h:80 unsigned get_nbit() const Return the number of bits per value. Definition: Observation.h:95 virtual int64_t load_bytes_device(unsigned char *buffer, uint64_t bytes, void *dev_handle)=0 Load data from device to device memory and return the number of bytes read. uint64_t get_ndat() const Return the number of time samples in container. Definition: Observation.h:107 virtual int64_t load_bytes(unsigned char *buffer, uint64_t bytes)=0 Load data from device and return the number of bytes read. unsigned get_npol() const Return the number of polarizations. Definition: Observation.h:90 virtual uint64_t get_nbytes(uint64_t nsamples) const Return the size in bytes of nsamples time samples. Definition: Observation.C:543 virtual void set_output(BitSeries *data) Set the BitSeries to which data will be loaded. Definition: Input.C:203 virtual bool eod() const Return true when end of data has been reached. Definition: Seekable.C:59 A container for storing digitized (generally not floating point) data Definition: BitSeries.h:35 void set_overlap_buffer(BitSeries *) Buffer used to store overlap (useful in multi-threaded applications) Definition: Seekable.C:323 Reference::To< BitSeries > overlap_buffer Buffer used to store overlap. Definition: Seekable.h:90 virtual uint64_t get_current_sample() Inquire current time sample. Definition: Seekable.h:52 Pure virtual base class of objects that manage memory allocation and destruction. Definition: Memory.h:23 virtual uint64_t recycle_data(BitSeries *data) Conserve access to resources by re-using data already in BitSeries. Definition: Seekable.C:235 void set_overlap_buffer_memory(Memory *memory) Set the memory type used in the overlap buffer. Definition: Seekable.C:328 unsigned get_nchan() const Return the number of channels into which the band is divided. Definition: Observation.h:85 Generated using doxygen 1.8.17
|