Sequencer<SequenceItemType extends SequenceItem> class

A Component that consumes Sequences and SequenceItems and properly forwards them to an output stream to be driven by a Driver.

If there is no special behavior required, using the default implementation of Sequencer is perfectly functional and just passes items directly through to the output stream.



Sequencer(String name, Component? parent)
Constructs a basic Sequencer of SequenceItemType named name which passes items directly through without additional processing to stream.


components UnmodifiableListView<Component>
A List of all children Components.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isConnected bool
Returns true iff there is exactly one listener to stream, which should be a Driver.
no setter
logger → Logger
A Logger for messages related to the test or testbench.
name String
A name for this instance of the Component.
parent Component?
The Component which constructed and contains this Component.
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<SequenceItemType>
The output Stream of SequenceItemType from this Sequencer, intended to be consumed by a Driver.
no setter


add(SequenceItemType item) → void
Adds a single item to this Sequencer to be passed on to the associated Driver.
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.
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 nonexistent method or property is accessed.
run(Phase phase) Future<void>
Executes this Component's activities related to running the test.
start(Sequence<Sequencer<SequenceItem>> sequence) Future<void>
Starts running the Sequence.body on this Sequencer.
toString() String
A string representation of this object.


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