Data structure for UTC time.
More...
#include <JDAQUTCExtended.hh>
Data structure for UTC time.
Definition at line 22 of file JDAQUTCExtended.hh.
◆ JUINT32_t
◆ JDAQUTCExtended() [1/3]
KM3NETDAQ::JDAQUTCExtended::JDAQUTCExtended |
( |
| ) |
|
|
inline |
◆ JDAQUTCExtended() [2/3]
KM3NETDAQ::JDAQUTCExtended::JDAQUTCExtended |
( |
const JUINT32_t |
seconds, |
|
|
const JUINT32_t |
cycles |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
seconds | seconds [s] |
cycles | cycles [16 ns] |
Definition at line 48 of file JDAQUTCExtended.hh.
◆ JDAQUTCExtended() [3/3]
KM3NETDAQ::JDAQUTCExtended::JDAQUTCExtended |
( |
const double |
nanoseconds | ) |
|
|
inline |
◆ ~JDAQUTCExtended()
virtual KM3NETDAQ::JDAQUTCExtended::~JDAQUTCExtended |
( |
| ) |
|
|
inlinevirtual |
◆ getUTCseconds()
JUINT32_t KM3NETDAQ::JDAQUTCExtended::getUTCseconds |
( |
| ) |
const |
|
inline |
◆ getUTC16nanosecondcycles()
JUINT32_t KM3NETDAQ::JDAQUTCExtended::getUTC16nanosecondcycles |
( |
| ) |
const |
|
inline |
◆ getTimeNanoSecond()
double KM3NETDAQ::JDAQUTCExtended::getTimeNanoSecond |
( |
| ) |
const |
|
inline |
◆ setTimeNanoSecond()
void KM3NETDAQ::JDAQUTCExtended::setTimeNanoSecond |
( |
const double |
utc_ns | ) |
|
|
inline |
◆ min()
Get minimum possible value.
- Returns
- minimum possible value
Definition at line 123 of file JDAQUTCExtended.hh.
◆ max()
Get maximum possible value.
- Returns
- maximum possible value
Definition at line 134 of file JDAQUTCExtended.hh.
137 std::numeric_limits<JUINT32_t>::max());
◆ getMask()
static JUINT32_t KM3NETDAQ::JDAQUTCExtended::getMask |
( |
| ) |
|
|
inlinestatic |
◆ getTick()
static double KM3NETDAQ::JDAQUTCExtended::getTick |
( |
| ) |
|
|
inlinestatic |
◆ ClassDef()
◆ getSizeof
Definition of method to get size of data type.
This method should be specialised for each desired data type with fixed length.
- Returns
- number of bytes
◆ operator>> [1/2]
◆ operator<< [1/2]
◆ operator>> [2/2]
Read UTC time.
- Parameters
-
in | intput stream |
utc | UTC extended time |
- Returns
- intput stream
Definition at line 170 of file JDAQUTCExtended.hh.
◆ operator<< [2/2]
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const JDAQUTCExtended & |
utc |
|
) |
| |
|
friend |
Write UTC time.
- Parameters
-
out | output stream |
utc | UTC extended time |
- Returns
- output stream
Definition at line 187 of file JDAQUTCExtended.hh.
191 const char c = out.fill();
◆ UTC_seconds
JUINT32_t KM3NETDAQ::JDAQUTCExtended::UTC_seconds |
|
protected |
◆ UTC_16nanosecondcycles
JUINT32_t KM3NETDAQ::JDAQUTCExtended::UTC_16nanosecondcycles |
|
protected |
The documentation for this class was generated from the following file: