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

#include <models.h>

Inheritance diagram for Models::WUVarReference:
Models::VarReferenceBase

Public Member Functions

 WUVarReference (const SynapseGroup *sg, const std::string &varName, const SynapseGroup *transposeSG=nullptr, const std::string &transposeVarName="")
 
 WUVarReference (const CustomUpdateWU *cu, const std::string &varName)
 
const SynapseGroupgetSynapseGroup () const
 
const SynapseGroupgetTransposeSynapseGroup () const
 
const Models::Base::VargetTransposeVar () const
 
size_t getTransposeVarIndex () const
 
std::string getTransposeTargetName () const
 
- Public Member Functions inherited from Models::VarReferenceBase
const Models::Base::VargetVar () const
 
size_t getVarIndex () const
 
std::string getTargetName () const
 
bool isBatched () const
 

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)
 

Constructor & Destructor Documentation

◆ WUVarReference() [1/2]

WUVarReference::WUVarReference ( const SynapseGroup sg,
const std::string &  varName,
const SynapseGroup transposeSG = nullptr,
const std::string &  transposeVarName = "" 
)

◆ WUVarReference() [2/2]

WUVarReference::WUVarReference ( const CustomUpdateWU cu,
const std::string &  varName 
)

Member Function Documentation

◆ getSynapseGroup()

const SynapseGroup * WUVarReference::getSynapseGroup ( ) const

◆ getTransposeSynapseGroup()

const SynapseGroup * WUVarReference::getTransposeSynapseGroup ( ) const

◆ getTransposeTargetName()

std::string Models::WUVarReference::getTransposeTargetName ( ) const
inline

◆ getTransposeVar()

const Models::Base::Var& Models::WUVarReference::getTransposeVar ( ) const
inline

◆ getTransposeVarIndex()

size_t Models::WUVarReference::getTransposeVarIndex ( ) const
inline

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