GCC Code Coverage Report


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

src/model/SetpointManagerSingleZoneCooling_Impl.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_IMPL_HPP
7 #define MODEL_SETPOINTMANAGERSINGLEZONECOOLING_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "SetpointManager_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 // TODO: Check the following class names against object getters and setters.
16 class ThermalZone;
17 class Node;
18
19 namespace detail {
20
21 /** SetpointManagerSingleZoneCooling_Impl is a SetpointManager_Impl that is the implementation class for SetpointManagerSingleZoneCooling.*/
22 class MODEL_API SetpointManagerSingleZoneCooling_Impl : public SetpointManager_Impl
23 {
24 public:
25 /** @name Constructors and Destructors */
26 //@{
27
28 SetpointManagerSingleZoneCooling_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
29
30 SetpointManagerSingleZoneCooling_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
31
32 SetpointManagerSingleZoneCooling_Impl(const SetpointManagerSingleZoneCooling_Impl& other, Model_Impl* model, bool keepHandle);
33
34 ✗ virtual ~SetpointManagerSingleZoneCooling_Impl() override = default;
35
36 //@}
37 /** @name Virtual Methods */
38 //@{
39
40 virtual const std::vector<std::string>& outputVariableNames() const override;
41
42 virtual IddObjectType iddObjectType() const override;
43
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 bool addToNode(Node& node) override;
71
72 virtual std::string controlVariable() const override;
73
74 virtual bool setControlVariable(const std::string& value) override;
75
76 virtual boost::optional<Node> setpointNode() const override;
77
78 /** This is used to set the field SetpointNodeName.
79 * Use addToNode to add a setpoint manager to a node. */
80 virtual bool setSetpointNode(const Node& node) override;
81
82 /** This is used to reset the field SetpointNodeName. */
83 virtual void resetSetpointNode() override;
84
85 //@}
86 protected:
87 private:
88 REGISTER_LOGGER("openstudio.model.SetpointManagerSingleZoneCooling");
89 };
90
91 } // namespace detail
92
93 } // namespace model
94 } // namespace openstudio
95
96 #endif // MODEL_SETPOINTMANAGERSINGLEZONECOOLING_IMPL_HPP
97