MEASUR-Tools-Suite v1.0.11
The MEASUR Tools Suite is a collection of industrial efficiency calculations written in C++ and with bindings for compilation to WebAssembly.
Loading...
Searching...
No Matches
ReducedSteamException.h
1#ifndef TOOLS_SUITE_REDUCEDSTEAMEXCEPTION_H
2#define TOOLS_SUITE_REDUCEDSTEAMEXCEPTION_H
3
4#include <exception>
5#include <iostream>
6#include <string>
7
9
13class ReducedSteamException : public std::exception {
14 public:
15 ReducedSteamException(const std::string& actionMessage,
16 const std::shared_ptr<Turbine>& highToLowPressureTurbineUpdated,
17 const std::shared_ptr<Turbine>& highToLowPressureTurbineIdealUpdated);
18
19 friend std::ostream& operator<<(std::ostream& stream, const ReducedSteamException& e);
20
21 const std::string& getActionMessage() const;
22
23 const std::shared_ptr<Turbine>& getHighToLowPressureTurbineUpdated() const;
24
25 const std::shared_ptr<Turbine>& getHighToLowPressureTurbineIdealUpdated() const;
26
27 private:
28 std::string actionMessage;
29 std::shared_ptr<Turbine> highToLowPressureTurbineUpdated;
30 std::shared_ptr<Turbine> highToLowPressureTurbineIdealUpdated;
31};
32
33#endif // TOOLS_SUITE_REDUCEDSTEAMEXCEPTION_H
Calculator for turbines for steam systems.