[5] | 1 | divert(-1) |
---|
| 2 | ## |
---|
| 3 | ## NEUROCLASS(c_classname,name,longname,description,prefinputs,prefoutput,preflocat) |
---|
| 4 | ## $1 $2 $3 $4 $5 $6 $7 |
---|
| 5 | ## SYMBOL(vectordata) |
---|
| 6 | ## |
---|
| 7 | ## NEUROPROP(id,group,flags,name,type,min,max,def,field) |
---|
| 8 | ## $1 $2 $3 $4 $5 $6 $7 $8 $9 |
---|
| 9 | ## ENDNEUROCLASS |
---|
| 10 | ## |
---|
| 11 | |
---|
| 12 | divert(1) |
---|
| 13 | #define SETIMPLEMENTATION \ |
---|
| 14 | divert(2) |
---|
| 15 | divert(-1) |
---|
| 16 | |
---|
| 17 | define(`CLASS',`dnl') |
---|
| 18 | define(`GROUP',`dnl') |
---|
| 19 | define(`PROP',`dnl') |
---|
| 20 | define(`XPROP',`dnl') |
---|
| 21 | define(`ENDCLASS',`dnl') |
---|
| 22 | |
---|
| 23 | define(`TABNAME',`NI_$1_tab') |
---|
| 24 | define(`CLSNAME',`NI_$1') |
---|
| 25 | define(`VARNAME',`tmp_$1') |
---|
| 26 | define(`XYNAME',`$1_xy') |
---|
| 27 | |
---|
| 28 | define(`SYMBOL',`dnl') |
---|
| 29 | define(`VISUALHINTS',`dnl') |
---|
| 30 | |
---|
| 31 | define(`NEUROCLASS',`define(`numprops',`0')`#'define FIELDSTRUCT' CLSNAME($1) ` |
---|
| 32 | ParamEntry TABNAME($1) []={ |
---|
| 33 | {"$3",1,divert(3),"$2",},divert(1)setImplementation("$2",new CLSNAME($1)); \ |
---|
| 34 | divert(3)') |
---|
| 35 | |
---|
| 36 | define(`ENDNEUROCLASS',`divert numprops undivert(3) {0,0,0,},}; |
---|
| 37 | `#'undef FIELDSTRUCT') |
---|
| 38 | define(`NEUROPROP',`define(`numprops',incr(numprops)){"$1",$2,$3,"$4","$5 $6 $7 $8",FIELD($9),},') |
---|
| 39 | |
---|
| 40 | divert |
---|
| 41 | // do not edit - generated automatically from "f0.def" |
---|
| 42 | // (to be included in "neurofactory.cpp") |
---|