#include <algorithm>
#include <functional>
#include <string>
#include <vector>
#include <cassert>
#include "gennExport.h"
#include "gennUtils.h"
Go to the source code of this file.
|
template<size_t NumVars> |
using | Snippet::ValueBase = InitialiserContainerBase< double, NumVars > |
|
◆ DECLARE_SNIPPET
#define DECLARE_SNIPPET |
( |
|
TYPE, |
|
|
|
NUM_PARAMS |
|
) |
| |
Value:private: \
GENN_EXPORT
static TYPE *s_Instance; \
public: \
static
const TYPE *getInstance() \
{ \
if(s_Instance == NULL) \
{ \
} \
return s_Instance; \
} \
#define TYPE(T)
Definition: backendBase.cc:14
◆ IMPLEMENT_SNIPPET
#define IMPLEMENT_SNIPPET |
( |
|
TYPE | ) |
TYPE *TYPE::s_Instance = NULL |
◆ SET_DERIVED_PARAMS
#define SET_DERIVED_PARAMS |
( |
|
... | ) |
virtual DerivedParamVec getDerivedParams() const override{ return __VA_ARGS__; } |
◆ SET_EXTRA_GLOBAL_PARAMS
#define SET_EXTRA_GLOBAL_PARAMS |
( |
|
... | ) |
virtual EGPVec getExtraGlobalParams() const override{ return __VA_ARGS__; } |
◆ SET_PARAM_NAMES
#define SET_PARAM_NAMES |
( |
|
... | ) |
virtual StringVec getParamNames() const override{ return __VA_ARGS__; } |