src/model/SetpointManagerFollowGroundTemperature.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_SETPOINTMANAGERFOLLOWGROUNDTEMPERATURE_HPP | ||
| 7 | #define MODEL_SETPOINTMANAGERFOLLOWGROUNDTEMPERATURE_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 SetpointManagerFollowGroundTemperature_Impl; | ||
| 21 | |||
| 22 | } // namespace detail | ||
| 23 | |||
| 24 | /** SetpointManagerFollowGroundTemperature is a SetpointManager that wraps the OpenStudio IDD object 'OS:SetpointManager:FollowGroundTemperature'. */ | ||
| 25 | class MODEL_API SetpointManagerFollowGroundTemperature : public SetpointManager | ||
| 26 | { | ||
| 27 | public: | ||
| 28 | /** @name Constructors and Destructors */ | ||
| 29 | //@{ | ||
| 30 | |||
| 31 | explicit SetpointManagerFollowGroundTemperature(const Model& model); | ||
| 32 | |||
| 33 | 33 | virtual ~SetpointManagerFollowGroundTemperature() override = default; | |
| 34 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 35 | ✗ | SetpointManagerFollowGroundTemperature(const SetpointManagerFollowGroundTemperature& other) = default; | |
| 36 | 10 | SetpointManagerFollowGroundTemperature(SetpointManagerFollowGroundTemperature&& other) = default; | |
| 37 | ✗ | SetpointManagerFollowGroundTemperature& operator=(const SetpointManagerFollowGroundTemperature&) = default; | |
| 38 | ✗ | SetpointManagerFollowGroundTemperature& operator=(SetpointManagerFollowGroundTemperature&&) = default; | |
| 39 | |||
| 40 | //@} | ||
| 41 | |||
| 42 | static IddObjectType iddObjectType(); | ||
| 43 | |||
| 44 | static std::vector<std::string> controlVariableValues(); | ||
| 45 | |||
| 46 | static std::vector<std::string> referenceGroundTemperatureObjectTypeValues(); | ||
| 47 | |||
| 48 | /** @name Getters */ | ||
| 49 | //@{ | ||
| 50 | |||
| 51 | std::string referenceGroundTemperatureObjectType() const; | ||
| 52 | |||
| 53 | double offsetTemperatureDifference() const; | ||
| 54 | |||
| 55 | double maximumSetpointTemperature() const; | ||
| 56 | |||
| 57 | double minimumSetpointTemperature() const; | ||
| 58 | |||
| 59 | //@} | ||
| 60 | /** @name Setters */ | ||
| 61 | //@{ | ||
| 62 | |||
| 63 | bool setReferenceGroundTemperatureObjectType(const std::string& groundTemperatureObjType); | ||
| 64 | |||
| 65 | bool setOffsetTemperatureDifference(double offsetTemperatureDifference); | ||
| 66 | |||
| 67 | bool setMaximumSetpointTemperature(double maximumSetpointTemperature); | ||
| 68 | |||
| 69 | bool setMinimumSetpointTemperature(double minimumSetpointTemperature); | ||
| 70 | |||
| 71 | //@} | ||
| 72 | /** @name Other */ | ||
| 73 | //@{ | ||
| 74 | |||
| 75 | //@} | ||
| 76 | protected: | ||
| 77 | /// @cond | ||
| 78 | using ImplType = detail::SetpointManagerFollowGroundTemperature_Impl; | ||
| 79 | |||
| 80 | explicit SetpointManagerFollowGroundTemperature(std::shared_ptr<detail::SetpointManagerFollowGroundTemperature_Impl> impl); | ||
| 81 | |||
| 82 | friend class detail::SetpointManagerFollowGroundTemperature_Impl; | ||
| 83 | friend class Model; | ||
| 84 | friend class IdfObject; | ||
| 85 | friend class openstudio::detail::IdfObject_Impl; | ||
| 86 | /// @endcond | ||
| 87 | private: | ||
| 88 | REGISTER_LOGGER("openstudio.model.SetpointManagerFollowGroundTemperature"); | ||
| 89 | }; | ||
| 90 | |||
| 91 | /** \relates SetpointManagerFollowGroundTemperature*/ | ||
| 92 | using OptionalSetpointManagerFollowGroundTemperature = boost::optional<SetpointManagerFollowGroundTemperature>; | ||
| 93 | |||
| 94 | /** \relates SetpointManagerFollowGroundTemperature*/ | ||
| 95 | using SetpointManagerFollowGroundTemperatureVector = std::vector<SetpointManagerFollowGroundTemperature>; | ||
| 96 | |||
| 97 | } // namespace model | ||
| 98 | } // namespace openstudio | ||
| 99 | |||
| 100 | #endif // MODEL_SETPOINTMANAGERFOLLOWGROUNDTEMPERATURE_HPP | ||
| 101 |