ClockTicks
ClockTicks
Strong type for clock tick values. More…
#include <ClockTicks.hpp>
Public Functions
| Name | |
|---|---|
| ClockTicks(int64_t value) | |
| int64_t | getValue() const |
| bool | operator==(ClockTicks const & other) const |
| bool | operator!=(ClockTicks const & other) const |
| bool | operator<(ClockTicks const & other) const |
| bool | operator<=(ClockTicks const & other) const |
| bool | operator>(ClockTicks const & other) const |
| bool | operator>=(ClockTicks const & other) const |
| ClockTicks | operator+(int64_t offset) const |
| ClockTicks | operator-(int64_t offset) const |
| int64_t | operator-(ClockTicks const & other) const |
Detailed Description
class ClockTicks;Strong type for clock tick values.
Represents raw clock ticks from acquisition hardware. Can be converted to seconds if the sampling rate is known (stored in associated TimeFrame). Multiple data streams using the same clock can be confidently synchronized.
Public Functions Documentation
function ClockTicks
inline explicit ClockTicks(
int64_t value
)function getValue
inline int64_t getValue() constfunction operator==
inline bool operator==(
ClockTicks const & other
) constfunction operator!=
inline bool operator!=(
ClockTicks const & other
) constfunction operator<
inline bool operator<(
ClockTicks const & other
) constfunction operator<=
inline bool operator<=(
ClockTicks const & other
) constfunction operator>
inline bool operator>(
ClockTicks const & other
) constfunction operator>=
inline bool operator>=(
ClockTicks const & other
) constfunction operator+
inline ClockTicks operator+(
int64_t offset
) constfunction operator-
inline ClockTicks operator-(
int64_t offset
) constfunction operator-
inline int64_t operator-(
ClockTicks const & other
) constUpdated on 2026-11-13 at 20:25:41 +0000