GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
Models::VarReference Class Reference

#include <models.h>

Inheritance diagram for Models::VarReference:
Models::VarReferenceBase

Public Member Functions

unsigned int getSize () const
 
const NeuronGroupgetDelayNeuronGroup () const
 
- Public Member Functions inherited from Models::VarReferenceBase
const Models::Base::VargetVar () const
 
size_t getVarIndex () const
 
std::string getTargetName () const
 
bool isBatched () const
 

Static Public Member Functions

static VarReference createVarRef (const NeuronGroup *ng, const std::string &varName)
 
static VarReference createVarRef (const CurrentSource *cs, const std::string &varName)
 
static VarReference createVarRef (const CustomUpdate *su, const std::string &varName)
 
static VarReference createPSMVarRef (const SynapseGroup *sg, const std::string &varName)
 
static VarReference createWUPreVarRef (const SynapseGroup *sg, const std::string &varName)
 
static VarReference createWUPostVarRef (const SynapseGroup *sg, const std::string &varName)
 

Additional Inherited Members

- Protected Types inherited from Models::VarReferenceBase
typedef std::function< std::string(void)> GetTargetNameFn
 
typedef std::function< bool(void)> IsBatchedFn
 
- Protected Member Functions inherited from Models::VarReferenceBase
 VarReferenceBase (size_t varIndex, const Models::Base::VarVec &varVec, GetTargetNameFn getTargetName, IsBatchedFn isBatched)
 

Member Function Documentation

◆ createPSMVarRef()

VarReference VarReference::createPSMVarRef ( const SynapseGroup sg,
const std::string &  varName 
)
static

◆ createVarRef() [1/3]

VarReference VarReference::createVarRef ( const NeuronGroup ng,
const std::string &  varName 
)
static

◆ createVarRef() [2/3]

VarReference VarReference::createVarRef ( const CurrentSource cs,
const std::string &  varName 
)
static

◆ createVarRef() [3/3]

VarReference VarReference::createVarRef ( const CustomUpdate su,
const std::string &  varName 
)
static

◆ createWUPostVarRef()

VarReference VarReference::createWUPostVarRef ( const SynapseGroup sg,
const std::string &  varName 
)
static

◆ createWUPreVarRef()

VarReference VarReference::createWUPreVarRef ( const SynapseGroup sg,
const std::string &  varName 
)
static

◆ getDelayNeuronGroup()

const NeuronGroup* Models::VarReference::getDelayNeuronGroup ( ) const
inline

◆ getSize()

unsigned int Models::VarReference::getSize ( ) const
inline

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