Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

tobserver Class Reference

List of all members.

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.


Detailed Description

An observer neuron class.

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.


The documentation for this class was generated from the following file:
Generated on Mon Jun 16 15:42:27 2003 for Punnets by doxygen1.2.18