src/model/SetpointManagerWarmest.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_SETPOINTMANAGERWARMEST_HPP | ||
| 7 | #define MODEL_SETPOINTMANAGERWARMEST_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "SetpointManager.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | |||
| 14 | namespace model { | ||
| 15 | |||
| 16 | class Node; | ||
| 17 | |||
| 18 | namespace detail { | ||
| 19 | |||
| 20 | class SetpointManagerWarmest_Impl; | ||
| 21 | |||
| 22 | } // namespace detail | ||
| 23 | |||
| 24 | /** SetpointManagerWarmest is a SetpointManager that wraps the OpenStudio IDD object 'OS:SetpointManager:Warmest'. */ | ||
| 25 | class MODEL_API SetpointManagerWarmest : public SetpointManager | ||
| 26 | { | ||
| 27 | public: | ||
| 28 | explicit SetpointManagerWarmest(const Model& model); | ||
| 29 | |||
| 30 | 30 | virtual ~SetpointManagerWarmest() override = default; | |
| 31 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 32 | ✗ | SetpointManagerWarmest(const SetpointManagerWarmest& other) = default; | |
| 33 | 8 | SetpointManagerWarmest(SetpointManagerWarmest&& other) = default; | |
| 34 | ✗ | SetpointManagerWarmest& operator=(const SetpointManagerWarmest&) = default; | |
| 35 | ✗ | SetpointManagerWarmest& operator=(SetpointManagerWarmest&&) = default; | |
| 36 | |||
| 37 | static IddObjectType iddObjectType(); | ||
| 38 | |||
| 39 | static std::vector<std::string> controlVariableValues(); | ||
| 40 | |||
| 41 | static std::vector<std::string> strategyValues(); | ||
| 42 | |||
| 43 | double minimumSetpointTemperature() const; | ||
| 44 | |||
| 45 | bool setMinimumSetpointTemperature(double minimumSetpointTemperature); | ||
| 46 | |||
| 47 | double maximumSetpointTemperature() const; | ||
| 48 | |||
| 49 | bool setMaximumSetpointTemperature(double maximumSetpointTemperature); | ||
| 50 | |||
| 51 | std::string strategy() const; | ||
| 52 | |||
| 53 | bool setStrategy(const std::string& strategy); | ||
| 54 | |||
| 55 | protected: | ||
| 56 | /// @cond | ||
| 57 | using ImplType = detail::SetpointManagerWarmest_Impl; | ||
| 58 | |||
| 59 | explicit SetpointManagerWarmest(std::shared_ptr<detail::SetpointManagerWarmest_Impl> impl); | ||
| 60 | |||
| 61 | friend class detail::SetpointManagerWarmest_Impl; | ||
| 62 | friend class Model; | ||
| 63 | friend class IdfObject; | ||
| 64 | friend class openstudio::detail::IdfObject_Impl; | ||
| 65 | /// @endcond | ||
| 66 | |||
| 67 | private: | ||
| 68 | REGISTER_LOGGER("openstudio.model.SetpointManagerWarmest"); | ||
| 69 | }; | ||
| 70 | |||
| 71 | /** \relates SetpointManagerWarmest*/ | ||
| 72 | using OptionalSetpointManagerWarmest = boost::optional<SetpointManagerWarmest>; | ||
| 73 | |||
| 74 | /** \relates SetpointManagerWarmest*/ | ||
| 75 | using SetpointManagerWarmestVector = std::vector<SetpointManagerWarmest>; | ||
| 76 | |||
| 77 | } // namespace model | ||
| 78 | } // namespace openstudio | ||
| 79 | |||
| 80 | #endif // MODEL_SETPOINTMANAGERWARMEST_HPP | ||
| 81 |