Changeset 932 for cpp/frams/neuro/neurofactory.h
- Timestamp:
- 05/28/20 18:00:45 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/neuro/neurofactory.h
r790 r932 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-20 15Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2020 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 … … 7 7 8 8 #include <frams/model/modelparts.h> 9 #include <frams/model/model.h> 9 10 #include <map> 10 11 … … 18 19 NeuroImpl* setImplementation(const SString& classname, NeuroImpl *ni, bool deleteold = 1); 19 20 NeuroImpl* getImplementation(NeuroClass *nc); 20 class NeuroImpl* createNeuroImpl(Neuro *n )21 class NeuroImpl* createNeuroImpl(Neuro *n, Model::ShapeType shape_type) 21 22 { 22 NeuroClass *nc = n->getClass(); if (!nc) return 0; return createNeuroImpl(nc );23 NeuroClass *nc = n->getClass(); if (!nc) return 0; return createNeuroImpl(nc, shape_type); 23 24 } 24 class NeuroImpl* createNeuroImpl(NeuroClass *nc );25 class NeuroImpl* createNeuroImpl(NeuroClass *nc, Model::ShapeType shape_type); 25 26 26 27 void setStandardImplementation();
Note: See TracChangeset
for help on using the changeset viewer.