RohdExtensionClient class abstract
Abstract client for the ROHD VS Code extension handshake.
Both the schematic viewer and the wave viewer use this interface to:
- Detect whether the extension is reachable (ping).
- Query what source formats are available for a given module (queryModule), triggering any necessary FST/VCD pre-loading.
- Observe connection status and module info reactively via isAvailable and currentModuleInfo notifiers.
Constructors
Properties
-
currentModuleInfo
→ ValueNotifier<
RohdModuleInfo?> -
The most recently fetched RohdModuleInfo, or
nullbefore the first queryModule call.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
-
isAvailable
→ ValueNotifier<
bool> -
Whether the ROHD extension is reachable.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Release any resources held by this client.
-
lookupSignalFrames(
{required List< Map< signals, String? format}) → Future<String, String> >List< Map< >String, dynamic> > -
Look up source frames for
signalsvia the extension host. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openSourceLocation(
{required String file, required int line, int col = 0}) → void - Open a specific source location in the editor.
-
ping(
) → Future< bool> - Check whether the ROHD extension is running and reachable.
-
queryModule(
String module, {List< String> ? instancePath}) → Future<RohdModuleInfo> -
Query what source formats the extension has for
module. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited