src/model/Inverter_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_INVERTER_IMPL_HPP | ||
| 7 | #define MODEL_INVERTER_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ParentObject_Impl.hpp" | ||
| 10 | #include "ThermalZone_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | namespace detail { | ||
| 16 | |||
| 17 | class MODEL_API Inverter_Impl : public ParentObject_Impl | ||
| 18 | { | ||
| 19 | public: | ||
| 20 | /** @name Constructors and Destructors */ | ||
| 21 | //@{ | ||
| 22 | |||
| 23 | Inverter_Impl(IddObjectType type, Model_Impl* model); | ||
| 24 | |||
| 25 | Inverter_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 26 | |||
| 27 | Inverter_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 28 | |||
| 29 | Inverter_Impl(const Inverter_Impl& other, Model_Impl* model, bool keepHandles); | ||
| 30 | |||
| 31 | 24 | virtual ~Inverter_Impl() override = default; | |
| 32 | |||
| 33 | //@} | ||
| 34 | /** @name Virtual Methods */ | ||
| 35 | //@{ | ||
| 36 | |||
| 37 | //@} | ||
| 38 | /** @name Getters */ | ||
| 39 | //@{ | ||
| 40 | |||
| 41 | boost::optional<ElectricLoadCenterDistribution> electricLoadCenterDistribution() const; | ||
| 42 | |||
| 43 | virtual boost::optional<ThermalZone> thermalZone() const = 0; | ||
| 44 | |||
| 45 | //@} | ||
| 46 | /** @name Setters */ | ||
| 47 | //@{ | ||
| 48 | |||
| 49 | virtual bool setThermalZone(const ThermalZone& thermalZone) = 0; | ||
| 50 | |||
| 51 | virtual void resetThermalZone() = 0; | ||
| 52 | |||
| 53 | //@} | ||
| 54 | /** @name Other */ | ||
| 55 | //@{ | ||
| 56 | |||
| 57 | //@} | ||
| 58 | private: | ||
| 59 | REGISTER_LOGGER("openstudio.model.Inverter"); | ||
| 60 | }; | ||
| 61 | |||
| 62 | } // namespace detail | ||
| 63 | |||
| 64 | } // namespace model | ||
| 65 | } // namespace openstudio | ||
| 66 | |||
| 67 | #endif // MODEL_INVERTER_IMPL_HPP | ||
| 68 |