FIFF time stamp: Unix seconds plus a microsecond fraction matching the on-disk fiffTimeRec record.
More...
#include <fiff_time.h>
Public Member Functions | |
| FiffTime () | |
| FiffTime (qint32 p_secs, qint32 p_usecs) | |
| ~FiffTime ()=default | |
Static Public Member Functions | |
| static qint32 | storageSize () |
Public Attributes | |
| qint32 | secs |
| qint32 | usecs |
FIFF time stamp: Unix seconds plus a microsecond fraction matching the on-disk fiffTimeRec record.
Layout is two 32-bit fields (secs, usecs) — the exact representation used by FIFF_MEAS_DATE and the per-buffer timestamps embedded in raw data blocks, so an instance can be streamed in and out without per-field marshalling.
Definition at line 49 of file fiff_time.h.
|
inline |
Default constructor. Initializes both fields to zero.
Definition at line 56 of file fiff_time.h.
|
inline |
Parameterized constructor.
| [in] | p_secs | GMT time in seconds since epoch. |
| [in] | p_usecs | Fraction of seconds in microseconds. |
Definition at line 69 of file fiff_time.h.
|
default |
Destroys the FiffTime.
|
inlinestatic |
Size of the old struct (fiffTimeRec) 2*int = 2*4 = 8.
Definition at line 98 of file fiff_time.h.
| qint32 FIFFLIB::FiffTime::secs |
GMT time in seconds since epoch.
Definition at line 90 of file fiff_time.h.
| qint32 FIFFLIB::FiffTime::usecs |
Fraction of seconds in microseconds.
Definition at line 91 of file fiff_time.h.