CSIM: cbneuron.h Source File

cbneuron.h

Go to the documentation of this file.
00001 
00005 #ifndef _CBNEURON_H_
00006 #define _CBNEURON_H_
00007 
00008 #include "spikingneuron.h"
00009 #include "ionchannel.h"
00010 #include "membranepatch.h"
00011 
00013 
00069 class CbNeuron : public SpikingNeuron, public MembranePatch {
00070 
00071  DO_REGISTERING  
00072 
00073  public:
00074 
00075   CbNeuron(void);
00076   virtual ~CbNeuron();
00077 
00079   void reset(void);
00080 
00082   virtual double nextstate(void);
00083 
00085   virtual int isRefractory(void);
00086 
00088   float Vthresh;
00089 
00091   float Vreset;
00092 
00094   int doReset;
00095 
00097   float Trefract;
00098 
00100   virtual int addIncoming(Advancable *s);
00101 
00103   virtual int addOutgoing(Advancable *s);
00104 
00106   int nummethod;
00107 
00108  protected:
00109 
00111   double Isyn;
00112 
00114   double Gsyn;
00115 
00116  private:
00117 
00118   friend class CbNeuronSt;
00119   friend class CbStOuNeuron;
00120   friend class CbHHOuNeuron;
00121   friend class CbHHOuINeuron;
00122   friend class StaticAnalogCbSynapse;   // for access to GSummationPoint
00123   friend class DynamicSpikingCbSynapse; // for access to GSummationPoint
00124   friend class StaticSpikingCbSynapse;  // for access to GSummationPoint
00125   
00127   int nStepsInRefr;
00128 
00130   double C1;
00131 
00133   double GSummationPoint;
00134 
00136   bool spike;
00137 
00138 };
00139 
00140 #endif

 
(C) 2003, Thomas Natschläger last modified 07/10/2006