Class Tag

Class Documentation

class Tag

Public Functions

Tag() = default
Tag(Tag&&) = default
Tag(const Tag&) = default
auto operator=(const Tag&) -> Tag& = default
auto operator=(Tag&&) -> Tag& = default
~Tag() = default
inline auto time_point() const noexcept -> const TimePoint&
inline auto micro_step() const noexcept -> const mstep_t&
auto delay(Duration offset = Duration::zero()) const noexcept -> Tag

Public Static Functions

static auto from_physical_time(TimePoint time_point) noexcept -> Tag
static auto from_logical_time(const LogicalTime &logical_time) noexcept -> Tag

Private Functions

inline Tag(const TimePoint &time_point, const mstep_t &micro_step)

Private Members

TimePoint time_point_ = {}
mstep_t micro_step_ = {0}