Last change
on this file since 94 was
66,
checked in by Maciej Komosinski, 14 years ago
|
set 'eol-style' to 'native'
|
-
Property svn:eol-style set to
native
|
File size:
779 bytes
|
Line | |
---|
1 | // This file is a part of the Framsticks GDK library. |
---|
2 | // Copyright (C) 2002-2011 Szymon Ulatowski. See LICENSE.txt for details. |
---|
3 | // Refer to http://www.framsticks.com/ for further information. |
---|
4 | |
---|
5 | #ifndef _NEUROFACTORY_H_ |
---|
6 | #define _NEUROFACTORY_H_ |
---|
7 | |
---|
8 | #include "modelparts.h" |
---|
9 | |
---|
10 | class NeuroImpl; |
---|
11 | |
---|
12 | class NeuroFactory |
---|
13 | { |
---|
14 | public: |
---|
15 | static NeuroImpl* setImplementation(NeuroClass *nc,NeuroImpl *ni,bool deleteold=1); |
---|
16 | static NeuroImpl* setImplementation(const SString& classname,NeuroImpl *ni,bool deleteold=1); |
---|
17 | static class NeuroImpl* createNeuroImpl(Neuro *n) |
---|
18 | {NeuroClass *nc=n->getClass(); if (!nc) return 0; return createNeuroImpl(nc);} |
---|
19 | static class NeuroImpl* createNeuroImpl(NeuroClass *nc); |
---|
20 | |
---|
21 | static int used; |
---|
22 | static void setImplementation(); |
---|
23 | static void freeImplementation(); |
---|
24 | }; |
---|
25 | |
---|
26 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.