src/model/SetpointManagerFollowSystemNodeTemperature.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_SETPOINTMANAGERFOLLOWSYSTEMNODETEMPERATURE_HPP | ||
| 7 | #define MODEL_SETPOINTMANAGERFOLLOWSYSTEMNODETEMPERATURE_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 SetpointManagerFollowSystemNodeTemperature_Impl; | ||
| 21 | |||
| 22 | } // namespace detail | ||
| 23 | |||
| 24 | /** SetpointManagerFollowSystemNodeTemperature is a SetpointManager that wraps the OpenStudio IDD object 'OS:SetpointManager:FollowSystemNodeTemperature'. */ | ||
| 25 | class MODEL_API SetpointManagerFollowSystemNodeTemperature : public SetpointManager | ||
| 26 | { | ||
| 27 | public: | ||
| 28 | /** @name Constructors and Destructors */ | ||
| 29 | //@{ | ||
| 30 | |||
| 31 | explicit SetpointManagerFollowSystemNodeTemperature(const Model& model); | ||
| 32 | |||
| 33 | 32 | virtual ~SetpointManagerFollowSystemNodeTemperature() override = default; | |
| 34 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 35 | ✗ | SetpointManagerFollowSystemNodeTemperature(const SetpointManagerFollowSystemNodeTemperature& other) = default; | |
| 36 | 10 | SetpointManagerFollowSystemNodeTemperature(SetpointManagerFollowSystemNodeTemperature&& other) = default; | |
| 37 | ✗ | SetpointManagerFollowSystemNodeTemperature& operator=(const SetpointManagerFollowSystemNodeTemperature&) = default; | |
| 38 | ✗ | SetpointManagerFollowSystemNodeTemperature& operator=(SetpointManagerFollowSystemNodeTemperature&&) = default; | |
| 39 | |||
| 40 | //@} | ||
| 41 | |||
| 42 | static IddObjectType iddObjectType(); | ||
| 43 | |||
| 44 | static std::vector<std::string> controlVariableValues(); | ||
| 45 | |||
| 46 | static std::vector<std::string> referenceTemperatureTypeValues(); | ||
| 47 | |||
| 48 | /** @name Getters */ | ||
| 49 | //@{ | ||
| 50 | |||
| 51 | std::string controlVariable() const; | ||
| 52 | |||
| 53 | boost::optional<Node> referenceNode() const; | ||
| 54 | |||
| 55 | std::string referenceTemperatureType() const; | ||
| 56 | |||
| 57 | double offsetTemperatureDifference() const; | ||
| 58 | |||
| 59 | double maximumLimitSetpointTemperature() const; | ||
| 60 | |||
| 61 | double minimumLimitSetpointTemperature() const; | ||
| 62 | |||
| 63 | boost::optional<Node> setpointNode() const; | ||
| 64 | |||
| 65 | //@} | ||
| 66 | /** @name Setters */ | ||
| 67 | //@{ | ||
| 68 | |||
| 69 | bool setControlVariable(const std::string& controlVariable); | ||
| 70 | |||
| 71 | bool setReferenceNode(const Node& node); | ||
| 72 | |||
| 73 | void resetReferenceNode(); | ||
| 74 | |||
| 75 | bool setReferenceTemperatureType(const std::string& referenceTemperatureType); | ||
| 76 | |||
| 77 | bool setOffsetTemperatureDifference(double offsetTemperatureDifference); | ||
| 78 | |||
| 79 | bool setMaximumLimitSetpointTemperature(double maximumLimitSetpointTemperature); | ||
| 80 | |||
| 81 | bool setMinimumLimitSetpointTemperature(double minimumLimitSetpointTemperature); | ||
| 82 | |||
| 83 | //@} | ||
| 84 | /** @name Other */ | ||
| 85 | //@{ | ||
| 86 | |||
| 87 | //@} | ||
| 88 | protected: | ||
| 89 | /// @cond | ||
| 90 | using ImplType = detail::SetpointManagerFollowSystemNodeTemperature_Impl; | ||
| 91 | |||
| 92 | explicit SetpointManagerFollowSystemNodeTemperature(std::shared_ptr<detail::SetpointManagerFollowSystemNodeTemperature_Impl> impl); | ||
| 93 | |||
| 94 | friend class detail::SetpointManagerFollowSystemNodeTemperature_Impl; | ||
| 95 | friend class Model; | ||
| 96 | friend class IdfObject; | ||
| 97 | friend class openstudio::detail::IdfObject_Impl; | ||
| 98 | /// @endcond | ||
| 99 | private: | ||
| 100 | REGISTER_LOGGER("openstudio.model.SetpointManagerFollowSystemNodeTemperature"); | ||
| 101 | }; | ||
| 102 | |||
| 103 | /** \relates SetpointManagerFollowSystemNodeTemperature*/ | ||
| 104 | using OptionalSetpointManagerFollowSystemNodeTemperature = boost::optional<SetpointManagerFollowSystemNodeTemperature>; | ||
| 105 | |||
| 106 | /** \relates SetpointManagerFollowSystemNodeTemperature*/ | ||
| 107 | using SetpointManagerFollowSystemNodeTemperatureVector = std::vector<SetpointManagerFollowSystemNodeTemperature>; | ||
| 108 | |||
| 109 | } // namespace model | ||
| 110 | } // namespace openstudio | ||
| 111 | |||
| 112 | #endif // MODEL_SETPOINTMANAGERFOLLOWSYSTEMNODETEMPERATURE_HPP | ||
| 113 |