GenericStaticSpikingSynapse.h

Go to the documentation of this file.
00001 #ifndef GENERICSTATICSPIKINGSYNAPSE_H_
00002 #define GENERICSTATICSPIKINGSYNAPSE_H_
00003 
00004 #include "SimObject.h"
00005 
00006 #include "AlphaInfiniteSpikeResponse.h"
00007 #include "ExponentialDecaySpikeResponse.h"
00008 #include "AlphaFunctionSpikeResponse.h"
00009 #include "DoubleExponentialSpikeResponse.h"
00010 #include "GABA_BResponse.h"
00011 #include "GABA_BResponseODE.h"
00012 #include "GenericNonLinGABASynapse.h"
00013 #include "AlphaInfiniteSpikeResponse.h"
00014 
00015 #include "GenericCurrentBasedSpikingSynapse.h"
00016 #include "GenericConductanceBasedSpikingSynapse.h"
00017 
00018 #include "GenericGlutamateSynapse.h"
00019 #include "GenericGABASynapse.h"
00020 #include "GenericNMDASynapse.h"
00021 
00023 
00028 template<class Response>
00029 class GenericStaticSpikingSynapse : public Response
00030 {
00031 
00032 public:
00033 
00034     GenericStaticSpikingSynapse(): W(1e-9f), delay(2e-4f)
00035     { /* NOOP */ };
00036 
00037     virtual ~GenericStaticSpikingSynapse()
00038     { /* NOOP */ };
00039 
00041     float W;
00042 
00044 
00048     float delay;
00049     virtual double getManagedDelay() const { return delay; };
00050 
00051     virtual int spikeHit( spikeport_t port, SpikeEvent const& spike )
00052     {   
00053         return Response::spikeHit( port, SpikeEvent( spike, W ) );
00054     };
00055 
00056 };
00057 
00058 #endif /*GENERICSTATICSPIKINGSYNAPSE_H_*/

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