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
タイムスタンプの秒数を返します。
© 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.