Public Methods | |
| tobserver (string iname, bool ishow=false) | |
| The constructor. | |
| virtual void | pulseArrive (tscheduler &, ntime_t current_time, real pulse_level) |
| When a pulse is arrived, it counts and reports the pulse arrival. | |
| int | getNPulses () const |
| Get the number of pulses observed. | |
| void | clearNPulses () |
| Clear the pulse counter. | |
When this neuron received a pulse, it counts the number of pulses. If constructed with true show parameter, it also reports the arrival of a pulse to the console.
Definition at line 51 of file dtest.cpp.
1.2.18