Skip to main content

chronon::observe::TimelineTrackBase

Base for declarative timeline tracks; handles owner registration and context attach (track-id assignment).

#include <TimelineTrack.hpp>

Inherited by chronon::observe::TimelineLane

Public Functions

Name
uint32_ttrackId() const
TimelineTrackBase &operator=(const TimelineTrackBase & ) =delete
ObservationContext *observationContext() const
const std::string &name() const
boolisRegistered() const
TimelineTrackBase(ObservableUnit * owner, std::string_view name, uint16_t lanes)
TimelineTrackBase(const TimelineTrackBase & ) =delete

Protected Functions

Name
voidstampCycle_()
Stamps the owner's cycle into the context.

Protected Attributes

Name
uint32_ttrack_id_
boolregistered_
ObservableUnit *owner_
std::stringname_
uint16_tlanes_
ObservationContext *ctx_

Friends

Name
classObservableUnit

Public Functions Documentation

function trackId

inline uint32_t trackId() const

function operator=

TimelineTrackBase & operator=(
const TimelineTrackBase &
) =delete

function observationContext

inline ObservationContext * observationContext() const

function name

inline const std::string & name() const

function isRegistered

inline bool isRegistered() const

function TimelineTrackBase

TimelineTrackBase(
ObservableUnit * owner,
std::string_view name,
uint16_t lanes
)

function TimelineTrackBase

TimelineTrackBase(
const TimelineTrackBase &
) =delete

Protected Functions Documentation

function stampCycle_

void stampCycle_()

Stamps the owner's cycle into the context.

Protected Attributes Documentation

variable track_id_

uint32_t track_id_ = 0;

variable registered_

bool registered_ = false;

variable owner_

ObservableUnit * owner_ = nullptr;

variable name_

std::string name_;

variable lanes_

uint16_t lanes_ = 1;

variable ctx_

ObservationContext * ctx_ = nullptr;

Friends

friend ObservableUnit

friend class ObservableUnit(
ObservableUnit
);

Updated on 2026-07-23 at 16:24:33 +0000