QCanBusFrame::TimeStamp Class
class QCanBusFrame::TimeStampTimeStamp クラスは、マイクロ秒単位の精度でタイムスタンプ情報を提供します。詳細...
パブリック関数
| TimeStamp(qint64 s = 0, qint64 usec = 0) | |
| qint64 | microSeconds() const |
| qint64 | seconds() const |
静的パブリックメンバー
| QCanBusFrame::TimeStamp | fromMicroSeconds(qint64 usec) |
メンバー関数のドキュメント
[constexpr noexcept] TimeStamp::TimeStamp(qint64 s = 0, qint64 usec = 0)
秒単位(s )およびマイクロ秒単位(usec )のTimeStampを生成します。
注: TimeStampは 正規化されていません。つまり、1000000を超えるマイクロ秒は秒に変換されません。
[static constexpr noexcept] QCanBusFrame::TimeStamp TimeStamp::fromMicroSeconds(qint64 usec)
マイクロ秒usec から、正規化されたTimeStamp を作成します。
作成されたTimeStamp は正規化されており、つまり、1000000を超えるマイクロ秒は秒に変換されます。
[constexpr noexcept] qint64 TimeStamp::microSeconds() const
タイムスタンプのマイクロ秒数を返します。
[constexpr noexcept] qint64 TimeStamp::seconds() const
タイムスタンプの秒数を返します。
© 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.