InputTargetTypes.h

Go to the documentation of this file.
00001 #ifndef _INPUTTARGETTYPES_H_
00002 #define _INPUTTARGETTYPES_H_
00003 
00004 class CurrentInputTarget
00005 {
00006 public:
00007     virtual ~CurrentInputTarget() {};
00008     virtual void currentInput( double i ) {};
00009 };
00010 
00011 class ConductanceInputTarget  : public CurrentInputTarget
00012 {
00013 public:
00014     virtual ~ConductanceInputTarget() {};
00015     virtual void conductanceInput( double g, double Erev ) {};
00016 
00018     virtual double getVm()
00019     {
00020         return 0.0;
00021     }
00022 };
00023 
00024 extern CurrentInputTarget dummyCurrentBasedSynapseTarget;
00025 extern ConductanceInputTarget dummyConductanceBasedSynapseTarget;
00026 
00027 
00028 #endif //_INPUTTARGETTYPES_H_

Generated on Wed Jul 9 16:34:39 2008 for PCSIM by  doxygen 1.5.5