Ask a Question | Search DSPSR: |
Home
|
File.h 135 virtual int64_t load_bytes_device (unsigned char* buffer, uint64_t bytes, void * device_handle);
Registry::List< File > Register typedef used to simplify template syntax in File_registry.C Definition: File.h:99 std::string current_filename The name of the currently opened file, set by open() Definition: File.h:131 virtual MJD get_end_time() const Return the end time of the trailing edge of the last time sample. Definition: Observation.C:521 virtual bool contiguous(const File *that) const Return true this this is contiguous with that. Definition: File.C:340 virtual bool is_valid(const char *filename) const =0 Return true if filename contains data in the recognized format. virtual Observation * get_info() Get the information about the data source. Definition: Input.h:113 static File * create(const char *filename) Return a pointer to a new instance of the appropriate sub-class. Definition: File.C:67 virtual std::string get_data_filename() const For when the data file is not the current filename. Definition: File.C:157 virtual int64_t fstat_file_ndat(uint64_t tailer_bytes=0) Return ndat given the file and header sizes, nchan, npol, and ndim. Definition: File.C:307 static Register & get_register() Return the list of registered sub-classes. Definition: File_registry.C:246 virtual void set_help_header(const std::string &s) virtual void set_total_samples() Calculates the total number of samples in the file, based on its size. Definition: File.C:184 Parent * create(unsigned i) const virtual void open_file(const char *filename)=0 Open the file specified by filename for reading. Stores information about digital, band-limited, time-varying signals. Definition: Observation.h:33 uint64_t host_buffer_size The size of the host_buffer in bytes. Definition: File.h:137 virtual int64_t seek_bytes(uint64_t bytes) Set the file pointer to the absolute number of sampled data bytes. Definition: File.C:283 void * host_buffer staging buffer for Host to Device transfers Definition: File.h:134 virtual int64_t pad_bytes(unsigned char *buffer, int64_t bytes) Over-ride this function to pad data via HoleyFile. Definition: File.C:334 unsigned size() const virtual void add(Item *) virtual void set_version(const std::string &s) 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 int get_header_bytes() const Inquire how many bytes are in the header. Definition: File.h:93 Pure virtual base class of sources that can seek through data. Definition: Seekable.h:29 std::string get_filename() const Return the name of the file from which this instance was created. Definition: File.h:86 const std::string get_message() const MJD get_start_time() const Return the start time of the leading edge of the first time sample. Definition: Observation.h:152 virtual void parse(int argc, char *const *argv) virtual void open_fd(const std::string &filename) Utility opens the file descriptor. Definition: File.C:176 virtual int64_t load_bytes_device(unsigned char *buffer, uint64_t bytes, void *device_handle) The file descriptor. Definition: File.C:221 Generated using doxygen 1.8.17
|