GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
PostsynapticModels::Base Class Reference

Base class for all postsynaptic models. More...

#include <postsynapticModels.h>

Inheritance diagram for PostsynapticModels::Base:
Models::Base Snippet::Base PostsynapticModels::DeltaCurr PostsynapticModels::ExpCond PostsynapticModels::ExpCurr

Public Member Functions

virtual std::string getDecayCode () const
 
virtual std::string getApplyInputCode () const
 
virtual std::string getSupportCode () const
 
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 postsynaptic models.

Member Function Documentation

◆ getApplyInputCode()

virtual std::string PostsynapticModels::Base::getApplyInputCode ( ) const
inlinevirtual

◆ getDecayCode()

virtual std::string PostsynapticModels::Base::getDecayCode ( ) const
inlinevirtual

◆ getHashDigest()

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

Update hash from model.

◆ getSupportCode()

virtual std::string PostsynapticModels::Base::getSupportCode ( ) const
inlinevirtual

◆ validate()

void PostsynapticModels::Base::validate ( ) const

Validate names of parameters etc.


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