src/model/ExternalInterfaceFunctionalMockupUnitImportToSchedule.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_EXTERNALINTERFACEFUNCTIONALMOCKUPUNITIMPORTTOSCHEDULE_HPP | ||
| 7 | #define MODEL_EXTERNALINTERFACEFUNCTIONALMOCKUPUNITIMPORTTOSCHEDULE_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "Schedule.hpp" | ||
| 11 | |||
| 12 | #include "ExternalInterfaceFunctionalMockupUnitImport.hpp" | ||
| 13 | #include "ExternalInterfaceFunctionalMockupUnitImport_Impl.hpp" | ||
| 14 | |||
| 15 | namespace openstudio { | ||
| 16 | |||
| 17 | namespace model { | ||
| 18 | |||
| 19 | namespace detail { | ||
| 20 | |||
| 21 | class ExternalInterfaceFunctionalMockupUnitImportToSchedule_Impl; | ||
| 22 | |||
| 23 | } // namespace detail | ||
| 24 | |||
| 25 | /** ExternalInterfaceFunctionalMockupUnitImportToSchedule is a ModelObject that wraps the OpenStudio IDD object 'OS:ExternalInterface:FunctionalMockupUnitImport:To:Schedule'. */ | ||
| 26 | class MODEL_API ExternalInterfaceFunctionalMockupUnitImportToSchedule : public Schedule | ||
| 27 | { | ||
| 28 | public: | ||
| 29 | /** @name Constructors and Destructors */ | ||
| 30 | //@{ | ||
| 31 | |||
| 32 | explicit ExternalInterfaceFunctionalMockupUnitImportToSchedule(const Model& model, const ExternalInterfaceFunctionalMockupUnitImport& fMUFile, | ||
| 33 | const std::string& fMUInstanceName, const std::string& fMUVariableName, | ||
| 34 | double initialValue); | ||
| 35 | |||
| 36 | 5 | virtual ~ExternalInterfaceFunctionalMockupUnitImportToSchedule() override = default; | |
| 37 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 38 | ✗ | ExternalInterfaceFunctionalMockupUnitImportToSchedule(const ExternalInterfaceFunctionalMockupUnitImportToSchedule& other) = default; | |
| 39 | ✗ | ExternalInterfaceFunctionalMockupUnitImportToSchedule(ExternalInterfaceFunctionalMockupUnitImportToSchedule&& other) = default; | |
| 40 | ✗ | ExternalInterfaceFunctionalMockupUnitImportToSchedule& operator=(const ExternalInterfaceFunctionalMockupUnitImportToSchedule&) = default; | |
| 41 | ✗ | ExternalInterfaceFunctionalMockupUnitImportToSchedule& operator=(ExternalInterfaceFunctionalMockupUnitImportToSchedule&&) = default; | |
| 42 | |||
| 43 | //@} | ||
| 44 | |||
| 45 | static IddObjectType iddObjectType(); | ||
| 46 | |||
| 47 | /** @name Getters */ | ||
| 48 | //@{ | ||
| 49 | |||
| 50 | ExternalInterfaceFunctionalMockupUnitImport fMUFile() const; | ||
| 51 | |||
| 52 | std::string fMUInstanceName() const; | ||
| 53 | |||
| 54 | std::string fMUVariableName() const; | ||
| 55 | |||
| 56 | double initialValue() const; | ||
| 57 | |||
| 58 | //@} | ||
| 59 | /** @name Setters */ | ||
| 60 | //@{ | ||
| 61 | |||
| 62 | bool setFMUFile(const ExternalInterfaceFunctionalMockupUnitImport& fMUFile); | ||
| 63 | |||
| 64 | bool setFMUInstanceName(const std::string& fMUInstanceName); | ||
| 65 | |||
| 66 | bool setFMUVariableName(const std::string& fMUVariableName); | ||
| 67 | |||
| 68 | bool setInitialValue(double initialValue); | ||
| 69 | |||
| 70 | //@} | ||
| 71 | /** @name Other */ | ||
| 72 | //@{ | ||
| 73 | |||
| 74 | //@} | ||
| 75 | protected: | ||
| 76 | /// @cond | ||
| 77 | using ImplType = detail::ExternalInterfaceFunctionalMockupUnitImportToSchedule_Impl; | ||
| 78 | |||
| 79 | explicit ExternalInterfaceFunctionalMockupUnitImportToSchedule( | ||
| 80 | std::shared_ptr<detail::ExternalInterfaceFunctionalMockupUnitImportToSchedule_Impl> impl); | ||
| 81 | |||
| 82 | friend class detail::ExternalInterfaceFunctionalMockupUnitImportToSchedule_Impl; | ||
| 83 | friend class Model; | ||
| 84 | friend class IdfObject; | ||
| 85 | friend class openstudio::detail::IdfObject_Impl; | ||
| 86 | /// @endcond | ||
| 87 | private: | ||
| 88 | − | REGISTER_LOGGER("openstudio.model.ExternalInterfaceFunctionalMockupUnitImportToSchedule"); | |
| 89 | }; | ||
| 90 | |||
| 91 | /** \relates ExternalInterfaceFunctionalMockupUnitImportToSchedule*/ | ||
| 92 | using OptionalExternalInterfaceFunctionalMockupUnitImportToSchedule = boost::optional<ExternalInterfaceFunctionalMockupUnitImportToSchedule>; | ||
| 93 | |||
| 94 | /** \relates ExternalInterfaceFunctionalMockupUnitImportToSchedule*/ | ||
| 95 | using ExternalInterfaceFunctionalMockupUnitImportToScheduleVector = std::vector<ExternalInterfaceFunctionalMockupUnitImportToSchedule>; | ||
| 96 | |||
| 97 | } // namespace model | ||
| 98 | } // namespace openstudio | ||
| 99 | |||
| 100 | #endif // MODEL_EXTERNALINTERFACEFUNCTIONALMOCKUPUNITIMPORTTOSCHEDULE_HPP | ||
| 101 |