#include <EnergyManager.h>
◆ add() [1/4]
Adds an combustion engine to the EnergyManager.
- Parameters
-
| motor | - The combustion engine to be added. |
| simulation | - The simulation. This parameter is only necessary if the PowerLine of the motor is not added to a simulation. |
◆ add() [2/4]
Adds an electric motor to the EnergyManager.
- Parameters
-
| motor | - The electric motor to be added. |
| simulation | - The simulation. This parameter is only necessary if the PowerLine of the motor is not added to a simulation. |
◆ add() [3/4]
Adds an engine to the EnergyManager.
- Parameters
-
| motor | - The engine to be added. |
| simulation | - The simulation. This parameter is only necessary if the PowerLine of the motor is not added to a simulation. |
◆ add() [4/4]
Adds an fixed velocity engine to the EnergyManager.
- Parameters
-
| motor | - The fixed velocity engine to be added. |
| simulation | - The simulation. This parameter is only necessary if the PowerLine of the motor is not added to a simulation. |
◆ getPower() [1/4]
Get the power for a combustion engine.
- Parameters
-
| motor | - The combustion engine. |
- Returns
- The power.
◆ getPower() [2/4]
Get the power for an electric motor.
- Parameters
-
| motor | - The electric motor. |
- Returns
- The power.
◆ getPower() [3/4]
Get the power for an engine.
- Parameters
-
- Returns
- The power.
◆ getPower() [4/4]
Get the power for a fixed velocity engine.
- Parameters
-
| motor | - The fixed velocity engine. |
- Returns
- The power.
◆ getWorkDone() [1/4]
Get the work done by a combustion engine.
- Parameters
-
| motor | - The combustion engine. |
- Returns
- The work done.
◆ getWorkDone() [2/4]
Get the work done by an electric motor.
- Parameters
-
| motor | - The electric motor. |
- Returns
- The work done.
◆ getWorkDone() [3/4]
Get the work done by an engine.
- Parameters
-
- Returns
- The work done.
◆ getWorkDone() [4/4]
Get the work done by a fixed velocity engine.
- Parameters
-
| motor | - The fixed velocity engine. |
- Returns
- The work done.
◆ remove() [1/4]
Removes a combustion engine from the EnergyManager.
- Parameters
-
| motor | - The combustion engine to be removed. |
| simulation | - The simulation. This parameter is only necessary if the PowerLine of the motor is not added to a simulation. |
◆ remove() [2/4]
Removes an electric motor from the EnergyManager.
- Parameters
-
| motor | - The electric motor to be removed. |
| simulation | - The simulation. This parameter is only necessary if the PowerLine of the motor is not added to a simulation. |
◆ remove() [3/4]
Removes an engine from the EnergyManager.
- Parameters
-
| motor | - The engine to be removed. |
| simulation | - The simulation. This parameter is only necessary if the PowerLine of the motor is not added to a simulation. |
◆ remove() [4/4]
Removes an fixed velocity engine from the EnergyManager.
- Parameters
-
| motor | - The fixed velocity engine to be removed. |
| simulation | - The simulation. This parameter is only necessary if the PowerLine of the motor is not added to a simulation. |
The documentation for this class was generated from the following file: