Count is counting integers. It can be used also to calculate an integer sum of all provided numbers. To increase the counter use update().
Public Member Functions | |
Count (Simulation *s, Label title="") | |
Construction. | |
virtual | ~Count () |
Destruction. | |
void | update (int v=1) |
Update counter. | |
virtual void | reset () |
Reset counter and statistics. | |
int | getValue () |
Get current counter value. | |
virtual void | report (Report *r) |
Report generation. |