Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <Tank.hpp>
Classes | |
struct | DefaultValues |
struct | Keys |
struct | Sections |
struct | Sounding |
Public Member Functions | |
Tank () | |
void | update (const Tank &other) |
bool | load (file::xml::node &node, const std::string &pathMimics) |
bool | save (file::xml::node &node) const |
bool | editTankParams (iv::tanks::eTankContentsType contentsType, double density) |
void | addSensorChannel (std::weak_ptr< channels::AbstractChannel > channel, iv::tanks::eSensorType sensorType, double atmosphericBarOpt) |
void | processTank (iv::types::tankTrim trim) |
Process Tank calculating it's content height and volume. | |
std::vector< std::string > | getSensorsChannelsIds () const |
Public Attributes | |
iv::tanks::TankChannels | m_tankChannel |
std::string | m_name |
std::string | m_description |
std::string | m_filePath |
iv::tanks::TankProperties | m_properties |
iv::tanks::eTankContentsType | m_contentsType |
double | m_densityDefault |
bool | m_isCargoTank |
Sounding | m_sounding |
iv::tanks::TankCalibrationData | m_calibrationData |
Private Member Functions | |
void | calculateSoundingData () |
iv::tanks::Tank::Tank | ( | ) |
void iv::tanks::Tank::addSensorChannel | ( | std::weak_ptr< channels::AbstractChannel > | channel, |
iv::tanks::eSensorType | sensorType, | ||
double | atmosphericBarOpt ) |
|
private |
bool iv::tanks::Tank::editTankParams | ( | iv::tanks::eTankContentsType | contentsType, |
double | density ) |
|
nodiscard |
bool iv::tanks::Tank::load | ( | file::xml::node & | node, |
const std::string & | pathMimics ) |
void iv::tanks::Tank::processTank | ( | iv::types::tankTrim | trim | ) |
Process Tank calculating it's content height and volume.
trim |
bool iv::tanks::Tank::save | ( | file::xml::node & | node | ) | const |
void iv::tanks::Tank::update | ( | const Tank & | other | ) |
iv::tanks::TankCalibrationData iv::tanks::Tank::m_calibrationData |
iv::tanks::eTankContentsType iv::tanks::Tank::m_contentsType |
double iv::tanks::Tank::m_densityDefault |
std::string iv::tanks::Tank::m_description |
std::string iv::tanks::Tank::m_filePath |
bool iv::tanks::Tank::m_isCargoTank |
std::string iv::tanks::Tank::m_name |
iv::tanks::TankProperties iv::tanks::Tank::m_properties |
Sounding iv::tanks::Tank::m_sounding |
iv::tanks::TankChannels iv::tanks::Tank::m_tankChannel |