GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 0.0% 0 / 0 / 5
Functions: 0.0% 0 / 0 / 5
Branches: -% 0 / 0 / 0

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