Header file for PumpShaftPower class.
More...
#include <PumpShaftPower.h>
Header file for PumpShaftPower class.
This contains the prototypes of PumpShaftPower calculator including getters and setters for the important fields.
- Author
- Gina Accawi (accawigk)
-
Allie Ledbetter (Aeledbetter)
This contains the prototypes of PumpShaftPower calculator including getters and setters for the important fields.
- Author
- Gina Accawi (accawigk)
-
Allie Ledbetter (Aeledbetter)
This contains the prototypes of PumpShaftPower calculator including getters and setters for the important fields.
- Author
- Gina Accawi (accawigk)
-
Allie Ledbetter (Aeledbetter)
Definition at line 17 of file PumpShaftPower.h.
◆ PumpShaftPower() [1/3]
PumpShaftPower::PumpShaftPower |
( |
double |
motorShaftPower, |
|
|
Motor::Drive |
drive, |
|
|
double |
specifiedEfficiency |
|
) |
| |
|
inline |
Constructor
- Parameters
-
motorShaftPower | double, motor shaft power as defined in hp |
drive | Motor::Drive, type of drive the pump uses from either direct or belt drive. |
Definition at line 37 of file PumpShaftPower.h.
◆ PumpShaftPower() [2/3]
PumpShaftPower::PumpShaftPower |
( |
double |
motorShaftPower, |
|
|
Motor::Drive |
drive, |
|
|
double |
specifiedEfficiency |
|
) |
| |
|
inline |
Constructor
- Parameters
-
motorShaftPower | double, motor shaft power as defined in hp |
drive | Motor::Drive, type of drive the pump uses from either direct or belt drive. |
Definition at line 37 of file PumpShaftPower.h.
◆ PumpShaftPower() [3/3]
PumpShaftPower::PumpShaftPower |
( |
double |
motorShaftPower, |
|
|
Motor::Drive |
drive, |
|
|
double |
specifiedEfficiency |
|
) |
| |
|
inline |
Constructor
- Parameters
-
motorShaftPower | double, motor shaft power as defined in hp |
drive | Motor::Drive, type of drive the pump uses from either direct or belt drive. |
Definition at line 37 of file PumpShaftPower.h.
◆ calculate() [1/3]
Calculates the pump shaft power
- Returns
- double, pump shaft power in hp
Definition at line 8 of file PumpShaftPower.cpp.
◆ calculate() [2/3]
Output PumpShaftPower::calculate |
( |
| ) |
|
Calculates the pump shaft power
- Returns
- double, pump shaft power in hp
◆ calculate() [3/3]
Output PumpShaftPower::calculate |
( |
| ) |
|
Calculates the pump shaft power
- Returns
- double, pump shaft power in hp
◆ getDrive() [1/3]
Motor::Drive PumpShaftPower::getDrive |
( |
| ) |
const |
|
inline |
Gets the type of drive the pump uses from either direct or belt drive
- Returns
- Pump:Drive, type of drive
Definition at line 73 of file PumpShaftPower.h.
◆ getDrive() [2/3]
Motor::Drive PumpShaftPower::getDrive |
( |
| ) |
const |
|
inline |
Gets the type of drive the pump uses from either direct or belt drive
- Returns
- Pump:Drive, type of drive
Definition at line 73 of file PumpShaftPower.h.
◆ getDrive() [3/3]
Motor::Drive PumpShaftPower::getDrive |
( |
| ) |
const |
|
inline |
Gets the type of drive the pump uses from either direct or belt drive
- Returns
- Pump:Drive, type of drive
Definition at line 73 of file PumpShaftPower.h.
◆ getMotorShaftPower() [1/3]
double PumpShaftPower::getMotorShaftPower |
( |
| ) |
const |
|
inline |
Gets the motor shaft power
- Returns
- double, motor shaft power in hp
Definition at line 57 of file PumpShaftPower.h.
◆ getMotorShaftPower() [2/3]
double PumpShaftPower::getMotorShaftPower |
( |
| ) |
const |
|
inline |
Gets the motor shaft power
- Returns
- double, motor shaft power in hp
Definition at line 57 of file PumpShaftPower.h.
◆ getMotorShaftPower() [3/3]
double PumpShaftPower::getMotorShaftPower |
( |
| ) |
const |
|
inline |
Gets the motor shaft power
- Returns
- double, motor shaft power in hp
Definition at line 57 of file PumpShaftPower.h.
◆ getSpecifiedEfficiency() [1/3]
double PumpShaftPower::getSpecifiedEfficiency |
( |
| ) |
const |
|
inline |
Gets the specified efficiency
- Returns
- double, specifiedEfficiency
Definition at line 89 of file PumpShaftPower.h.
◆ getSpecifiedEfficiency() [2/3]
double PumpShaftPower::getSpecifiedEfficiency |
( |
| ) |
const |
|
inline |
Gets the specified efficiency
- Returns
- double, specifiedEfficiency
Definition at line 89 of file PumpShaftPower.h.
◆ getSpecifiedEfficiency() [3/3]
double PumpShaftPower::getSpecifiedEfficiency |
( |
| ) |
const |
|
inline |
Gets the specified efficiency
- Returns
- double, specifiedEfficiency
Definition at line 89 of file PumpShaftPower.h.
◆ setDrive() [1/3]
void PumpShaftPower::setDrive |
( |
Motor::Drive |
drive | ) |
|
|
inline |
Set the type of drive the pump uses from either direct or belt drive
- Parameters
-
drive | Motor:Drive, type of drive |
Definition at line 81 of file PumpShaftPower.h.
◆ setDrive() [2/3]
void PumpShaftPower::setDrive |
( |
Motor::Drive |
drive | ) |
|
|
inline |
Set the type of drive the pump uses from either direct or belt drive
- Parameters
-
drive | Motor:Drive, type of drive |
Definition at line 81 of file PumpShaftPower.h.
◆ setDrive() [3/3]
void PumpShaftPower::setDrive |
( |
Motor::Drive |
drive | ) |
|
|
inline |
Set the type of drive the pump uses from either direct or belt drive
- Parameters
-
drive | Motor:Drive, type of drive |
Definition at line 81 of file PumpShaftPower.h.
◆ setMotorShaftPower() [1/3]
void PumpShaftPower::setMotorShaftPower |
( |
double |
motorShaftPower | ) |
|
|
inline |
Sets the motor shaft power
- Parameters
-
motorShaftPower | double, motor shaft power in hp |
Definition at line 65 of file PumpShaftPower.h.
◆ setMotorShaftPower() [2/3]
void PumpShaftPower::setMotorShaftPower |
( |
double |
motorShaftPower | ) |
|
|
inline |
Sets the motor shaft power
- Parameters
-
motorShaftPower | double, motor shaft power in hp |
Definition at line 65 of file PumpShaftPower.h.
◆ setMotorShaftPower() [3/3]
void PumpShaftPower::setMotorShaftPower |
( |
double |
motorShaftPower | ) |
|
|
inline |
Sets the motor shaft power
- Parameters
-
motorShaftPower | double, motor shaft power in hp |
Definition at line 65 of file PumpShaftPower.h.
◆ setSpecifiedEfficiency() [1/3]
void PumpShaftPower::setSpecifiedEfficiency |
( |
double |
specifiedEfficiency | ) |
|
|
inline |
Sets the specified efficiency
- Parameters
-
specifiedEfficiency | double |
Definition at line 97 of file PumpShaftPower.h.
◆ setSpecifiedEfficiency() [2/3]
void PumpShaftPower::setSpecifiedEfficiency |
( |
double |
specifiedEfficiency | ) |
|
|
inline |
Sets the specified efficiency
- Parameters
-
specifiedEfficiency | double |
Definition at line 97 of file PumpShaftPower.h.
◆ setSpecifiedEfficiency() [3/3]
void PumpShaftPower::setSpecifiedEfficiency |
( |
double |
specifiedEfficiency | ) |
|
|
inline |
Sets the specified efficiency
- Parameters
-
specifiedEfficiency | double |
Definition at line 97 of file PumpShaftPower.h.
The documentation for this class was generated from the following files: