Class DevicePowerSink¶
Defined in File DevicePowerSink.hpp
Inheritance Relationships¶
Derived Type¶
public rmf_battery::agv::SimpleDevicePowerSink
(Class SimpleDevicePowerSink)
Class Documentation¶
-
class
rmf_battery
::
DevicePowerSink
¶ Subclassed by rmf_battery::agv::SimpleDevicePowerSink
Public Functions
-
virtual double
compute_change_in_charge
(const double run_time) const = 0¶ Compute change in state-of-charge of the battery due to an onboard device over a time period.
- Return
The charge depleted as a fraction of the total battery capacity
- Parameters
[in] run_time
: The duration in seconds over which the power system drains charge from the battery
-
virtual
~DevicePowerSink
() = default¶
-
virtual double