src/model/SetpointManagerSingleZoneHumidityMaximum.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_SETPOINTMANAGERSINGLEZONEHUMIDITYMAXIMUM_HPP | ||
| 7 | #define MODEL_SETPOINTMANAGERSINGLEZONEHUMIDITYMAXIMUM_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "SetpointManager.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class ThermalZone; | ||
| 16 | class Node; | ||
| 17 | |||
| 18 | namespace detail { | ||
| 19 | |||
| 20 | class SetpointManagerSingleZoneHumidityMaximum_Impl; | ||
| 21 | |||
| 22 | } // namespace detail | ||
| 23 | |||
| 24 | /** SetpointManagerSingleZoneHumidityMaximum is a SetpointManager that wraps the OpenStudio IDD object 'OS:SetpointManager:SingleZone:Humidity:Maximum'. */ | ||
| 25 | class MODEL_API SetpointManagerSingleZoneHumidityMaximum : public SetpointManager | ||
| 26 | { | ||
| 27 | public: | ||
| 28 | /** @name Constructors and Destructors */ | ||
| 29 | //@{ | ||
| 30 | |||
| 31 | explicit SetpointManagerSingleZoneHumidityMaximum(const Model& model); | ||
| 32 | |||
| 33 | 25 | virtual ~SetpointManagerSingleZoneHumidityMaximum() override = default; | |
| 34 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 35 | ✗ | SetpointManagerSingleZoneHumidityMaximum(const SetpointManagerSingleZoneHumidityMaximum& other) = default; | |
| 36 | 6 | SetpointManagerSingleZoneHumidityMaximum(SetpointManagerSingleZoneHumidityMaximum&& other) = default; | |
| 37 | ✗ | SetpointManagerSingleZoneHumidityMaximum& operator=(const SetpointManagerSingleZoneHumidityMaximum&) = default; | |
| 38 | ✗ | SetpointManagerSingleZoneHumidityMaximum& operator=(SetpointManagerSingleZoneHumidityMaximum&&) = default; | |
| 39 | |||
| 40 | //@} | ||
| 41 | |||
| 42 | static IddObjectType iddObjectType(); | ||
| 43 | |||
| 44 | static std::vector<std::string> controlVariableValues(); | ||
| 45 | |||
| 46 | /** @name Getters */ | ||
| 47 | //@{ | ||
| 48 | |||
| 49 | std::string controlVariable() const; | ||
| 50 | |||
| 51 | boost::optional<ThermalZone> controlZone() const; | ||
| 52 | |||
| 53 | boost::optional<Node> setpointNode() const; | ||
| 54 | |||
| 55 | //@} | ||
| 56 | /** @name Setters */ | ||
| 57 | //@{ | ||
| 58 | |||
| 59 | bool setControlVariable(const std::string& controlVariable); | ||
| 60 | |||
| 61 | bool setControlZone(const ThermalZone& thermalZone); | ||
| 62 | |||
| 63 | void resetControlZone(); | ||
| 64 | |||
| 65 | //@} | ||
| 66 | /** @name Other */ | ||
| 67 | //@{ | ||
| 68 | |||
| 69 | //@} | ||
| 70 | protected: | ||
| 71 | /// @cond | ||
| 72 | using ImplType = detail::SetpointManagerSingleZoneHumidityMaximum_Impl; | ||
| 73 | |||
| 74 | explicit SetpointManagerSingleZoneHumidityMaximum(std::shared_ptr<detail::SetpointManagerSingleZoneHumidityMaximum_Impl> impl); | ||
| 75 | |||
| 76 | friend class detail::SetpointManagerSingleZoneHumidityMaximum_Impl; | ||
| 77 | friend class Model; | ||
| 78 | friend class IdfObject; | ||
| 79 | friend class openstudio::detail::IdfObject_Impl; | ||
| 80 | /// @endcond | ||
| 81 | private: | ||
| 82 | REGISTER_LOGGER("openstudio.model.SetpointManagerSingleZoneHumidityMaximum"); | ||
| 83 | }; | ||
| 84 | |||
| 85 | /** \relates SetpointManagerSingleZoneHumidityMaximum*/ | ||
| 86 | using OptionalSetpointManagerSingleZoneHumidityMaximum = boost::optional<SetpointManagerSingleZoneHumidityMaximum>; | ||
| 87 | |||
| 88 | /** \relates SetpointManagerSingleZoneHumidityMaximum*/ | ||
| 89 | using SetpointManagerSingleZoneHumidityMaximumVector = std::vector<SetpointManagerSingleZoneHumidityMaximum>; | ||
| 90 | |||
| 91 | } // namespace model | ||
| 92 | } // namespace openstudio | ||
| 93 | |||
| 94 | #endif // MODEL_SETPOINTMANAGERSINGLEZONEHUMIDITYMAXIMUM_HPP | ||
| 95 |