OmniEvents
OmniEvents::timestamp Class Reference

This class can be used to generate timestamps. More...

Public Member Functions

 timestamp (void)
 
const char * t (void)
 

Private Attributes

char str [29]
 

Detailed Description

This class can be used to generate timestamps.

The t() method normally returns a timestamp string, but if the same timestamp (to the nearest second) would be returned as last time then an empty string is returned instead.

Definition at line 252 of file omniEventsLog.cc.

Constructor & Destructor Documentation

◆ timestamp()

OmniEvents::timestamp::timestamp ( void  )
inline

Definition at line 256 of file omniEventsLog.cc.

References str.

Member Function Documentation

◆ t()

const char* OmniEvents::timestamp::t ( void  )
inline

Definition at line 261 of file omniEventsLog.cc.

References str.

Referenced by OmniEvents::omniEventsLog::checkpoint().

Member Data Documentation

◆ str

char OmniEvents::timestamp::str[29]
private

Definition at line 254 of file omniEventsLog.cc.

Referenced by t(), and timestamp().


The documentation for this class was generated from the following file: