TimeStamp Class
class QCanBusFrame::TimeStampDie Klasse TimeStamp liefert Zeitstempelinformationen mit Mikrosekundengenauigkeit. Mehr...
Öffentliche Funktionen
TimeStamp(qint64 s = 0, qint64 usec = 0) | |
qint64 | microSeconds() const |
qint64 | seconds() const |
Statische öffentliche Mitglieder
QCanBusFrame::TimeStamp | fromMicroSeconds(qint64 usec) |
Dokumentation der Mitgliederfunktionen
[constexpr noexcept]
TimeStamp::TimeStamp(qint64 s = 0, qint64 usec = 0)
Konstruiert einen TimeStamp in Sekunden, s, und Mikrosekunden, usec.
Hinweis: Der TimeStamp ist nicht normalisiert, d.h. Mikrosekunden über 1000000 werden nicht in Sekunden umgewandelt.
[static constexpr noexcept]
QCanBusFrame::TimeStamp TimeStamp::fromMicroSeconds(qint64 usec)
Konstruiert ein normalisiertes TimeStamp aus Mikrosekunden usec.
Die erstellte TimeStamp ist normalisiert, d.h. Mikrosekunden über 1000000 werden in Sekunden umgewandelt.
[constexpr noexcept]
qint64 TimeStamp::microSeconds() const
Gibt die Mikrosekunden des Zeitstempels zurück.
[constexpr noexcept]
qint64 TimeStamp::seconds() const
Gibt die Sekunden des Zeitstempels zurück.
© 2025 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.