Class in Zendir.Classes
| Inherits from UniverseBehaviour
Declaration
class PowerMonitor;
Description
A power monitor is able to produce metrics from the power system
and allow for enabling and disabling of particular component powers.
Properties
Declared | Description |
---|
Out_PowerMonitorMsg | The message with updates about the current system |
PowerBus | The connected bus that the monitor is watching |
Inherited | Description |
---|
IsEnabled | Is true if the object is currently enabled. |
Name | The display name or tag of this object. |
Parent | The currently attached parent object (if any). |
Methods
Inherited | Description |
---|
Destroy | Removes the current object from the simulation. |
FindParentWithID | Returns an attached parent that satisfies the specified ID. |
FindParentWithType | Returns an attached parent that satisfies the specified type. |
FindRootWithID | Returns a root object that satisfies the specified ID. |
FindRootWithType | Returns a root object that satisfies the specified type. |