|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Derived Classes:
Variables:
- long long totalfrac;
-
- long secs;
-
- long nano;
-
Methods:
- TimeRepG(long ts = 0,long ns = 0)
-
Construct from seconds and nanoseconds.
- TimeRepG(double ts)
-
Construct from double.
- void Set(long s,long n = 0)
-
Set time in Seconds and Nanoseconds.
- void Set(double)
-
Set time from double.
- long Secs() const
-
Get second component.
- long Nanosecs() const
-
Get nanosecond component.
- StringC Text(IntT secWidth = 2,IntT fracWidth = 4) const
-
Generate a string containing the current time.
Operators
---------
- void operator+=(const TimeRepG & t)
-
- void operator-=(const TimeRepG & t)
-
- void operator=(const TimeRepG & t)
-
- TimeRepG operator-(const TimeRepG & t) const
-
- TimeRepG operator+(const TimeRepG & t) const
-
- TimeRepG operator-(double t) const
-
- TimeRepG operator+(double t) const
-
- BooleanT operator<(const TimeRepG & t) const
-
- BooleanT operator>(const TimeRepG & t) const
-
- operator double() const
-
- void Dump(ostream & out)
-
Dump internal state to stream.
|
Programmer:Jiri Matas, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|