Ask a Question | Search DSPSR: |
Home
|
SerialFiles.h virtual int64_t load_bytes(unsigned char *buffer, uint64_t bytes) Load bytes from file. Definition: SerialFiles.C:164 Reference::To< File > loader Currently open File instance. Definition: SerialFiles.h:87 void set_output(BitSeries *data) Set the bits series into which data will be loaded. Definition: Seekable.C:318 SerialFiles(const char *name="SerialFiles") Constructor. Definition: SerialFiles.C:20 unsigned resolution Time sample resolution of the data source. Definition: Input.h:178 virtual bool contiguous(const File *that) const Return true this this is contiguous with that. Definition: File.C:340 Pure virtual base class of all objects that can load BitSeries data. Definition: Input.h:31 virtual Observation * get_info() Get the information about the data source. Definition: Input.h:113 void add_extensions(Extensions *ext) Add any relevant extensions (calls loader's add_extensions()) Definition: SerialFiles.C:297 std::string current_filename Name of the currently opened file. Definition: SerialFiles.h:90 virtual void add_extensions(Extensions *) Add any extensions. Definition: Operation.C:86 void ensure_contiguity() Ensure that files are contiguous. Definition: SerialFiles.C:132 virtual void erase_files() Erase the entire list of loadable files Resets the file pointers. Definition: SerialFiles.C:95 virtual void have_open(const std::vector< std::string > &filenames) Makes sure only these filenames are open. Definition: SerialFiles.C:79 virtual int64_t seek_bytes(uint64_t bytes) Set the file pointer to the absolute number of sampled data bytes. Definition: File.C:283 File * get_loader() Retrieve a pointer to the loader File instance. Definition: SerialFiles.C:308 std::vector< Reference::To< File > > & get_files() Access to current file objects. Definition: SerialFiles.h:53 void force_contiguity() Treat the files as contiguous. Definition: SerialFiles.C:30 virtual int64_t load_bytes(unsigned char *buffer, uint64_t nbytes) Load nbyte bytes of sampled data from the device into buffer. Definition: File.C:190 std::vector< std::string > filenames Name of the currently opened file. Definition: MultiFile.h:63 uint64_t get_next_sample() Inquire the next sample to load for the current file. virtual int64_t seek_bytes(uint64_t bytes) Adjust the file pointer. Definition: SerialFiles.C:220 bool has_loader() Return true if the loader File instance is set. Definition: SerialFiles.C:303 std::string get_filename() const Return the name of the file from which this instance was created. Definition: File.h:86 const Input * get_origin() const The origin is the current loader. Definition: SerialFiles.h:40 unsigned get_index() const Find out the index of current file is. Definition: SerialFiles.h:70 std::string get_current_filename() const Find out which file is currently open;. Definition: SerialFiles.h:67 MJD get_start_time() const Return the start time of the leading edge of the first time sample. Definition: Observation.h:152 std::vector< Reference::To< File > > files List of files. Definition: MultiFile.h:60 Generated using doxygen 1.8.17
|