Skip to content

Adds support for entry/exit semantics of DccDetectorWN in the protocol client class.#908

Draft
balazsracz wants to merge 1 commit into
masterfrom
bracz-broadcastclient-exit
Draft

Adds support for entry/exit semantics of DccDetectorWN in the protocol client class.#908
balazsracz wants to merge 1 commit into
masterfrom
bracz-broadcastclient-exit

Conversation

@balazsracz

Copy link
Copy Markdown
Collaborator

When the high bits of the detection report are 00, that's an exit. We remove the respective locomotive from the list of locomotives in the particular block.


auto loco = parse_event(event->event);
add_loco(loco);
if (loco.is_entry()) {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brace style.

@balazsracz balazsracz marked this pull request as draft February 23, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants