Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Private Attributes | List of all members
BIAS::TimeStamp Class Reference

holds system time in milliseconds More...

#include <Base/Common/TimeStamp.hh>

Public Member Functions

TimeStamp Abs ()
 Returns the absolute value timestamp. More...
 
long long GetMSec () const
 Get the timestamp as long long int. More...
 
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 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
 
TimeStamp 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
 
bool operator<= (const long long &ts) const
 
TimeStampoperator= (const TimeStamp &ts)
 
TimeStampoperator= (const long long &ts)
 
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. More...
 
bool operator> (const long long &ts) const
 
bool operator>= (const TimeStamp &ts) const
 
bool operator>= (const long long &ts) const
 
 TimeStamp ()
 Ctors. More...
 
 TimeStamp (long long ts)
 
 ~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
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 TimeStamp ts) const

Definition at line 101 of file TimeStamp.cpp.

References GetMSec(), 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 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 TimeStamp ts) const

Definition at line 59 of file TimeStamp.cpp.

References GetMSec(), and msec_.

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

Definition at line 64 of file TimeStamp.cpp.

References 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 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 long long &  ts) const

Definition at line 34 of file TimeStamp.cpp.

References 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: