SubsystemsMetrics class
Rover metrics for the status of the entire subsystems program
- Inheritance
-
- Object
- Metrics<
SubsystemsData> - SubsystemsMetrics
Constructors
- SubsystemsMetrics()
- Default constructor for subsystems metrics
Properties
-
allMetrics
→ List<
MetricLine> -
A list of user-friendly explanations for each of the metrics.
no setteroverride
- data → SubsystemsData
-
The underlying data used to get these metrics.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- icon ↔ IconData
-
An icon to visually represent the metrics
getter/setter pairoverride-getter
- matchesVersion → bool
-
Whether the Dashboard is certain the firmware matches the right version.
no setterinherited
- name ↔ String
-
A collective name for this group of metrics (usually the name of the subsystem).
getter/setter pairoverride-getter
- overallSeverity → Severity?
-
Fetch the overall Security
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supportedVersion ↔ Version
-
The currently-supported version for this Dashboard.
getter/setter pairoverride-getter
- version ↔ Version
-
The version of the data that the firmware sends.
getter/setter pairinherited
- versionCommand → Message
-
A command to notify the firmware of the Dashboard's supportedVersion.
no setteroverride
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
checkVersion(
SubsystemsData data) → bool -
Checks this message's version and checks for support.
inherited
-
dispose(
) → void -
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
parseVersion(
SubsystemsData message) → Version -
Parses the version out of a given data packet.
override
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
sensorConnectionStatus(
String sensorName, BoolState value) → String - Utility method to get the display string of a sensor's connection
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
SubsystemsData value) → void -
Updates data with new data.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited