GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
CurrentSourceModels::Base Class Reference

Base class for all current source models. More...

#include <currentSourceModels.h>

Inheritance diagram for CurrentSourceModels::Base:
NewModels::Base Snippet::Base CurrentSourceModels::DC CurrentSourceModels::GaussianNoise

Public Member Functions

virtual std::string getInjectionCode () const
 Gets the code that defines current injected each timestep. More...
 
virtual NewModels::Base::StringPairVec getExtraGlobalParams () const
 Gets names and types (as strings) of additional parameters. More...
 
- Public Member Functions inherited from NewModels::Base
virtual StringPairVec getVars () const
 Gets names and types (as strings) of model variables. More...
 
size_t getVarIndex (const std::string &varName) const
 Find the index of a named variable. More...
 
- Public Member Functions inherited from Snippet::Base
virtual ~Base ()
 
virtual StringVec getParamNames () const
 Gets names of of (independent) model parameters. More...
 
virtual DerivedParamVec getDerivedParams () const
 

Additional Inherited Members

- Public Types inherited from Snippet::Base
typedef std::function< double(const std::vector< double > &, double)> DerivedParamFunc
 
typedef std::vector< std::string > StringVec
 
typedef std::vector< std::pair< std::string, std::string > > StringPairVec
 
typedef std::vector< std::pair< std::string, std::pair< std::string, double > > > NameTypeValVec
 
typedef std::vector< std::pair< std::string, DerivedParamFunc > > DerivedParamVec
 
- Static Protected Member Functions inherited from NewModels::Base
static size_t getVarIndex (const std::string &varName, const StringPairVec &vars)
 

Detailed Description

Base class for all current source models.

Member Function Documentation

◆ getExtraGlobalParams()

virtual NewModels::Base::StringPairVec CurrentSourceModels::Base::getExtraGlobalParams ( ) const
inlinevirtual

Gets names and types (as strings) of additional parameters.

◆ getInjectionCode()

virtual std::string CurrentSourceModels::Base::getInjectionCode ( ) const
inlinevirtual

Gets the code that defines current injected each timestep.


The documentation for this class was generated from the following file: