Prints items to the screen to represent events. More...
#include <mbl_screen_counter.h>
Public Member Functions | |
mbl_screen_counter (vcl_ostream &) | |
mbl_screen_counter | operator++ (int) |
Mark event. | |
Private Attributes | |
unsigned long | count_ |
char | symbol_ |
unsigned long | skip_ |
vcl_ostream & | os_ |
Prints items to the screen to represent events.
// A rather trivial example mbl_screen_counter counter; int n = 10; for (int i=0;i<1000;i++) { counter(vcl_cout); }
Definition at line 23 of file mbl_screen_counter.h.
mbl_screen_counter::mbl_screen_counter | ( | vcl_ostream & | os | ) |
Definition at line 10 of file mbl_screen_counter.cxx.
mbl_screen_counter mbl_screen_counter::operator++ | ( | int | ) |
Mark event.
This is a postfix increment operator
Definition at line 17 of file mbl_screen_counter.cxx.
unsigned long mbl_screen_counter::count_ [private] |
Definition at line 25 of file mbl_screen_counter.h.
vcl_ostream& mbl_screen_counter::os_ [private] |
Definition at line 28 of file mbl_screen_counter.h.
unsigned long mbl_screen_counter::skip_ [private] |
Definition at line 27 of file mbl_screen_counter.h.
char mbl_screen_counter::symbol_ [private] |
Definition at line 26 of file mbl_screen_counter.h.