Skip to main content

LaneLayoutEventAssociation

LaneLayoutEventAssociation

Stable event-to-lane association in a saved DataViewer lane profile. More…

#include <DataViewerStateData.hpp>

Public Attributes

Name
std::string event_key
DigitalEventSeries key in DataManager.
std::string target_lane_id
Existing lane_id to place relative to.
LaneLayoutEventPlacement placement
Relative placement policy.
std::string color
Hex color string used when the series is added.
bool visible
Whether the event series should render after load.
std::optional< EventGlyphShapeData > glyph_shape
Optional event glyph shape override.

Detailed Description

struct LaneLayoutEventAssociation;

Stable event-to-lane association in a saved DataViewer lane profile.

Uses exact DataManager keys so unit labels such as “spikes_11a” do not need to be parsed from the key name.

Public Attributes Documentation

variable event_key

std::string event_key;

DigitalEventSeries key in DataManager.

variable target_lane_id

std::string target_lane_id;

Existing lane_id to place relative to.

variable placement

LaneLayoutEventPlacement placement = LaneLayoutEventPlacement::Above;

Relative placement policy.

variable color

std::string color = "#FF0000";

Hex color string used when the series is added.

variable visible

bool visible = true;

Whether the event series should render after load.

variable glyph_shape

std::optional< EventGlyphShapeData > glyph_shape = std::nullopt;

Optional event glyph shape override.


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