Skip to content

Update slot count#650

Draft
KrishaDeshkool wants to merge 7 commits into
eclipse-score:mainfrom
KrishaDeshkool:update_slot_count
Draft

Update slot count#650
KrishaDeshkool wants to merge 7 commits into
eclipse-score:mainfrom
KrishaDeshkool:update_slot_count

Conversation

@KrishaDeshkool

@KrishaDeshkool KrishaDeshkool commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

update the slot counts based on this matrix

WithNotifier numberOfSampleSlots used slot count
enabled configured as configured
enabled missing none, startup terminates
disabled missing 2
disabled configured 2, a warning is logged

A field without a notifier passes a fixed slot count override here. The
tracing slots (a std::uint8_t) are added on top the override is small number(2)
so the sum cannot overflow, no extra check needed.
…erties

It now takes a slot count override and builds the value, so Get no
longer fits. Create says it constructs a new SkeletonEventProperties.
The field passes its notifier capability to the binding factory, which
uses it to pick the slot count for the field's backing event.
CreateSkeletonEventOrField is now CreateSkeletonServiceElement, a shared
helper behind two typed entry points: CreateSkeletonEvent (no slot count
override) and CreateSkeletonField (with one). The event factory no longer
sees a field-only parameter. CreateGenericSkeletonEventOrField is left as
is: the generic side has no tag-based enabling, so it has no event/field
split to make.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant