src/model/OutputEnergyManagementSystem.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_OUTPUTENERGYMANAGEMENTSYSTEM_HPP | ||
| 7 | #define MODEL_OUTPUTENERGYMANAGEMENTSYSTEM_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ModelObject.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | namespace detail { | ||
| 16 | |||
| 17 | class OutputEnergyManagementSystem_Impl; | ||
| 18 | |||
| 19 | } // namespace detail | ||
| 20 | |||
| 21 | /** OutputEnergyManagementSystem is a ModelObject that wraps the OpenStudio IDD object 'OS:Output:EnergyManagementSystem'. */ | ||
| 22 | class MODEL_API OutputEnergyManagementSystem : public ModelObject | ||
| 23 | { | ||
| 24 | public: | ||
| 25 | /** @name Constructors and Destructors */ | ||
| 26 | //@{ | ||
| 27 | |||
| 28 | 28 | virtual ~OutputEnergyManagementSystem() override = default; | |
| 29 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 30 | ✗ | OutputEnergyManagementSystem(const OutputEnergyManagementSystem& other) = default; | |
| 31 | 3 | OutputEnergyManagementSystem(OutputEnergyManagementSystem&& other) = default; | |
| 32 | ✗ | OutputEnergyManagementSystem& operator=(const OutputEnergyManagementSystem&) = default; | |
| 33 | ✗ | OutputEnergyManagementSystem& operator=(OutputEnergyManagementSystem&&) = default; | |
| 34 | |||
| 35 | //@} | ||
| 36 | |||
| 37 | static IddObjectType iddObjectType(); | ||
| 38 | |||
| 39 | static std::vector<std::string> actuatorAvailabilityDictionaryReportingValues(); | ||
| 40 | |||
| 41 | static std::vector<std::string> internalVariableAvailabilityDictionaryReportingValues(); | ||
| 42 | |||
| 43 | static std::vector<std::string> eMSRuntimeLanguageDebugOutputLevelValues(); | ||
| 44 | |||
| 45 | /** @name Getters */ | ||
| 46 | //@{ | ||
| 47 | |||
| 48 | std::string actuatorAvailabilityDictionaryReporting() const; | ||
| 49 | |||
| 50 | bool isActuatorAvailabilityDictionaryReportingDefaulted() const; | ||
| 51 | |||
| 52 | std::string internalVariableAvailabilityDictionaryReporting() const; | ||
| 53 | |||
| 54 | bool isInternalVariableAvailabilityDictionaryReportingDefaulted() const; | ||
| 55 | |||
| 56 | std::string eMSRuntimeLanguageDebugOutputLevel() const; | ||
| 57 | |||
| 58 | bool isEMSRuntimeLanguageDebugOutputLevelDefaulted() const; | ||
| 59 | |||
| 60 | //@} | ||
| 61 | /** @name Setters */ | ||
| 62 | //@{ | ||
| 63 | |||
| 64 | bool setActuatorAvailabilityDictionaryReporting(const std::string& actuatorAvailabilityDictionaryReporting); | ||
| 65 | |||
| 66 | void resetActuatorAvailabilityDictionaryReporting(); | ||
| 67 | |||
| 68 | bool setInternalVariableAvailabilityDictionaryReporting(const std::string& internalVariableAvailabilityDictionaryReporting); | ||
| 69 | |||
| 70 | void resetInternalVariableAvailabilityDictionaryReporting(); | ||
| 71 | |||
| 72 | bool setEMSRuntimeLanguageDebugOutputLevel(const std::string& eMSRuntimeLanguageDebugOutputLevel); | ||
| 73 | |||
| 74 | void resetEMSRuntimeLanguageDebugOutputLevel(); | ||
| 75 | |||
| 76 | //@} | ||
| 77 | /** @name Other */ | ||
| 78 | //@{ | ||
| 79 | |||
| 80 | //@} | ||
| 81 | protected: | ||
| 82 | /// @cond | ||
| 83 | using ImplType = detail::OutputEnergyManagementSystem_Impl; | ||
| 84 | |||
| 85 | explicit OutputEnergyManagementSystem(std::shared_ptr<detail::OutputEnergyManagementSystem_Impl> impl); | ||
| 86 | |||
| 87 | friend class detail::OutputEnergyManagementSystem_Impl; | ||
| 88 | friend class Model; | ||
| 89 | friend class IdfObject; | ||
| 90 | friend class openstudio::detail::IdfObject_Impl; | ||
| 91 | explicit OutputEnergyManagementSystem(Model& model); | ||
| 92 | |||
| 93 | /// @endcond | ||
| 94 | private: | ||
| 95 | REGISTER_LOGGER("openstudio.model.OutputEnergyManagementSystem"); | ||
| 96 | }; | ||
| 97 | |||
| 98 | /** \relates OutputEnergyManagementSystem*/ | ||
| 99 | using OptionalOutputEnergyManagementSystem = boost::optional<OutputEnergyManagementSystem>; | ||
| 100 | |||
| 101 | /** \relates OutputEnergyManagementSystem*/ | ||
| 102 | using OutputEnergyManagementSystemVector = std::vector<OutputEnergyManagementSystem>; | ||
| 103 | |||
| 104 | } // namespace model | ||
| 105 | } // namespace openstudio | ||
| 106 | |||
| 107 | #endif // MODEL_OUTPUTENERGYMANAGEMENTSYSTEM_HPP | ||
| 108 |