FrameIChannel

class FrameIChannel : public tsa::AlgoBase

A source of data taken from a Frame file.

This class can be used to read data from a frame file, in a single channel.

Getters

bool GetData(SeqViewDouble &rSeqView, double tStart, double dLength)

Get a specified slice of data. After this call, start time will be set to tStart+dLength and data length to dLength

Parameters
  • rSeqView: the view to fill with data

  • tStart: start time of the data returned

  • dLength: length of data returned by

bool GetData(SeqViewDouble &rSeqView)

Get a slice of data the current data length, starting from the current start time.

Parameters
  • rSeqView: the view to fill with data

Public Functions

FrameIChannel(const std::string &fileName, const std::string &channelName, double dLength = 1.0, double tStart = 0.0)

Constructor

Parameters
  • fileName: the name of the frame file (or a ffl file)

  • channelName: the channel’s names

  • dLength: length of data that will be returned by GetData()

  • tStart: start time of the data returned by GetData()

~FrameIChannel()

Destructor