GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
Snippet::Init< SnippetBase > Class Template Reference

#include <snippet.h>

Public Member Functions

 Init (const SnippetBase *snippet, const std::vector< double > &params)
 
const SnippetBase * getSnippet () const
 
const std::vector< double > & getParams () const
 
const std::vector< double > & getDerivedParams () const
 
void initDerivedParams (double dt)
 

Detailed Description

template<typename SnippetBase>
class Snippet::Init< SnippetBase >

Class used to bind together everything required to utilize a snippet

  1. A pointer to a variable initialisation snippet
  2. The parameters required to control the variable initialisation snippet

Constructor & Destructor Documentation

◆ Init()

template<typename SnippetBase>
Snippet::Init< SnippetBase >::Init ( const SnippetBase *  snippet,
const std::vector< double > &  params 
)
inline

Member Function Documentation

◆ getDerivedParams()

template<typename SnippetBase>
const std::vector<double>& Snippet::Init< SnippetBase >::getDerivedParams ( ) const
inline

◆ getParams()

template<typename SnippetBase>
const std::vector<double>& Snippet::Init< SnippetBase >::getParams ( ) const
inline

◆ getSnippet()

template<typename SnippetBase>
const SnippetBase* Snippet::Init< SnippetBase >::getSnippet ( ) const
inline

◆ initDerivedParams()

template<typename SnippetBase>
void Snippet::Init< SnippetBase >::initDerivedParams ( double  dt)
inline

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