QCanBusFrame::TimeStamp Class
class QCanBusFrame::TimeStampDie Klasse „TimeStamp“ liefert Zeitstempelinformationen mit einer Genauigkeit im Mikrosekundenbereich. 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 Mitgliedsfunktionen
[constexpr noexcept] TimeStamp::TimeStamp(qint64 s = 0, qint64 usec = 0)
Erstellt einen TimeStamp in Sekunden ( s) und Mikrosekunden ( usec).
Hinweis: Der Zeitstempel wird nicht normalisiert, d. h. Mikrosekunden, die größer als 1.000.000 sind, werden nicht in Sekunden umgewandelt.
[static constexpr noexcept] QCanBusFrame::TimeStamp TimeStamp::fromMicroSeconds(qint64 usec)
Erzeugt eine normalisierte Zeitangabe „ TimeStamp “ aus Mikrosekunden „ usec “.
Der erstellte Wert „ TimeStamp “ ist normalisiert, d. h., Mikrosekunden, die größer als 1.000.000 sind, 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.
© 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.