|
00001 // 00002 // Buffers for various purposes 00003 // 00004 00005 #ifndef _DOUBLE_BUFFER_ 00006 #define _DOUBLE_BUFFER_ 00007 00008 #include "Wavelet.hpp" 00009 00010 struct doubleBuffer { 00011 // doubleBuffer() ; 00012 doubleBuffer(int J) ; 00013 ~doubleBuffer() ; 00014 00015 double *lock() ; 00016 void unlock() ; 00017 00018 private: 00019 void Init(int J) ; 00020 double *b ; 00021 bool locked ; 00022 } ; 00023 00024 #endif