|
| | FiRPC3File (const char *devicename=NULL) |
| |
| | FiRPC3File (const char *devicename, int endianFormat) |
| |
| | FiRPC3File (const char *devicename, int endianFormat, int numberOfChannels) |
| |
| virtual size_t | getValueCount () const |
| | Returns the number of (x,y) pairs for this device. More...
|
| |
| virtual void | getValueRange (double &min, double &max) const |
| | Calculates the function value range for this device. More...
|
| |
| virtual double | getValue (double x, int channel=0, bool zeroAdjust=false, double vertShift=0.0, double scaleFac=1.0) |
| | Evaluates the function for a given x value. More...
|
| |
| virtual bool | getValues (double x0, double x1, Doubles &x, Doubles &y, int channel=0, bool zeroAdjust=false, double shift=0.0, double scale=1.0) |
| | Evaluates the function at all points within specified interval. More...
|
| |
| virtual void | getRawData (Doubles &x, Doubles &y, double minX, double maxX, int channel=0) |
| | Extracts all function data point values within specified interval. More...
|
| |
| virtual void | getData (Doubles &x, Doubles &y, const std::string &channel, double minX=0.0, double maxX=-1.0) |
| | Extracts all function data point values within specified interval. More...
|
| |
| virtual void | setValue (double, double) |
| | Assigns a function value for a single-channel function. More...
|
| |
| virtual bool | setData (const Doubles &x, const Doubles &y) |
| | Adds a complete set of x,y-pair values for a new channel. More...
|
| |
| virtual bool | getChannelList (Strings &list) |
| | Gets the list channel names for a multi-channel device. More...
|
| |
| virtual int | isChannelPresentInFile (const std::string &channel) |
| | Checks if a nameed channel is present in the device. More...
|
| |
| virtual bool | isChannelPresentInFile (int channel) |
| | Checks if an indexed channel is present in the device. More...
|
| |
| virtual void | setDescription (const std::string &desc) |
| | Assigns a name to the (last) channel in the device. More...
|
| |
| virtual void | setTimeSpan (double timeSpan) |
| | Sets the maximum time span for the device function. More...
|
| |
| virtual void | setPrecision (int type) |
| | Sets the precision to be used when writing the device to file. More...
|
| |
| int | getRepeats () const |
| |
| void | setRepeats (int rep) |
| |
| int | getAverages () const |
| |
| void | setAverages (int avg) |
| |
| int | getFramePoints () const |
| |
| void | setFramePoints (int frm) |
| |
| int | getGroupPoints () const |
| |
| void | setGroupPoints (int grp) |
| |
| virtual | ~FiDeviceFunctionBase () |
| | The destructor closes the device function file. More...
|
| |
| bool | open (const char *devicename, FileStatus status=Read_Only) |
| | Opens the specified device function file for reading or writing. More...
|
| |
| bool | open (FileStatus status=Read_Only) |
| | Opens the file myDatasetDevice for reading or writing. More...
|
| |
| bool | close (bool noHeader=false) |
| | Closes the device function file. More...
|
| |
| const std::string & | getDevicename () const |
| | Returns the myDatasetDevice of this device function. More...
|
| |
| void | setExtrapolationPolicy (InterpolationPolicy policy=Constant) |
| | Defines the extrapolation policy to be used. More...
|
| |
| void | setInterpolationPolicy (InterpolationPolicy policy=Linear) |
| | Defines the interpolation policy to be used. More...
|
| |
| virtual double | getXAxisOrigin () const |
| | Returns the function argument origin for this device. More...
|
| |
| double | integrate (double x, int order=1, int channel=0, double vertShift=0.0, double scaleFac=1.0) |
| | Computes the integral of this device over the interval [0,x]. More...
|
| |
| int | getRefCount () const |
| | Returns the current reference count for this device. More...
|
| |
| int | ref () |
| | Increments the reference count fir this device. More...
|
| |
| int | unref () |
| | Decrements the reference count for this device. More...
|
| |
| double | getStep () const |
| | returns the constant sampling time increment. More...
|
| |
| double | getFrequency () const |
| | returns the constant sampling frequency. More...
|
| |
| void | setStep (double aStep) |
| | Sets the sampling increment for devices with constant sampling. More...
|
| |
| void | setFrequency (double aFreqency) |
| | Sets the sampling frequency for devices with constant sampling. More...
|
| |
| virtual void | setEmptyChannel (const std::string &) |
| | Flags an empty channel for multi-channel devices. More...
|
| |
| void | setParent (const std::string &modelfile) |
| | Sets the model file name associated with this device. More...
|
| |
| bool | isReadOnly () const |
| | Returns whether this is a read-only device or not. More...
|
| |
| FileStatus | getFileStatus () const |
| | Returns the myFileStatus of this device function. More...
|
| |
| void | getAxisUnit (int axis, char *unitText, size_t n) const |
| | Gets the axis unit. More...
|
| |
| void | getAxisTitle (int axis, char *titleText, size_t n) const |
| | Gets the axis title. More...
|
| |
| void | setAxisUnit (int axis, const char *unitText) |
| | Sets the axis unit. More...
|
| |
| void | setAxisTitle (int axis, const char *titleText) |
| | Sets the axis title. More...
|
| |
|
| virtual bool | initialDeviceRead () |
| | Reads the file content, or at least its meta data. More...
|
| |
| virtual bool | preliminaryDeviceWrite () |
| | Writes the meta data for this device function to file. More...
|
| |
| virtual bool | concludingDeviceWrite (bool) |
| | Writes the content of this device function to file. More...
|
| |
| | FiDeviceFunctionBase (const char *devicename=NULL) |
| | The default constructor initialize the data members. More...
|
| |
| | FiDeviceFunctionBase (const FiDeviceFunctionBase &)=delete |
| | Deleted copy constructor. More...
|
| |
| FiDeviceFunctionBase & | operator= (const FiDeviceFunctionBase &)=delete |
| | Deleted assignment operator. More...
|
| |
| double | interpolate (double x, double x0, double f0, double x1, double f1) const |
| | Calculates the function value at x by interpolation. More...
|
| |
| double | extrapolate (double x, double x0, double f0, double x1, double f1) const |
| | Calculates the function value at x by extrapolation. More...
|
| |
| bool | writeString (const char *str) |
| | Convenience method for a writing text header. More...
|
| |
| bool | writeString (const char *lab, const std::string &val) |
| | Convenience method for writing text headers. More...
|
| |
|
| void | commonConstructor () |
| |
| bool | readChannelList () |
| |
| bool | initTHChannel (int channel, int action) |
| |
| int | getPartition (int channel) |
| |
| void | setReadParams (int channel) |
| |
| void | setKeyInt (const std::string &key, const int val, const int numb) |
| |
| void | setKeyFloat (const std::string &key, const float val, const int numb) |
| |
| void | setKeyString (const std::string &key, const std::string &val, const int numb) |
| |
| int | getKeyInt (const std::string &key, bool &ok) |
| |
| float | getKeyFloat (const std::string &key, bool &ok) |
| |
| std::string | getKeyString (const std::string &key, bool &ok) |
| |
| void | writeString (const std::string &buf, FT_int pos, bool skipRepos=false) |
| |
| void | writeDouble (const double val, FT_int pos, bool skipRepos=false) |
| |
| void | writeFloat (const float val, FT_int pos, bool skipRepos=false) |
| |
| void | writeInt16 (const short val, FT_int pos, bool skipRepos=false) |
| |
| std::string | readString (FT_int pos, bool castToUpperCase=false) |
| |
| double | readDouble (FT_int pos, bool asciiField=false) |
| |
| float | readFloat (FT_int pos, bool asciiField=false) |
| |
| short | readInt16 (FT_int pos, bool asciiField=false) |
| |
| int | readInt32 (FT_int pos, bool asciiField=false) |
| |
| void | dumpAllKeysToScreen () const |
| |