Changeset 81 for cpp/gdk/neuroimpl.h
- Timestamp:
- 02/08/13 03:29:17 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/gdk/neuroimpl.h
r72 r81 15 15 class NeuroImpl; 16 16 extern ParamEntry neuroimpl_tab[]; 17 #ifdef NEURO_SIGNALS18 extern Param neurosignals_param;19 #endif20 17 21 18 class Creature; … … 31 28 double touchrange; 32 29 33 static NeuroNetConfig globalconfig;30 static NeuroNetConfig& getGlobalConfig(); 34 31 }; 35 32 … … 54 51 PARAMPROCDEF(p_receiveSingle); 55 52 #undef STATRICKCLASS 53 54 static Param& getStaticParam(); 56 55 }; 57 56 #endif … … 75 74 static double getStateFromNeuro(Neuro *n); 76 75 int getErrorCount() {return errorcount;} 77 NeuroNetImpl(Model& model, NeuroNetConfig& conf = NeuroNetConfig::g lobalconfig76 NeuroNetImpl(Model& model, NeuroNetConfig& conf = NeuroNetConfig::getGlobalConfig() 78 77 #ifdef NEURO_SIGNALS 79 78 , ChannelSpace *ch=0 … … 250 249 NeuroImpl():owner(0),neuro(0),newstate(0),paramentries(0),simorder(1),status(BeforeInit),channels(1),fields_param(0),fields_object(0) 251 250 #ifdef NEURO_SIGNALS 252 ,sigs(this),sigs_obj(& neurosignals_param,&sigs)251 ,sigs(this),sigs_obj(&NeuroSignals::getStaticParam(),&sigs) 253 252 #endif 254 253 {} … … 298 297 PARAMGETDEF(classObject); 299 298 #undef STATRICKCLASS 299 300 static Param& getStaticParam(); 300 301 }; 301 302
Note: See TracChangeset
for help on using the changeset viewer.