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/ExternalInterfaceFunctionalMockupUnitImportToActuator_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_EXTERNALINTERFACEFUNCTIONALMOCKUPUNITIMPORTTOACTUATOR_IMPL_HPP
7 #define MODEL_EXTERNALINTERFACEFUNCTIONALMOCKUPUNITIMPORTTOACTUATOR_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ModelObject_Impl.hpp"
11
12 #include "ExternalInterfaceFunctionalMockupUnitImport.hpp"
13 #include "ExternalInterfaceFunctionalMockupUnitImport_Impl.hpp"
14
15 namespace openstudio {
16 namespace model {
17
18 namespace detail {
19
20 /** ExternalInterfaceFunctionalMockupUnitImportToActuator_Impl is a ModelObject_Impl that is the implementation class for ExternalInterfaceFunctionalMockupUnitImportToActuator.*/
21 class MODEL_API ExternalInterfaceFunctionalMockupUnitImportToActuator_Impl : public ModelObject_Impl
22 {
23 public:
24 /** @name Constructors and Destructors */
25 //@{
26
27 ExternalInterfaceFunctionalMockupUnitImportToActuator_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
28
29 ExternalInterfaceFunctionalMockupUnitImportToActuator_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model,
30 bool keepHandle);
31
32 ExternalInterfaceFunctionalMockupUnitImportToActuator_Impl(const ExternalInterfaceFunctionalMockupUnitImportToActuator_Impl& other,
33 Model_Impl* model, bool keepHandle);
34
35 4 virtual ~ExternalInterfaceFunctionalMockupUnitImportToActuator_Impl() override = default;
36
37 //@}
38 /** @name Virtual Methods */
39 //@{
40
41 virtual const std::vector<std::string>& outputVariableNames() const override;
42
43 virtual IddObjectType iddObjectType() const override;
44
45 //@}
46 /** @name Getters */
47 //@{
48
49 ModelObject actuatedComponentUnique() const;
50
51 std::string actuatedComponentType() const;
52
53 std::string actuatedComponentControlType() const;
54
55 ExternalInterfaceFunctionalMockupUnitImport fMUFile() const;
56
57 std::string fMUInstanceName() const;
58
59 std::string fMUVariableName() const;
60
61 double initialValue() const;
62
63 //@}
64 /** @name Setters */
65 //@{
66
67 bool setActuatedComponentUnique(const ModelObject& modelObject);
68
69 bool setActuatedComponentType(const std::string& actuatedComponentType);
70
71 bool setActuatedComponentControlType(const std::string& actuatedComponentControlType);
72
73 bool setFMUFile(const ExternalInterfaceFunctionalMockupUnitImport& fMUFile);
74
75 bool setFMUInstanceName(const std::string& fMUInstanceName);
76
77 bool setFMUVariableName(const std::string& fMUVariableName);
78
79 bool setInitialValue(double initialValue);
80
81 //@}
82 /** @name Other */
83 //@{
84
85 //@}
86 protected:
87 private:
88 REGISTER_LOGGER("openstudio.model.ExternalInterfaceFunctionalMockupUnitImportToActuator");
89 };
90
91 } // namespace detail
92
93 } // namespace model
94 } // namespace openstudio
95
96 #endif // MODEL_EXTERNALINTERFACEFUNCTIONALMOCKUPUNITIMPORTTOACTUATOR_IMPL_HPP
97