#include <vul_timestamp.h>
Definition at line 14 of file vul_timestamp.h.
Public Member Functions | |
| vul_timestamp () | |
| Constructor. | |
| virtual | ~vul_timestamp () |
| Destructor. | |
| void | touch () |
| Get a new timestamp. | |
| unsigned long | get_time_stamp () const |
| Get a new timestamp (incremented by 1 each time). | |
| bool | older (vul_timestamp const &t) const |
| Returns true if t is older than the last timestamp. | |
| bool | older (vul_timestamp const *t) const |
| Returns true if t is older than the last timestamp. | |
Protected Attributes | |
| unsigned long | timestamp_ |
| last timestamp. | |
Static Private Member Functions | |
| static unsigned long | get_unique_timestamp () |
| get a new timestamp. | |
Static Private Attributes | |
| static unsigned long | mark = 0 |
| mark is incremented to give a unique timestamp. | |
|
|
Constructor.
Definition at line 22 of file vul_timestamp.h. |
|
|
Destructor.
Definition at line 24 of file vul_timestamp.h. |
|
|
Get a new timestamp (incremented by 1 each time).
Definition at line 29 of file vul_timestamp.h. |
|
|
get a new timestamp.
Definition at line 42 of file vul_timestamp.h. |
|
|
Returns true if t is older than the last timestamp.
Definition at line 34 of file vul_timestamp.h. |
|
|
Returns true if t is older than the last timestamp.
Definition at line 32 of file vul_timestamp.h. |
|
|
Get a new timestamp.
Definition at line 27 of file vul_timestamp.h. |
|
|
mark is incremented to give a unique timestamp.
Definition at line 17 of file vul_timestamp.h. |
|
|
last timestamp.
Definition at line 38 of file vul_timestamp.h. |
1.4.4