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#pragma once
2
3#include <exception>
4#include <iostream>
5#include <string>
6
8
12class ReducedSteamException : public std::exception {
13 public:
14 ReducedSteamException(const std::string& actionMessage,
15 const std::shared_ptr<Turbine>& highToLowPressureTurbineUpdated,
16 const std::shared_ptr<Turbine>& highToLowPressureTurbineIdealUpdated);
17
18 friend std::ostream& operator<<(std::ostream& stream, const ReducedSteamException& e);
19
20 const std::string& getActionMessage() const;
21
22 const std::shared_ptr<Turbine>& getHighToLowPressureTurbineUpdated() const;
23
24 const std::shared_ptr<Turbine>& getHighToLowPressureTurbineIdealUpdated() const;
25
26 private:
27 std::string actionMessage;
28 std::shared_ptr<Turbine> highToLowPressureTurbineUpdated;
29 std::shared_ptr<Turbine> highToLowPressureTurbineIdealUpdated;
30};
31
Calculator for turbines for steam systems.