MissileSiteFactory class
Constructor for MissileSiteFactory
We use Config to configure the site according to the user input data.
- Inheritance
- Object
- SamFactory
- MissileSiteFactory
Constructors
- MissileSiteFactory(List MS, Config cfg)
- Constructor for MissileSiteFactory [...]
Properties
- cfg ↔ Config
-
Data collected from user (with suitable defaulted values).
read / write
- enums ↔ List
-
Storage for valid names associated with model
read / write, inherited
-
enumTypes
↔ List<
Type> -
Storage for valid types associated with model. [...]
read / write, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
defRender(
SamModel sm) → Widget - Default widget tree for missile site
-
formatTrifecta(
SamAction sa, SamState ss, SamView sv) → dynamic -
customize the Trifecta.
override
-
handleHealthCheck(
SamModel sm, SamReq req) → void - Determine health of MissileSite based on signals from Bank. [...]
-
handleLogReq(
covariant MissileSite sm, SamReq req) → void -
Write log data to the
Logger
widget. [...] -
incrementCtr(
MissileSite sm) → void - This is called when the timer expires. [...]
-
napDistressed(
covariant MissileSite sm, SamReq req) → void - nap handler for entering MS.ssDistressed state. [...]
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
saFlash(
covariant MissileSite sm, SamReq req) → void - MS.saFlash action handler. [...]
-
ssDefunct(
covariant MissileSite site) → Widget - MS.ssDefunct state widget tree for missile site [...]
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited