Event details.
More...
#include <zmdefines.h>
Event details.
Definition at line 26 of file zmdefines.h.
◆ Event() [1/2]
Event::Event |
( |
int |
eventID, |
|
|
QString |
eventName, |
|
|
int |
monitorID, |
|
|
QString |
monitorName, |
|
|
const QDateTime & |
startTime, |
|
|
QString |
length |
|
) |
| |
|
inline |
◆ Event() [2/2]
◆ monitorID()
int Event::monitorID |
( |
void |
| ) |
const |
|
inline |
◆ eventID()
int Event::eventID |
( |
void |
| ) |
const |
|
inline |
◆ eventName()
QString Event::eventName |
( |
void |
| ) |
const |
|
inline |
◆ monitorName()
QString Event::monitorName |
( |
void |
| ) |
const |
|
inline |
◆ startTime() [1/2]
QDateTime Event::startTime |
( |
Qt::TimeSpec |
spec | ) |
const |
|
inline |
Returns time using specified Qt::TimeSpec.
Definition at line 55 of file zmdefines.h.
◆ startTime() [2/2]
QDateTime Event::startTime |
( |
void |
| ) |
const |
|
inline |
Returns time with native Qt::TimeSpec (subject to revision).
Use only if the code using this functions properly with any timeSpec.
Definition at line 67 of file zmdefines.h.
◆ length()
QString Event::length |
( |
void |
| ) |
const |
|
inline |
◆ m_monitorID
int Event::m_monitorID { -1 } |
|
private |
◆ m_eventID
int Event::m_eventID { -1 } |
|
private |
◆ m_eventName
QString Event::m_eventName |
|
private |
◆ m_monitorName
QString Event::m_monitorName |
|
private |
◆ m_length
◆ m_startTime
QDateTime Event::m_startTime |
|
private |
The start time is stored in local time interally since all uses are currently using local time and conversion to/from UTC would consume significant CPU cycles.
Definition at line 80 of file zmdefines.h.
Referenced by startTime().
The documentation for this class was generated from the following file: