GCC Code Coverage Report


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

src/model/AirLoopHVACZoneMixer_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_AIRLOOPHVACZONEMIXER_IMPL_HPP
7 #define MODEL_AIRLOOPHVACZONEMIXER_IMPL_HPP
8
9 #include "Mixer_Impl.hpp"
10
11 namespace openstudio {
12
13 namespace model {
14
15 class AirflowNetworkDistributionNode;
16
17 namespace detail {
18
19 class MODEL_API AirLoopHVACZoneMixer_Impl : public Mixer_Impl
20 {
21 public:
22 // constructor
23 AirLoopHVACZoneMixer_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
24
25 // construct from workspace
26 AirLoopHVACZoneMixer_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
27
28 // copy constructor
29 AirLoopHVACZoneMixer_Impl(const AirLoopHVACZoneMixer_Impl& other, Model_Impl* model, bool keepHandle);
30
31 // virtual destructor
32 1057 virtual ~AirLoopHVACZoneMixer_Impl() override = default;
33
34 // Get all output variable names that could be associated with this object.
35 virtual const std::vector<std::string>& outputVariableNames() const override;
36
37 virtual std::vector<ModelObject> children() const override;
38
39 virtual IddObjectType iddObjectType() const override;
40
41 std::vector<openstudio::IdfObject> remove() override;
42
43 unsigned outletPort() const override;
44
45 unsigned inletPort(unsigned branchIndex) const override;
46
47 unsigned nextInletPort() const override;
48
49 virtual bool addToNode(Node& node) override;
50
51 virtual ModelObject clone(Model model) const override;
52
53 void disconnect() override;
54
55 AirflowNetworkDistributionNode getAirflowNetworkDistributionNode();
56
57 boost::optional<AirflowNetworkDistributionNode> airflowNetworkDistributionNode() const;
58
59 virtual ComponentType componentType() const override;
60 virtual std::vector<FuelType> coolingFuelTypes() const override;
61 virtual std::vector<FuelType> heatingFuelTypes() const override;
62 virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override;
63
64 private:
65 − REGISTER_LOGGER("openstudio.model.AirLoopHVACZoneMixer");
66 };
67
68 } // namespace detail
69
70 } // namespace model
71 } // namespace openstudio
72
73 #endif // MODEL_AIRLOOPHVACZONEMIXER_IMPL_HPP
74