GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
PostsynapticModels::LegacyWrapper Class Reference

#include <newPostsynapticModels.h>

Inheritance diagram for PostsynapticModels::LegacyWrapper:
NewModels::LegacyWrapper< Base, postSynModel, postSynModels > NewModels::Base Snippet::Base

Public Member Functions

 LegacyWrapper (unsigned int legacyTypeIndex)
 
virtual std::string getDecayCode () const
 
virtual std::string getApplyInputCode () const
 
virtual std::string getSupportCode () const
 
- Public Member Functions inherited from NewModels::LegacyWrapper< Base, postSynModel, postSynModels >
 LegacyWrapper (unsigned int legacyTypeIndex)
 
virtual StringVec getParamNames () const
 Gets names of of (independent) model parameters. More...
 
virtual DerivedParamVec getDerivedParams () const
 
virtual StringPairVec getVars () const
 Gets names and types (as strings) of model variables. More...
 
- Public Member Functions inherited from NewModels::Base
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 ()
 

Additional Inherited Members

- Public Types inherited from Snippet::Base
typedef std::function< double(const std::vector< double > &, double)> DerivedParamFunc
 
typedef std::vector< std::string > StringVec
 
typedef std::vector< std::pair< std::string, std::string > > StringPairVec
 
typedef std::vector< std::pair< std::string, std::pair< std::string, double > > > NameTypeValVec
 
typedef std::vector< std::pair< std::string, DerivedParamFunc > > DerivedParamVec
 
- Static Protected Member Functions inherited from NewModels::LegacyWrapper< Base, postSynModel, postSynModels >
static StringPairVec zipStringVectors (const StringVec &a, const StringVec &b)
 
- Static Protected Member Functions inherited from NewModels::Base
static size_t getVarIndex (const std::string &varName, const StringPairVec &vars)
 
- Protected Attributes inherited from NewModels::LegacyWrapper< Base, postSynModel, postSynModels >
const unsigned int m_LegacyTypeIndex
 Index into the array of legacy models. More...
 

Constructor & Destructor Documentation

◆ LegacyWrapper()

PostsynapticModels::LegacyWrapper::LegacyWrapper ( unsigned int  legacyTypeIndex)
inline

Member Function Documentation

◆ getApplyInputCode()

std::string PostsynapticModels::LegacyWrapper::getApplyInputCode ( ) const
virtual

◆ getDecayCode()

std::string PostsynapticModels::LegacyWrapper::getDecayCode ( ) const
virtual

◆ getSupportCode()

std::string PostsynapticModels::LegacyWrapper::getSupportCode ( ) const
virtual

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