src/model/DaylightingDeviceTubular_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_DAYLIGHTINGDEVICETUBULAR_IMPL_HPP | ||
| 7 | #define MODEL_DAYLIGHTINGDEVICETUBULAR_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ModelObject_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class SubSurface; | ||
| 16 | class ConstructionBase; | ||
| 17 | class ThermalZone; | ||
| 18 | class TransitionZone; | ||
| 19 | |||
| 20 | namespace detail { | ||
| 21 | |||
| 22 | /** DaylightingDeviceTubular_Impl is a ModelObject_Impl that is the implementation class for DaylightingDeviceTubular.*/ | ||
| 23 | class MODEL_API DaylightingDeviceTubular_Impl : public ModelObject_Impl | ||
| 24 | { | ||
| 25 | public: | ||
| 26 | /** @name Constructors and Destructors */ | ||
| 27 | //@{ | ||
| 28 | |||
| 29 | DaylightingDeviceTubular_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 30 | |||
| 31 | DaylightingDeviceTubular_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 32 | |||
| 33 | DaylightingDeviceTubular_Impl(const DaylightingDeviceTubular_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 34 | |||
| 35 | 11 | virtual ~DaylightingDeviceTubular_Impl() override = default; | |
| 36 | |||
| 37 | //@} | ||
| 38 | |||
| 39 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 40 | |||
| 41 | virtual IddObjectType iddObjectType() const override; | ||
| 42 | |||
| 43 | /** @name Getters */ | ||
| 44 | //@{ | ||
| 45 | |||
| 46 | SubSurface subSurfaceDome() const; | ||
| 47 | |||
| 48 | SubSurface subSurfaceDiffuser() const; | ||
| 49 | |||
| 50 | ConstructionBase construction() const; | ||
| 51 | |||
| 52 | double diameter() const; | ||
| 53 | |||
| 54 | double totalLength() const; | ||
| 55 | |||
| 56 | double effectiveThermalResistance() const; | ||
| 57 | |||
| 58 | std::vector<TransitionZone> transitionZones() const; | ||
| 59 | |||
| 60 | unsigned int numberofTransitionZones() const; | ||
| 61 | |||
| 62 | //@} | ||
| 63 | /** @name Setters */ | ||
| 64 | //@{ | ||
| 65 | |||
| 66 | bool setConstruction(const ConstructionBase& construction); | ||
| 67 | |||
| 68 | bool setDiameter(double diameter); | ||
| 69 | |||
| 70 | bool setTotalLength(double totalLength); | ||
| 71 | |||
| 72 | bool setEffectiveThermalResistance(double effectiveThermalResistance); | ||
| 73 | |||
| 74 | bool addTransitionZone(const TransitionZone& transitionZone); | ||
| 75 | |||
| 76 | bool addTransitionZone(const ThermalZone& zone, double length); | ||
| 77 | |||
| 78 | bool removeTransitionZone(unsigned groupIndex); | ||
| 79 | |||
| 80 | void removeAllTransitionZones(); | ||
| 81 | |||
| 82 | bool addTransitionZones(const std::vector<TransitionZone>& transitionZones); | ||
| 83 | //@} | ||
| 84 | |||
| 85 | protected: | ||
| 86 | private: | ||
| 87 | REGISTER_LOGGER("openstudio.model.DaylightingDeviceTubular"); | ||
| 88 | }; | ||
| 89 | |||
| 90 | } // namespace detail | ||
| 91 | |||
| 92 | } // namespace model | ||
| 93 | } // namespace openstudio | ||
| 94 | |||
| 95 | #endif // MODEL_DAYLIGHTINGDEVICETUBULAR_IMPL_HPP | ||
| 96 |