RohdExtensionClient class abstract

Abstract client for the ROHD VS Code extension handshake.

Both the schematic viewer and the wave viewer use this interface to:

  1. Detect whether the extension is reachable (ping).
  2. Query what source formats are available for a given module (queryModule), triggering any necessary FST/VCD pre-loading.
  3. Observe connection status and module info reactively via isAvailable and currentModuleInfo notifiers.

Constructors

RohdExtensionClient()

Properties

currentModuleInfo ValueNotifier<RohdModuleInfo?>
The most recently fetched RohdModuleInfo, or null before 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<String, String>> signals, String? format}) Future<List<Map<String, dynamic>>>
Look up source frames for signals via 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