Basic Image AlgorithmS Library 2.8.0
Public Member Functions | Private Attributes

BIAS::TimeStamp Class Reference

holds system time in milliseconds More...

#include <Base/Common/TimeStamp.hh>

List of all members.

Public Member Functions

TimeStamp Abs ()
 Returns the absolute value timestamp.
long long GetMSec () const
 Get the timestamp as long long int.
bool operator!= (const TimeStamp &ts) const
bool operator!= (const long long &ts) const
TimeStamp operator% (const TimeStamp &ts) const
TimeStamp operator% (const long long &ts) const
TimeStamp operator* (const TimeStamp &ts) const
TimeStamp operator* (const long long &ts) const
TimeStamp operator+ (const long long &ts) const
TimeStamp operator+ (const TimeStamp &ts) const
TimeStamp operator- (const long long &ts) const
TimeStamp operator- (const TimeStamp &ts) const
TimeStamp operator/ (const long long &ts) const
TimeStamp operator/ (const TimeStamp &ts) const
bool operator< (const TimeStamp &ts) const
bool operator< (const long long &ts) const
bool operator<= (const TimeStamp &ts) const
bool operator<= (const long long &ts) const
TimeStampoperator= (const long long &ts)
TimeStampoperator= (const TimeStamp &ts)
bool operator== (const long long &ts) const
bool operator== (const TimeStamp &ts) const
bool operator> (const long long &ts) const
bool operator> (const TimeStamp &ts) const
 Operators for comparsion, duplication and basic arithmetics.
bool operator>= (const TimeStamp &ts) const
bool operator>= (const long long &ts) const
 TimeStamp (long long ts)
 TimeStamp ()
 Ctors.
 ~TimeStamp ()

Private Attributes

long long msec_

Detailed Description

holds system time in milliseconds

Definition at line 45 of file TimeStamp.hh.


Constructor & Destructor Documentation

BIAS::TimeStamp::TimeStamp ( ) [inline]

Ctors.

Definition at line 50 of file TimeStamp.hh.

Referenced by operator%(), operator*(), operator+(), operator-(), and operator/().

BIAS::TimeStamp::TimeStamp ( long long  ts) [inline]

Definition at line 51 of file TimeStamp.hh.

BIAS::TimeStamp::~TimeStamp ( ) [inline]

Definition at line 52 of file TimeStamp.hh.


Member Function Documentation

TimeStamp BIAS::TimeStamp::Abs ( ) [inline]

Returns the absolute value timestamp.

Definition at line 92 of file TimeStamp.hh.

long long BIAS::TimeStamp::GetMSec ( ) const [inline]

Get the timestamp as long long int.

Definition at line 87 of file TimeStamp.hh.

Referenced by operator!=(), operator%(), operator*(), operator+(), operator-(), operator/(), operator<(), operator<=(), operator=(), operator==(), operator>(), and operator>=().

bool TimeStamp::operator!= ( const TimeStamp ts) const

Definition at line 79 of file TimeStamp.cpp.

References GetMSec(), and msec_.

bool TimeStamp::operator!= ( const long long &  ts) const

Definition at line 84 of file TimeStamp.cpp.

References msec_.

TimeStamp TimeStamp::operator% ( const TimeStamp ts) const

Definition at line 141 of file TimeStamp.cpp.

References GetMSec(), msec_, and TimeStamp().

TimeStamp TimeStamp::operator% ( const long long &  ts) const

Definition at line 146 of file TimeStamp.cpp.

References msec_, and TimeStamp().

TimeStamp TimeStamp::operator* ( const TimeStamp ts) const

Definition at line 121 of file TimeStamp.cpp.

References GetMSec(), msec_, and TimeStamp().

TimeStamp TimeStamp::operator* ( const long long &  ts) const

Definition at line 126 of file TimeStamp.cpp.

References msec_, and TimeStamp().

TimeStamp TimeStamp::operator+ ( const long long &  ts) const

Definition at line 106 of file TimeStamp.cpp.

References msec_, and TimeStamp().

TimeStamp TimeStamp::operator+ ( const TimeStamp ts) const

Definition at line 101 of file TimeStamp.cpp.

References GetMSec(), msec_, and TimeStamp().

TimeStamp TimeStamp::operator- ( const TimeStamp ts) const

Definition at line 111 of file TimeStamp.cpp.

References GetMSec(), msec_, and TimeStamp().

TimeStamp TimeStamp::operator- ( const long long &  ts) const

Definition at line 116 of file TimeStamp.cpp.

References msec_, and TimeStamp().

TimeStamp TimeStamp::operator/ ( const TimeStamp ts) const

Definition at line 131 of file TimeStamp.cpp.

References GetMSec(), msec_, and TimeStamp().

TimeStamp TimeStamp::operator/ ( const long long &  ts) const

Definition at line 136 of file TimeStamp.cpp.

References msec_, and TimeStamp().

bool TimeStamp::operator< ( const TimeStamp ts) const

Definition at line 39 of file TimeStamp.cpp.

References GetMSec(), and msec_.

bool TimeStamp::operator< ( const long long &  ts) const

Definition at line 44 of file TimeStamp.cpp.

References msec_.

bool TimeStamp::operator<= ( const long long &  ts) const

Definition at line 64 of file TimeStamp.cpp.

References msec_.

bool TimeStamp::operator<= ( const TimeStamp ts) const

Definition at line 59 of file TimeStamp.cpp.

References GetMSec(), and msec_.

TimeStamp & TimeStamp::operator= ( const TimeStamp ts)

Definition at line 89 of file TimeStamp.cpp.

References GetMSec(), and msec_.

TimeStamp & TimeStamp::operator= ( const long long &  ts)

Definition at line 95 of file TimeStamp.cpp.

References msec_.

bool TimeStamp::operator== ( const TimeStamp ts) const

Definition at line 69 of file TimeStamp.cpp.

References GetMSec(), and msec_.

bool TimeStamp::operator== ( const long long &  ts) const

Definition at line 74 of file TimeStamp.cpp.

References msec_.

bool TimeStamp::operator> ( const long long &  ts) const

Definition at line 34 of file TimeStamp.cpp.

References msec_.

bool TimeStamp::operator> ( const TimeStamp ts) const

Operators for comparsion, duplication and basic arithmetics.

Definition at line 29 of file TimeStamp.cpp.

References GetMSec(), and msec_.

bool TimeStamp::operator>= ( const TimeStamp ts) const

Definition at line 49 of file TimeStamp.cpp.

References GetMSec(), and msec_.

bool TimeStamp::operator>= ( const long long &  ts) const

Definition at line 54 of file TimeStamp.cpp.

References msec_.


Member Data Documentation

long long BIAS::TimeStamp::msec_ [private]

The documentation for this class was generated from the following files:
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends