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.

Setters

void SetStartTime(double tStart)
void SetDataLength(double dLength)
void SetAutoIncrement(bool status)

Operations

void NextSlice()

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

static std::string GetChannelList(const std::string &fileName, int gtime = 0)

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