Version 3.2

This commit is contained in:
Gary Scavone
2013-09-25 14:47:10 +02:00
committed by Stephen Sinclair
parent 4b6500d3de
commit 3f126af4e5
443 changed files with 11772 additions and 8060 deletions

32
include/TablLook.h Normal file
View File

@@ -0,0 +1,32 @@
/********************************************/
/* Table Lookup Class, */
/* by Gary P. Scavone, 1999 */
/* */
/* This class loads a table of floating */
/* point doubles, which are assumed to be */
/* in big-endian format. Linear */
/* interpolation is performed for */
/* fractional lookup indexes. */
/********************************************/
#include "Object.h"
#include "StkError.h"
#if !defined(__TablLook_h)
#define __TablLook_h
class TablLook : public Object
{
protected:
long length;
MY_FLOAT *data;
MY_FLOAT lastOutput;
public:
TablLook(char *fileName);
~TablLook();
long getLength();
MY_FLOAT tick(MY_FLOAT index);
MY_FLOAT lastOut();
};
#endif // defined(__TablLook_h)