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

#include <models.h>

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

Public Member Functions

const Models::Base::VargetVar () const
 
size_t getVarIndex () const
 
std::string getTargetName () const
 
bool isBatched () const
 

Protected Types

typedef std::function< std::string(void)> GetTargetNameFn
 
typedef std::function< bool(void)> IsBatchedFn
 

Protected Member Functions

 VarReferenceBase (size_t varIndex, const Models::Base::VarVec &varVec, GetTargetNameFn getTargetName, IsBatchedFn isBatched)
 

Member Typedef Documentation

◆ GetTargetNameFn

typedef std::function<std::string(void)> Models::VarReferenceBase::GetTargetNameFn
protected

◆ IsBatchedFn

typedef std::function<bool(void)> Models::VarReferenceBase::IsBatchedFn
protected

Constructor & Destructor Documentation

◆ VarReferenceBase()

Models::VarReferenceBase::VarReferenceBase ( size_t  varIndex,
const Models::Base::VarVec varVec,
GetTargetNameFn  getTargetName,
IsBatchedFn  isBatched 
)
inlineprotected

Member Function Documentation

◆ getTargetName()

std::string Models::VarReferenceBase::getTargetName ( ) const
inline

◆ getVar()

const Models::Base::Var& Models::VarReferenceBase::getVar ( ) const
inline

◆ getVarIndex()

size_t Models::VarReferenceBase::getVarIndex ( ) const
inline

◆ isBatched()

bool Models::VarReferenceBase::isBatched ( ) const
inline

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