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

#include <initVarSnippet.h>

Inheritance diagram for InitVarSnippet::Base:
Snippet::Base InitVarSnippet::Binomial InitVarSnippet::Constant InitVarSnippet::Exponential InitVarSnippet::Gamma InitVarSnippet::Kernel InitVarSnippet::Normal InitVarSnippet::NormalClipped InitVarSnippet::NormalClippedDelay InitVarSnippet::Uniform InitVarSnippet::Uninitialised

Public Member Functions

virtual std::string getCode () const
 
boost::uuids::detail::sha1::digest_type getHashDigest () const
 Update hash from snippet. More...
 
bool requiresKernel () const
 Does this var init snippet require kernel-based connectivity. 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 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 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)
 

Member Function Documentation

◆ getCode()

virtual std::string InitVarSnippet::Base::getCode ( ) const
inlinevirtual

◆ getHashDigest()

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

Update hash from snippet.

◆ requiresKernel()

bool InitVarSnippet::Base::requiresKernel ( ) const

Does this var init snippet require kernel-based connectivity.


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