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/ExternalInterfaceFunctionalMockupUnitImport_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_EXTERNALINTERFACEFUNCTIONALMOCKUPUNITIMPORT_IMPL_HPP
7 #define MODEL_EXTERNALINTERFACEFUNCTIONALMOCKUPUNITIMPORT_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ModelObject_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 namespace detail {
16
17 /** ExternalInterfaceFunctionalMockupUnitImport_Impl is a ModelObject_Impl that is the implementation class for ExternalInterfaceFunctionalMockupUnitImport.*/
18 class MODEL_API ExternalInterfaceFunctionalMockupUnitImport_Impl : public ModelObject_Impl
19 {
20 public:
21 /** @name Constructors and Destructors */
22 //@{
23
24 ExternalInterfaceFunctionalMockupUnitImport_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
25
26 ExternalInterfaceFunctionalMockupUnitImport_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
27
28 ExternalInterfaceFunctionalMockupUnitImport_Impl(const ExternalInterfaceFunctionalMockupUnitImport_Impl& other, Model_Impl* model,
29 bool keepHandle);
30
31 21 virtual ~ExternalInterfaceFunctionalMockupUnitImport_Impl() override = default;
32
33 //@}
34 /** @name Virtual Methods */
35 //@{
36
37 virtual const std::vector<std::string>& outputVariableNames() const override;
38
39 virtual IddObjectType iddObjectType() const override;
40
41 //@}
42 /** @name Getters */
43 //@{
44
45 double fMUTimeout() const;
46
47 bool isFMUTimeoutDefaulted() const;
48
49 int fMULoggingOn() const;
50
51 bool isFMULoggingOnDefaulted() const;
52
53 std::string fMUFileName() const;
54
55 //@}
56 /** @name Setters */
57 //@{
58
59 bool setFMUTimeout(double fMUTimeout);
60
61 void resetFMUTimeout();
62
63 bool setFMULoggingOn(int fMULoggingOn);
64
65 void resetFMULoggingOn();
66
67 bool setFMUFileName(const std::string& fMUName);
68
69 //@}
70 /** @name Other */
71 //@{
72
73 //@}
74 protected:
75 private:
76 REGISTER_LOGGER("openstudio.model.ExternalInterfaceFunctionalMockupUnitImport");
77 };
78
79 } // namespace detail
80
81 } // namespace model
82 } // namespace openstudio
83
84 #endif // MODEL_EXTERNALINTERFACEFUNCTIONALMOCKUPUNITIMPORT_IMPL_HPP
85