QuiesceObjector class

Maintains an Objection based on whether an entity isActive, optionally with dropDelay before dropping and a timeout.

Inheritance

Constructors

QuiesceObjector(bool isActive(), {required Component parent, String name = 'quiesceObjector', Future<void> timeout()?, Future<void> dropDelay()?})
Constructs a new QuiesceObjector based on isActive.

Properties

components UnmodifiableListView<Component>
A List of all children Components.
no setterinherited
dropDelay → (Future<void> Function()?)
A function called each time an objection would drop due to lack of activity, but the objection will only be dropped if there is no further activity before it completes.
final
hashCode int
The hash code for this object.
no setterinherited
isActive bool Function()
A function which returns true if there's something worth objecting about.
final
logger Logger
A Logger for messages related to the test or testbench.
latefinalinherited
name String
A name for this instance of the Component.
finalinherited
parent Component?
The Component which constructed and contains this Component.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout → (Future<void> Function()?)
A function called each time there is activity being considered, and if it completes before an objection is dropped or there is further activity, then an error will be flagged.
final

Methods

build() → void
Performs additional build-related activities required before run.
inherited
check() → void
Performs additional checks at the end of the simulation.
inherited
consider() → void
Considers whether or not the objection should be dropped.
dropObjection() → void
Drop the objection, pending a dropDelay if it is provided.
fullName() String
A descriptive name including the full hierarchical path of this Component.
inherited
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.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
raiseObjection() → void
Raise the objection, if it does not exist already.
run(Phase phase) Future<void>
Executes this Component's activities related to running the test.
override
toString() String
A string representation of this object.
inherited

Operators

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