Source: CSdif.h


Annotated List
Files
Globals
Hierarchy
Index
#ifndef CSDIF
#define CSDIF

#include "inc_sdif.h"
#include "Peak.h"

enum SdifFileType { TRC, PCH, PIC, STF, ANY };

class CSdif
{
public:
  int eof;
  
protected:
  size_t bytesRead;
  SdifFileT* SdifFWrite;
  SdifFileT* SdifFRead;
  float currentTime;
  
public:
  int initSdifRead(char[]);
  int initSdifWrite(char[]);  
  float readSdifFrame(float**& data, int& nbRows, SdifFileType& requestedType);
  float readSdifFrame(Peak*& data, int& nbRows, SdifFileType& requestedType);
  void writeSdifFrame(float** data, int nbRows, SdifFileType requestedType, float currentTime);
  void writeSdifFrame(Peak* data, int nbRows, SdifFileType requestedType, float currentTime);
  void closeSdifRead();
  void closeSdifWrite();
public:
  CSdif();
  ~CSdif();

};

#endif

Generated by: chose@josquin on Wed Nov 10 20:57:01 199.