00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Mark Alexander 00008 * Side Effects Software Inc. 00009 * 477 Richmond Street West 00010 * Toronto, Ontario 00011 * Canada M5V 3E7 00012 * 416-504-9876 00013 * 00014 * NAME: CHOP Library (C++) 00015 * 00016 * COMMENTS: All realtime channels which perform an operation on its inputs 00017 * and output a different # of channels should derive from this 00018 * class. 00019 * 00020 */ 00021 00022 #ifndef __CHOP_Realtime_Fan_h__ 00023 #define __CHOP_Realtime_Fan_h__ 00024 00025 #include "CHOP_API.h" 00026 #include <UT/UT_PtrArray.h> 00027 #include "CHOP_Realtime.h" 00028 00029 class CHOP_API CHOP_RealtimeFan : public CHOP_Realtime 00030 { 00031 public: 00032 CHOP_RealtimeFan(OP_Network *parent, 00033 const char *name, 00034 OP_Operator *entry); 00035 virtual ~CHOP_RealtimeFan(); 00036 00037 virtual void cacheChannelData(float t); 00038 00039 virtual void getChannelOutputNames(UT_PtrArray<char*> &str) =0; 00040 00041 private: 00042 UT_PtrArray<char *> *myOutputChannels; 00043 }; 00044 00045 #endif
1.5.9