Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial

# Function.h

    00001 #ifndef STK_FUNCTION_H
    00002 #define STK_FUNCTION_H
    00003
    00004 #include "Stk.h"
    00005
    00006 namespace stk {
    00007
    00008 /***************************************************/
    00018 /***************************************************/
    00019
    00020 class Function : public Stk
    00021 {
    00022  public:
    00024   Function( void ) { lastFrame_.resize( 1, 1, 0.0 ); };
    00025
    00027   StkFloat lastOut( void ) const { return lastFrame_[0]; };
    00028
    00030   virtual StkFloat tick( StkFloat input ) = 0;
    00031
    00032  protected:
    00033
    00034   StkFrames lastFrame_;
    00035
    00036 };
    00037
    00038 } // stk namespace
    00039
    00040 #endif
    00041

The Synthesis ToolKit in C++ (STK)
©1995-2010 Perry R. Cook and Gary P. Scavone. All Rights Reserved.