Changeset 952 for cpp/frams/model/modelparts.cpp
- Timestamp:
- 06/20/20 01:09:57 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/model/modelparts.cpp
r932 r952 22 22 #include <frams/util/extvalue.h> 23 23 #include <frams/param/paramobj.h> 24 #include <frams/neuro/neuroimpl.h> 24 25 25 26 #include F0_DEFASSIGN_FILE … … 756 757 { 757 758 #define FIELDSTRUCT NeuroExt 758 ParamEntry entry = { "class", 2, 0, "neuro class", "s", GETSET(neuroclass) }; 759 ParamEntry entries[] = { 760 { "class", 2, 0, "neuro class", "s", GETSET(neuroclass) }, 761 { "liveNeuro", 2, 1, "live Neuro object", "oNeuro", GETONLY(liveNeuro) }}; 759 762 #undef FIELDSTRUCT 760 add(&entry);763 for(auto& e : entries) add(&e); 761 764 762 765 #define FIELDSTRUCT Neuro … … 797 800 setClassName(arg->getString()); return PSET_CHANGED; 798 801 } 802 803 void NeuroExt::get_liveNeuro(PARAMGETARGS) 804 { 805 #ifndef SDK_WITHOUT_FRAMS 806 NeuroNetImpl::getLiveNeuroObject(this,ret); 807 #endif 808 }
Note: See TracChangeset
for help on using the changeset viewer.