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

DeclaredDescription
Out_PowerMonitorMsgThe message with updates about the current system
PowerBusThe connected bus that the monitor is watching
InheritedDescription
IsEnabledIs true if the object is currently enabled.
NameThe display name or tag of this object.
ParentThe currently attached parent object (if any).

Methods

InheritedDescription
DestroyRemoves the current object from the simulation.
FindParentWithIDReturns an attached parent that satisfies the specified ID.
FindParentWithTypeReturns an attached parent that satisfies the specified type.
FindRootWithIDReturns a root object that satisfies the specified ID.
FindRootWithTypeReturns a root object that satisfies the specified type.