Simple Time structure. Contains methods to read/write time data stored in JAUS messages.
More...
#include <time.h>
List of all members.
Detailed Description
Simple Time structure. Contains methods to read/write time data stored in JAUS messages.
Definition at line 55 of file time.h.
Member Typedef Documentation
Constructor & Destructor Documentation
JAUS::Time::Time |
( |
const bool |
setCurrentTime = false ) |
[inline] |
JAUS::Time::Time |
( |
const JAUS::Time & |
t ) |
[inline] |
JAUS::Time::Time |
( |
const CxUtils::Time & |
t ) |
[inline] |
JAUS::Time::~Time |
( |
) |
[inline] |
Member Function Documentation
bool JAUS::Time::operator!= |
( |
const Time & |
time ) |
const [inline] |
bool JAUS::Time::operator< |
( |
const Time & |
time ) |
const [inline] |
bool JAUS::Time::operator<= |
( |
const Time & |
time ) |
const [inline] |
Time& JAUS::Time::operator= |
( |
const CxUtils::Time & |
time ) |
[inline] |
Time& JAUS::Time::operator= |
( |
const Time & |
time ) |
[inline] |
bool JAUS::Time::operator== |
( |
const Time & |
time ) |
const [inline] |
bool JAUS::Time::operator> |
( |
const Time & |
time ) |
const [inline] |
bool JAUS::Time::operator>= |
( |
const Time & |
time ) |
const [inline] |
Time& JAUS::Time::SetTime |
( |
const UInt |
tstamp ) |
[inline] |
Sets the time using a UInt in JAUS Standard Time format.
- Parameters:
-
tstamp | Bits 0-9: milliseconds, range 0, 9999 Bits 10-15: Seconds, range 0, 59 Bits 16-21: Minutes, range 0, 59 Bits 22-26: Hour (24 hour clock), range 0, 23 Bits 27-31: Day, range 1, 31 |
- Returns:
- Current instance of the Time data.
Definition at line 100 of file time.h.
UInt JAUS::Time::ToUInt |
( |
) |
const [inline] |
Creates a UInt of the time information in the format defined by the JAUS RA.
Bits 0-9: milliseconds, range 0, 999
Bits 10-15: Seconds, range 0, 59
Bits 16-21: Minutes, range 0, 59
Bits 22-26: Hour (24 hour clock), range 0, 23
Bits 27-31: Day, range 1, 31
- Returns:
- The timestamp data in JAUS RA format.
Definition at line 77 of file time.h.
The documentation for this class was generated from the following file:
- jaus++/2.0/include/jaus/core/time.h