LocalCrossProbeService class

Per-viewer CrossProbeService backed by a shared LocalCrossProbeChannel.

Create one LocalCrossProbeService per viewer, all sharing the same LocalCrossProbeChannel. Each service filters out its own broadcasts (matched by the source tag) so viewers do not receive their own selections.

final channel  = LocalCrossProbeChannel();
final waveXp   = LocalCrossProbeService(channel, source: 'waveform');
final schemXp  = LocalCrossProbeService(channel, source: 'schematic');

// Pass waveXp to the wave viewer and schemXp to the schematic viewer.
// dispose both services and the channel when done.
Implemented types

Constructors

LocalCrossProbeService(LocalCrossProbeChannel channel, {required String source})
Creates a LocalCrossProbeService backed by channel.

Properties

hashCode int
The hash code for this object.
no setterinherited
incomingSignals ValueNotifier<List<String>?>
The most recent incoming signal paths received from OTHER viewers.
final
isActive ValueNotifier<bool>
Whether cross-probing is currently active.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Release all resources held by this service.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(List<String> signalPaths, {required String source}) → void
Broadcast signalPaths from this viewer (source) to all others.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited