Skip to main content

ClockTicksWithId

ClockTicksWithId

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

#include <EventWithId.hpp>

Public Functions

Name
ClockTicksWithId(ClockTicks time, EntityId id)
ClockTicks time() const
Get the time of this event in clock ticks.
EntityId id() const
Get the EntityId of this event.
ClockTicks value() const
Get the clock-tick event time.

Public Attributes

Name
ClockTicks event_time
EntityId entity_id

Detailed Description

struct ClockTicksWithId;

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

See: EventWithId for index-based storage element type

API-facing element type for iteration and range queries on DigitalEventSeries where event times are expressed in absolute physical time (ClockTicks).

Public Functions Documentation

function ClockTicksWithId

inline ClockTicksWithId(
    ClockTicks time,
    EntityId id
)

function time

inline ClockTicks time() const

Get the time of this event in clock ticks.

function id

inline EntityId id() const

Get the EntityId of this event.

function value

inline ClockTicks value() const

Get the clock-tick event time.

Public Attributes Documentation

variable event_time

ClockTicks event_time;

variable entity_id

EntityId entity_id;

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