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

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

#include <customUpdateModels.h>

Inheritance diagram for CustomUpdateModels::Base:
Models::Base Snippet::Base CustomUpdateModels::Transpose

Public Member Functions

virtual VarRefVec getVarRefs () const
 Gets names and types (as strings) of model variable references. More...
 
virtual EGPRefVec getExtraGlobalParamRefs () const
 Gets names and types (as strings) of model extra global parameter references. More...
 
virtual std::string getUpdateCode () const
 Gets the code that performs the custom update. 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

◆ getExtraGlobalParamRefs()

virtual EGPRefVec CustomUpdateModels::Base::getExtraGlobalParamRefs ( ) const
inlinevirtual

Gets names and types (as strings) of model extra global parameter references.

◆ getHashDigest()

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

Update hash from model.

◆ getUpdateCode()

virtual std::string CustomUpdateModels::Base::getUpdateCode ( ) const
inlinevirtual

Gets the code that performs the custom update.

◆ getVarRefs()

virtual VarRefVec CustomUpdateModels::Base::getVarRefs ( ) const
inlinevirtual

Gets names and types (as strings) of model variable references.

◆ validate()

void CustomUpdateModels::Base::validate ( ) const

Validate names of parameters etc.


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