TimeStamp Class
class QCanBusFrame::TimeStamp타임스탬프 클래스는 마이크로초 단위의 정밀도로 타임스탬프 정보를 제공합니다. 더 보기...
공용 함수
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) 단위로 타임스탬프를 구성합니다.
참고: 타임스탬프는 정규화되지 않습니다. 즉, 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.