Component class Null safety

The base class for any component in ROHD-VF.

A Component is an object that has a static position in the hierarchy of the testbench. Components are constructed before the test starts running and stay in place throughout the duration of the test.

Inheritance
Implementers

Constructors

Component(String name, Component? parent)
Constructs an instance of this Component named name and with parent parent.

Properties

hashCode int
The hash code for this object.
read-only, inherited
logger Logger
A Logger for messages related to the test or testbench.
late, final, inherited
name String
A name for this instance of the Component.
final
parent Component?
The Component which constructed and contains this Component.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

build() → void
Performs additional build-related activities required before run.
check() → void
Performs additional checks at the end of the simulation.
fullName() String
A descriptive name including the full hierarchical path of this Component.
override
hierarchy() List<Component>
Returns a List of Components representing the full hierarchy of this Component, with the top-most parent at index 0 and this as the last element of the List.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
run(Phase phase) Future<void>
Executes this Component's activities related to running the test.
toString() String
A string representation of this object.
inherited

Operators

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