00001 // Leakage.h --- 00002 00003 // 00004 // Filename: Leakage.h 00005 // Description: 00006 // Author: subhasis ray 00007 // Maintainer: 00008 // Created: Mon Aug 3 02:22:58 2009 (+0530) 00009 // Version: 00010 // Last-Updated: Mon Aug 3 03:07:21 2009 (+0530) 00011 // By: subhasis ray 00012 // Update #: 18 00013 // URL: 00014 // Keywords: 00015 // Compatibility: 00016 // 00017 // 00018 00019 // Commentary: Reimplementation of leakage class in GENESIS 00020 // 00021 // 00022 // 00023 // 00024 00025 // Change log: 00026 // 00027 // 2014-05-23: Subha - ported to async13 branch 00028 // 00029 // 00030 // This program is free software; you can redistribute it and/or 00031 // modify it under the terms of the GNU General Public License as 00032 // published by the Free Software Foundation; either version 3, or 00033 // (at your option) any later version. 00034 // 00035 // This program is distributed in the hope that it will be useful, 00036 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00037 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00038 // General Public License for more details. 00039 // 00040 // You should have received a copy of the GNU General Public License 00041 // along with this program; see the file COPYING. If not, write to 00042 // the Free Software Foundation, Inc., 51 Franklin Street, Fifth 00043 // Floor, Boston, MA 02110-1301, USA. 00044 // 00045 // 00046 00047 // Code: 00048 00049 #ifndef LEAKAGE_H_ 00050 #define LEAKAGE_H_ 00051 00052 class Leakage: public ChanCommon 00053 { 00054 public: 00055 Leakage(); 00056 ~Leakage(); 00057 void vProcess( const Eref & e, ProcPtr p ); 00058 void vReinit( const Eref & e, ProcPtr p ); 00059 00060 static const Cinfo * initCinfo(); 00061 }; 00062 00063 #endif /* !LEAKAGE_H_ */ 00064 00065 00066 00067 // 00068 // Leakage.h ends here