Last change
on this file since 906 was
714,
checked in by Maciej Komosinski, 7 years ago
|
- Setting default NeuroClass? active/genactive in preconfigured genetics
- genactive becomes bool (was int)
- Code formatting
|
-
Property svn:eol-style set to
native
|
File size:
591 bytes
|
Line | |
---|
1 | // This file is a part of Framsticks SDK. http://www.framsticks.com/ |
---|
2 | // Copyright (C) 1999-2017 Maciej Komosinski and Szymon Ulatowski. |
---|
3 | // See LICENSE.txt for details. |
---|
4 | |
---|
5 | #ifndef _GENETICNEUROPARAM_H_ |
---|
6 | #define _GENETICNEUROPARAM_H_ |
---|
7 | |
---|
8 | #include "neurolibparam.h" |
---|
9 | |
---|
10 | class GeneticNeuroParam : public NeuroLibParam |
---|
11 | { |
---|
12 | protected: |
---|
13 | const char* types; |
---|
14 | public: |
---|
15 | GeneticNeuroParam(const char* groupname, const char* myname, const char* prefix, const char* typ = 0); |
---|
16 | |
---|
17 | paInt getInt(int i); |
---|
18 | int setInt(int i, paInt v); |
---|
19 | const char *type(int i) { return types ? types : NeuroLibParam::type(i); } |
---|
20 | }; |
---|
21 | |
---|
22 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.