00001 #ifndef __SYNAPTICCHANEL_H__
00002 #define __SYNAPTICCHANEL_H__
00003
00004 #include "ionchannel.h"
00005 #include "synapsetarget.h"
00006
00007 class Synapse;
00008
00010 class SynapticChannel : public IonChannel, public SynapseTarget {
00011
00012
00013
00014 public:
00015
00016 SynapticChannel(void);
00017
00018 virtual ~SynapticChannel(void);
00019
00021 float Gbar;
00022
00023 virtual void reset(void);
00024
00025 virtual int advance(void);
00026
00027 virtual double gInfty(void) { return 0.0; };
00028
00029 virtual void membraneSpikeNotify(double ) { };
00030
00031 virtual int addIncoming(Advancable *Incoming);
00032
00033 virtual int addOutgoing(Advancable *Outgoing);
00034
00035 virtual uint32 getPostId(void) { return getId(); }
00036
00037 protected:
00038
00039 void addSynapse(Synapse *S);
00040 int nSynapses;
00041 int lSynapses;
00042 Synapse **synapses;
00043
00044 };
00045
00046 #endif