RunningController class Null safety
A controller for when a program is running.
- Inheritance
-
- Object
- Controller
- RunningController
Constructors
- RunningController(RealController real, {bool digitEntryState = false})
Properties
- argBase → int
-
The numeric base for arguments, like register numbers.
read-onlyoverride
- currentDigitEntryState → DigitEntry?
-
read-only
- gotoLineNumberKey → Operation
-
The key used to GTO an absolute line number ("." on the 16C,
CHS on the 15C).
read-onlyoverride
- gsbOperation → NormalArgOperation
-
read-onlyoverride
- gtoOperation → NormalArgOperation
-
read-onlyoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- keyboard → KeyboardController
-
read-onlyoverride
- lastKey ↔ Operation?
-
read / writeinherited
- minusOp → Operation
-
read-onlyoverride
-
model
→ Model<
Operation> -
read-onlyoverride
- multOp → Operation
-
read-onlyoverride
- pause ↔ (int? Function()?)
-
read / write
- pendingError ↔ CalculatorError?
-
read / write
- real → RealController
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- state ↔ ControllerState
-
read / writeinherited
Methods
-
Handle an operation due to a press on the keyboard.
inherited
-
Finish the operation started by buttonDown. This is meaningful
for some keys, like SST, show-hex and clear-prefix.
override
-
inherited
-
delayForShow(
int updateDisplay()) → bool -
override
-
getArgsAndRun(
Operation op, Arg arg, Resting fromState) → void -
Get the arguments described by Arg, and then run it.
override
-
getErrorNumber(
CalculatorError err) → int -
override
-
handlePSE(
) → void -
Handle the pause operation. Note that this enables stack lift --
see p. 100
override
-
newSelfTests(
{bool inCalculator = true}) → SelfTests -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
pasteToX(
String clipboard) → bool -
inherited
-
reset(
) → void -
Reset everything but the state of the state machine
inherited
-
resetAll(
) → void -
inherited
-
returnToParent(
ControllerState s) → void -
setArg(
ArgDone argValue) → void -
showCalculatorError(
CalculatorError e, StackTrace? stack) → void -
Show an error on the LCD screen.
override
-
showMessage(
String message) → void -
Show a message on the LCD screen.
inherited
-
singleStep(
DigitEntry? digitEntryStateFrom) → void -
Perform a single step action by running one instruction, and then
returning to an appropriate state (DigitEntry or Running, as
determined by the executed instruction).
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited