GCC Code Coverage Report


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

src/model/SetpointManagerColdest_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_SETPOINTMANAGERCOLDEST_IMPL_HPP
7 #define MODEL_SETPOINTMANAGERCOLDEST_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "SetpointManager_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 class Node;
16
17 namespace detail {
18
19 /** SetpointManagerColdest_Impl is a SetpointManager_Impl that is the implementation class for SetpointManagerColdest.*/
20 class MODEL_API SetpointManagerColdest_Impl : public SetpointManager_Impl
21 {
22 public:
23 /** @name Constructors and Destructors */
24 //@{
25
26 SetpointManagerColdest_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
27
28 SetpointManagerColdest_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
29
30 SetpointManagerColdest_Impl(const SetpointManagerColdest_Impl& other, Model_Impl* model, bool keepHandle);
31
32 10 virtual ~SetpointManagerColdest_Impl() override = default;
33
34 //@}
35 /** @name Virtual Methods */
36 //@{
37
38 virtual const std::vector<std::string>& outputVariableNames() const override;
39
40 virtual IddObjectType iddObjectType() const override;
41
42 //@}
43 /** @name Getters */
44 //@{
45
46 virtual std::string controlVariable() const override;
47
48 double minimumSetpointTemperature() const;
49
50 double maximumSetpointTemperature() const;
51
52 std::string strategy() const;
53
54 virtual boost::optional<Node> setpointNode() const override;
55
56 //@}
57 /** @name Setters */
58 //@{
59
60 virtual bool setControlVariable(const std::string& controlVariable) override;
61
62 bool setMinimumSetpointTemperature(double minimumSetpointTemperature);
63
64 bool setMaximumSetpointTemperature(double maximumSetpointTemperature);
65
66 bool setStrategy(const std::string& strategy);
67
68 //@}
69 /** @name Other */
70 //@{
71
72 //@}
73 protected:
74 private:
75 virtual bool setSetpointNode(const Node& node) override;
76
77 virtual void resetSetpointNode() override;
78
79 REGISTER_LOGGER("openstudio.model.SetpointManagerColdest");
80 };
81
82 } // namespace detail
83
84 } // namespace model
85 } // namespace openstudio
86
87 #endif // MODEL_SETPOINTMANAGERCOLDEST_IMPL_HPP
88