GCC Code Coverage Report


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

src/model/ZoneHVACCoolingPanelRadiantConvectiveWater.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_ZONEHVACCOOLINGPANELRADIANTCONVECTIVEWATER_HPP
7 #define MODEL_ZONEHVACCOOLINGPANELRADIANTCONVECTIVEWATER_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ZoneHVACComponent.hpp"
11
12 namespace openstudio {
13
14 namespace model {
15
16 class Schedule;
17 class ThermalZone;
18
19 namespace detail {
20
21 class ZoneHVACCoolingPanelRadiantConvectiveWater_Impl;
22
23 } // namespace detail
24
25 /** ZoneHVACCoolingPanelRadiantConvectiveWater is a ZoneHVACComponent that wraps the OpenStudio IDD object 'OS:ZoneHVAC:CoolingPanel:RadiantConvective:Water'. */
26 class MODEL_API ZoneHVACCoolingPanelRadiantConvectiveWater : public ZoneHVACComponent
27 {
28 public:
29 /** @name Constructors and Destructors */
30 //@{
31
32 explicit ZoneHVACCoolingPanelRadiantConvectiveWater(const Model& model);
33
34 3 virtual ~ZoneHVACCoolingPanelRadiantConvectiveWater() override = default;
35 // Default the copy and move operators because the virtual dtor is explicit
36 ✗ ZoneHVACCoolingPanelRadiantConvectiveWater(const ZoneHVACCoolingPanelRadiantConvectiveWater& other) = default;
37 ✗ ZoneHVACCoolingPanelRadiantConvectiveWater(ZoneHVACCoolingPanelRadiantConvectiveWater&& other) = default;
38 ✗ ZoneHVACCoolingPanelRadiantConvectiveWater& operator=(const ZoneHVACCoolingPanelRadiantConvectiveWater&) = default;
39 ✗ ZoneHVACCoolingPanelRadiantConvectiveWater& operator=(ZoneHVACCoolingPanelRadiantConvectiveWater&&) = default;
40
41 //@}
42
43 static IddObjectType iddObjectType();
44
45 /** @name Getters */
46 //@{
47
48 Schedule availabilitySchedule() const;
49
50 double fractionRadiant() const;
51
52 double fractionofRadiantEnergyIncidentonPeople() const;
53
54 HVACComponent coolingCoil() const;
55
56 //@}
57 /** @name Setters */
58 //@{
59
60 bool setAvailabilitySchedule(Schedule& schedule);
61
62 bool setFractionRadiant(double fractionRadiant);
63
64 bool setFractionofRadiantEnergyIncidentonPeople(double fractionofRadiantEnergyIncidentonPeople);
65
66 bool setCoolingCoil(const HVACComponent& coolingCoil);
67
68 //@}
69 /** @name Other */
70 //@{
71
72 /** Returns the optional ThermalZone that this ZoneHVACCoolingPanelRadiantConvectiveWater is attached to
73 **/
74 boost::optional<ThermalZone> thermalZone() const override;
75
76 /** Adds this ZoneHVACCoolingPanelRadiantConvectiveWater to the thermal zone. Returns true if the operation was
77 * successful.
78 **/
79 bool addToThermalZone(ThermalZone& thermalZone);
80
81 /** Detaches this ZoneHVACCoolingPanelRadiantConvectiveWater from the associated ThermalZone.
82 * If there is no attached ThermalZone there is no effect.
83 **/
84 void removeFromThermalZone();
85
86 //@}
87 protected:
88 /// @cond
89 using ImplType = detail::ZoneHVACCoolingPanelRadiantConvectiveWater_Impl;
90
91 explicit ZoneHVACCoolingPanelRadiantConvectiveWater(std::shared_ptr<detail::ZoneHVACCoolingPanelRadiantConvectiveWater_Impl> impl);
92
93 friend class detail::ZoneHVACCoolingPanelRadiantConvectiveWater_Impl;
94 friend class Model;
95 friend class IdfObject;
96 friend class openstudio::detail::IdfObject_Impl;
97 /// @endcond
98 private:
99 REGISTER_LOGGER("openstudio.model.ZoneHVACCoolingPanelRadiantConvectiveWater");
100 };
101
102 /** \relates ZoneHVACCoolingPanelRadiantConvectiveWater*/
103 using OptionalZoneHVACCoolingPanelRadiantConvectiveWater = boost::optional<ZoneHVACCoolingPanelRadiantConvectiveWater>;
104
105 /** \relates ZoneHVACCoolingPanelRadiantConvectiveWater*/
106 using ZoneHVACCoolingPanelRadiantConvectiveWaterVector = std::vector<ZoneHVACCoolingPanelRadiantConvectiveWater>;
107
108 } // namespace model
109 } // namespace openstudio
110
111 #endif // MODEL_ZONEHVACCOOLINGPANELRADIANTCONVECTIVEWATER_HPP
112