GeNN  4.9.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:
Models::Base Snippet::Base CurrentSourceModels::DC CurrentSourceModels::GaussianNoise CurrentSourceModels::PoissonExp

Public Member Functions

virtual std::string getInjectionCode () const
 Gets the code that defines current injected each timestep. More...
 
boost::uuids::detail::sha1::digest_type getHashDigest () const
 Update hash from model. More...
 
void validate () const
 Validate names of parameters etc. More...
 
- Public Member Functions inherited from Models::Base
virtual VarVec 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
 
virtual EGPVec getExtraGlobalParams () const
 
size_t getExtraGlobalParamIndex (const std::string &paramName) const
 Find the index of a named extra global parameter. More...
 

Additional Inherited Members

- Public Types inherited from Models::Base
typedef std::vector< VarVarVec
 
typedef std::vector< VarRefVarRefVec
 
typedef std::vector< EGPRefEGPRefVec
 
- Public Types inherited from Snippet::Base
typedef std::vector< std::string > StringVec
 
typedef std::vector< EGPEGPVec
 
typedef std::vector< ParamValParamValVec
 
typedef std::vector< DerivedParamDerivedParamVec
 
- Protected Member Functions inherited from Models::Base
void updateHash (boost::uuids::detail::sha1 &hash) const
 
void validate () const
 Validate names of parameters etc. More...
 
- Protected Member Functions inherited from Snippet::Base
void updateHash (boost::uuids::detail::sha1 &hash) const
 
void validate () const
 Validate names of parameters etc. More...
 
- Static Protected Member Functions inherited from Snippet::Base
template<typename T >
static size_t getNamedVecIndex (const std::string &name, const std::vector< T > &vec)
 

Detailed Description

Base class for all current source models.

Member Function Documentation

◆ getHashDigest()

boost::uuids::detail::sha1::digest_type CurrentSourceModels::Base::getHashDigest ( ) const

Update hash from model.

◆ getInjectionCode()

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

Gets the code that defines current injected each timestep.

◆ validate()

void CurrentSourceModels::Base::validate ( ) const

Validate names of parameters etc.


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