Skip to main content

ClockTicksIntervalWithId

ClockTicksIntervalWithId

Structure to hold a clock-tick interval with its associated EntityID. More…

#include <IntervalWithId.hpp>

Public Functions

Name
ClockTicksIntervalWithId(ClockTicksInterval const & interval_data, EntityId id)
ClockTicks time() const
Get the start time of this interval in clock ticks.
EntityId id() const
Get the EntityId of this interval.
ClockTicksInterval const & value() const
Get the clock-tick interval data.

Public Attributes

Name
ClockTicksInterval interval
EntityId entity_id

Detailed Description

struct ClockTicksIntervalWithId;

Structure to hold a clock-tick interval with its associated EntityID.

See: IntervalWithId for index-based storage/iteration element type

API-facing element type for range queries on DigitalIntervalSeries where interval bounds are expressed in absolute physical time (ClockTicks).

Public Functions Documentation

function ClockTicksIntervalWithId

inline ClockTicksIntervalWithId(
    ClockTicksInterval const & interval_data,
    EntityId id
)

function time

inline ClockTicks time() const

Get the start time of this interval in clock ticks.

function id

inline EntityId id() const

Get the EntityId of this interval.

function value

inline ClockTicksInterval const & value() const

Get the clock-tick interval data.

Public Attributes Documentation

variable interval

ClockTicksInterval interval;

variable entity_id

EntityId entity_id;

Updated on 2026-11-13 at 20:25:39 +0000