src/model/SetpointManagerSingleZoneHeating.hpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /*********************************************************************************************************************** | ||
| 2 | * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC. | ||
| 3 | * See also https://openstudio.net/license | ||
| 4 | ***********************************************************************************************************************/ | ||
| 5 | |||
| 6 | #ifndef MODEL_SETPOINTMANAGERSINGLEZONEHEATING_HPP | ||
| 7 | #define MODEL_SETPOINTMANAGERSINGLEZONEHEATING_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "SetpointManager.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | |||
| 14 | namespace model { | ||
| 15 | |||
| 16 | class ThermalZone; | ||
| 17 | class Node; | ||
| 18 | |||
| 19 | namespace detail { | ||
| 20 | |||
| 21 | class SetpointManagerSingleZoneHeating_Impl; | ||
| 22 | |||
| 23 | } // namespace detail | ||
| 24 | |||
| 25 | /** SetpointManagerSingleZoneHeating is a SetpointManager that wraps the OpenStudio IDD object 'OS:SetpointManager:SingleZone:Heating'. */ | ||
| 26 | class MODEL_API SetpointManagerSingleZoneHeating : public SetpointManager | ||
| 27 | { | ||
| 28 | public: | ||
| 29 | /** @name Constructors and Destructors */ | ||
| 30 | //@{ | ||
| 31 | |||
| 32 | explicit SetpointManagerSingleZoneHeating(const Model& model); | ||
| 33 | |||
| 34 | ✗ | virtual ~SetpointManagerSingleZoneHeating() override = default; | |
| 35 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 36 | ✗ | SetpointManagerSingleZoneHeating(const SetpointManagerSingleZoneHeating& other) = default; | |
| 37 | ✗ | SetpointManagerSingleZoneHeating(SetpointManagerSingleZoneHeating&& other) = default; | |
| 38 | ✗ | SetpointManagerSingleZoneHeating& operator=(const SetpointManagerSingleZoneHeating&) = default; | |
| 39 | ✗ | SetpointManagerSingleZoneHeating& operator=(SetpointManagerSingleZoneHeating&&) = default; | |
| 40 | |||
| 41 | //@} | ||
| 42 | |||
| 43 | static IddObjectType iddObjectType(); | ||
| 44 | |||
| 45 | /** @name Getters */ | ||
| 46 | //@{ | ||
| 47 | |||
| 48 | double minimumSupplyAirTemperature() const; | ||
| 49 | |||
| 50 | double maximumSupplyAirTemperature() const; | ||
| 51 | |||
| 52 | boost::optional<ThermalZone> controlZone() const; | ||
| 53 | |||
| 54 | //@} | ||
| 55 | /** @name Setters */ | ||
| 56 | //@{ | ||
| 57 | |||
| 58 | bool setMinimumSupplyAirTemperature(double minimumSupplyAirTemperature); | ||
| 59 | |||
| 60 | bool setMaximumSupplyAirTemperature(double maximumSupplyAirTemperature); | ||
| 61 | |||
| 62 | bool setControlZone(const ThermalZone& thermalZone); | ||
| 63 | |||
| 64 | void resetControlZone(); | ||
| 65 | |||
| 66 | //@} | ||
| 67 | /** @name Other */ | ||
| 68 | //@{ | ||
| 69 | |||
| 70 | //@} | ||
| 71 | protected: | ||
| 72 | /// @cond | ||
| 73 | using ImplType = detail::SetpointManagerSingleZoneHeating_Impl; | ||
| 74 | |||
| 75 | explicit SetpointManagerSingleZoneHeating(std::shared_ptr<detail::SetpointManagerSingleZoneHeating_Impl> impl); | ||
| 76 | |||
| 77 | friend class detail::SetpointManagerSingleZoneHeating_Impl; | ||
| 78 | friend class Model; | ||
| 79 | friend class IdfObject; | ||
| 80 | friend class openstudio::detail::IdfObject_Impl; | ||
| 81 | /// @endcond | ||
| 82 | private: | ||
| 83 | REGISTER_LOGGER("openstudio.model.SetpointManagerSingleZoneHeating"); | ||
| 84 | }; | ||
| 85 | |||
| 86 | /** \relates SetpointManagerSingleZoneHeating*/ | ||
| 87 | using OptionalSetpointManagerSingleZoneHeating = boost::optional<SetpointManagerSingleZoneHeating>; | ||
| 88 | |||
| 89 | /** \relates SetpointManagerSingleZoneHeating*/ | ||
| 90 | using SetpointManagerSingleZoneHeatingVector = std::vector<SetpointManagerSingleZoneHeating>; | ||
| 91 | |||
| 92 | } // namespace model | ||
| 93 | } // namespace openstudio | ||
| 94 | |||
| 95 | #endif // MODEL_SETPOINTMANAGERSINGLEZONEHEATING_HPP | ||
| 96 |