Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial

# Generator.h

    00001 #ifndef STK_GENERATOR_H
    00002 #define STK_GENERATOR_H
    00003
    00004 #include "Stk.h"
    00005
    00006 namespace stk {
    00007
    00008 /***************************************************/
    00018 /***************************************************/
    00019
    00020 class Generator : public Stk
    00021 {
    00022  public:
    00023
    00025   Generator( void ) { lastFrame_.resize( 1, 1, 0.0 ); };
    00026
    00028   unsigned int channelsOut( void ) const { return lastFrame_.channels(); };
    00029
    00031   const StkFrames& lastFrame( void ) const { return lastFrame_; };
    00032
    00034
    00041   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 0 ) = 0;
    00042
    00043   protected:
    00044
    00045   StkFrames lastFrame_;
    00046 };
    00047
    00048 } // stk namespace
    00049
    00050 #endif

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