QCanBusFrame::TimeStamp Class
class QCanBusFrame::TimeStampLa classe TimeStamp fornisce informazioni relative al timestamp con una precisione al microsecondo. Per saperne di più...
Funzioni pubbliche
| TimeStamp(qint64 s = 0, qint64 usec = 0) | |
| qint64 | microSeconds() const |
| qint64 | seconds() const |
Membri pubblici statici
| QCanBusFrame::TimeStamp | fromMicroSeconds(qint64 usec) |
Documentazione delle funzioni membro
[constexpr noexcept] TimeStamp::TimeStamp(qint64 s = 0, qint64 usec = 0)
Crea un oggetto TimeStamp in secondi ( s) e microsecondi ( usec).
Nota: il TimeStamp non è normalizzato, ovvero i microsecondi superiori a 1000000 non vengono convertiti in secondi.
[static constexpr noexcept] QCanBusFrame::TimeStamp TimeStamp::fromMicroSeconds(qint64 usec)
Crea un oggetto ` TimeStamp ` normalizzato a partire dai microsecondi ` usec`.
L'TimeStamp e creato è normalizzato, ovvero i microsecondi superiori a 1000000 vengono convertiti in secondi.
[constexpr noexcept] qint64 TimeStamp::microSeconds() const
Restituisce i microsecondi del timestamp.
[constexpr noexcept] qint64 TimeStamp::seconds() const
Restituisce i secondi del timestamp.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.