src/model/DaylightRedirectionDevice_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_DAYLIGHTREDIRECTIONDEVICE_IMPL_HPP | ||
| 7 | #define MODEL_DAYLIGHTREDIRECTIONDEVICE_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ShadingMaterial_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | namespace detail { | ||
| 16 | |||
| 17 | class MODEL_API DaylightRedirectionDevice_Impl : public ShadingMaterial_Impl | ||
| 18 | { | ||
| 19 | public: | ||
| 20 | /** @name Constructors and Destructors */ | ||
| 21 | //@{ | ||
| 22 | |||
| 23 | DaylightRedirectionDevice_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 24 | |||
| 25 | DaylightRedirectionDevice_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 26 | |||
| 27 | DaylightRedirectionDevice_Impl(const DaylightRedirectionDevice_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 28 | |||
| 29 | 2 | virtual ~DaylightRedirectionDevice_Impl() override = default; | |
| 30 | |||
| 31 | //@} | ||
| 32 | |||
| 33 | /** @name Virtual Methods */ | ||
| 34 | //@{ | ||
| 35 | |||
| 36 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 37 | |||
| 38 | virtual IddObjectType iddObjectType() const override; | ||
| 39 | |||
| 40 | /** Throws because blind has beam and diffuse visible transmittance. */ | ||
| 41 | virtual boost::optional<double> getVisibleTransmittance() const override; | ||
| 42 | |||
| 43 | //@} | ||
| 44 | /** @name Getters */ | ||
| 45 | //@{ | ||
| 46 | |||
| 47 | std::string daylightRedirectionDeviceType() const; | ||
| 48 | |||
| 49 | bool isDaylightRedirectionDeviceTypeDefaulted() const; | ||
| 50 | |||
| 51 | //@} | ||
| 52 | /** @name Setters */ | ||
| 53 | //@{ | ||
| 54 | |||
| 55 | bool setDaylightRedirectionDeviceType(const std::string& daylightRedirectionDeviceType); | ||
| 56 | |||
| 57 | void resetDaylightRedirectionDeviceType(); | ||
| 58 | |||
| 59 | //@} | ||
| 60 | /** @name Other */ | ||
| 61 | //@{ | ||
| 62 | |||
| 63 | //@} | ||
| 64 | |||
| 65 | protected: | ||
| 66 | private: | ||
| 67 | − | REGISTER_LOGGER("openstudio.model.DaylightRedirectionDevice"); | |
| 68 | }; | ||
| 69 | |||
| 70 | } // namespace detail | ||
| 71 | |||
| 72 | } // namespace model | ||
| 73 | } // namespace openstudio | ||
| 74 | |||
| 75 | #endif // MODEL_BLIND_IMPL_HPP | ||
| 76 |