src/model/SetpointManagerFollowOutdoorAirTemperature.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_SETPOINTMANAGERFOLLOWOUTDOORAIRTEMPERATURE_HPP | ||
| 7 | #define MODEL_SETPOINTMANAGERFOLLOWOUTDOORAIRTEMPERATURE_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "SetpointManager.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | |||
| 14 | namespace model { | ||
| 15 | |||
| 16 | class Schedule; | ||
| 17 | |||
| 18 | namespace detail { | ||
| 19 | |||
| 20 | class SetpointManagerFollowOutdoorAirTemperature_Impl; | ||
| 21 | |||
| 22 | } | ||
| 23 | |||
| 24 | /** SetpointManagerFollowOutdoorAirTemperature is an SetpointManager that wraps the IDD object | ||
| 25 | * named "OS:SetpointManager:FollowOutdoorAirTemperature" | ||
| 26 | * | ||
| 27 | * The purpose of this class is to simplify the construction and manipulation | ||
| 28 | * of the EnergyPlus SetpointManagerFollowOutdoorAirTemperature object. | ||
| 29 | */ | ||
| 30 | class MODEL_API SetpointManagerFollowOutdoorAirTemperature : public SetpointManager | ||
| 31 | { | ||
| 32 | public: | ||
| 33 | /** @name Constructors and Destructors */ | ||
| 34 | //@{ | ||
| 35 | |||
| 36 | /** Constructs a new SetpointManagerFollowOutdoorAirTemperature object and places it inside the | ||
| 37 | * model. */ | ||
| 38 | explicit SetpointManagerFollowOutdoorAirTemperature(const Model& model); | ||
| 39 | |||
| 40 | 37 | virtual ~SetpointManagerFollowOutdoorAirTemperature() override = default; | |
| 41 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 42 | ✗ | SetpointManagerFollowOutdoorAirTemperature(const SetpointManagerFollowOutdoorAirTemperature& other) = default; | |
| 43 | 12 | SetpointManagerFollowOutdoorAirTemperature(SetpointManagerFollowOutdoorAirTemperature&& other) = default; | |
| 44 | ✗ | SetpointManagerFollowOutdoorAirTemperature& operator=(const SetpointManagerFollowOutdoorAirTemperature&) = default; | |
| 45 | ✗ | SetpointManagerFollowOutdoorAirTemperature& operator=(SetpointManagerFollowOutdoorAirTemperature&&) = default; | |
| 46 | |||
| 47 | //@} | ||
| 48 | |||
| 49 | static IddObjectType iddObjectType(); | ||
| 50 | |||
| 51 | /** @name Getters and Setters */ | ||
| 52 | //@{ | ||
| 53 | |||
| 54 | /** Returns the Node referred to by the SetpointNodeName field. **/ | ||
| 55 | boost::optional<Node> setpointNode() const; | ||
| 56 | |||
| 57 | /** Returns the Control Variable **/ | ||
| 58 | std::string controlVariable() const; | ||
| 59 | |||
| 60 | /** Sets the Control Variable **/ | ||
| 61 | bool setControlVariable(const std::string& value); | ||
| 62 | |||
| 63 | std::string referenceTemperatureType() const; | ||
| 64 | |||
| 65 | bool setReferenceTemperatureType(const std::string& value); | ||
| 66 | |||
| 67 | double offsetTemperatureDifference() const; | ||
| 68 | |||
| 69 | bool setOffsetTemperatureDifference(double value); | ||
| 70 | |||
| 71 | double maximumSetpointTemperature() const; | ||
| 72 | |||
| 73 | bool setMaximumSetpointTemperature(double value); | ||
| 74 | |||
| 75 | double minimumSetpointTemperature() const; | ||
| 76 | |||
| 77 | bool setMinimumSetpointTemperature(double value); | ||
| 78 | |||
| 79 | //@} | ||
| 80 | protected: | ||
| 81 | friend class Model; | ||
| 82 | |||
| 83 | friend class openstudio::IdfObject; | ||
| 84 | |||
| 85 | friend class openstudio::detail::IdfObject_Impl; | ||
| 86 | |||
| 87 | friend class detail::SetpointManagerFollowOutdoorAirTemperature_Impl; | ||
| 88 | |||
| 89 | /// @cond | ||
| 90 | |||
| 91 | using ImplType = detail::SetpointManagerFollowOutdoorAirTemperature_Impl; | ||
| 92 | |||
| 93 | explicit SetpointManagerFollowOutdoorAirTemperature(std::shared_ptr<detail::SetpointManagerFollowOutdoorAirTemperature_Impl> impl); | ||
| 94 | |||
| 95 | private: | ||
| 96 | REGISTER_LOGGER("openstudio.model.SetpointManagerFollowOutdoorAirTemperature"); | ||
| 97 | |||
| 98 | /// @endcond | ||
| 99 | }; | ||
| 100 | |||
| 101 | } // namespace model | ||
| 102 | |||
| 103 | } // namespace openstudio | ||
| 104 | |||
| 105 | #endif // MODEL_SETPOINTMANAGERFOLLOWOUTDOORAIRTEMPERATURE_HPP | ||
| 106 |