ReadyValidTracker class

A tracker for a ready/valid protocol.

Inheritance

Constructors

ReadyValidTracker({String name = 'readyValidTracker', bool dumpJson = true, bool dumpTable = true, String? outputFolder, int timeColumnWidth = 12, int dataColumnWidth = 14})
Creates a new tracker for a ready/valid protocol.

Properties

dumpJson bool
If true, will dump a JSON file log to jsonFileName.
finalinherited
dumpTable bool
If true, will dump an ASCII table log to tableFileName.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
jsonFileName String
The path to the generated JSON log file, if enabled by dumpJson.
no setterinherited
name String
The name of this Tracker, used for naming output files.
finalinherited
outputFolder String?
An optional output directory for the logs.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tableFileName String
The path to the generated ASCII table log file, if enabled by dumpTable.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
record(ReadyValidPacket trackable, {Map<String, String?> defaults = const {}}) → void
Records trackable into all enabled logs.
inherited
terminate() Future<void>
Cleans up and finalizes all logs.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

dataField → const String
Tracker field for data.
timeField → const String
Tracker field for simulation time.