GCC Code Coverage Report


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

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