queryModule method

  1. @override
Future<RohdModuleInfo> queryModule(
  1. String module, {
  2. List<String>? instancePath,
})
override

Query what source formats the extension has for module.

module is the definition name of the module currently displayed (e.g. 'Counter_L1_'). instancePath is the optional instance path from the root (e.g. ['serializer', 'counter']), which may help the extension locate waveform data.

Returns a RohdModuleInfo describing what is available, and updates currentModuleInfo with the same value.

Never throws — returns RohdModuleInfo.unavailable on error.

Implementation

@override
Future<RohdModuleInfo> queryModule(
  String module, {
  List<String>? instancePath,
}) async =>
    RohdModuleInfo.unavailable;