GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 1 / 1 / 2
Functions: 100.0% 1 / 1 / 2
Branches: -% 0 / 1 / 1

src/model/AvailabilityManagerScheduled_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_AVAILABILITYMANAGERSCHEDULED_IMPL_HPP
7 #define MODEL_AVAILABILITYMANAGERSCHEDULED_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "AvailabilityManager_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 class Schedule;
16
17 namespace detail {
18
19 /** AvailabilityManagerScheduled_Impl is a AvailabilityManager_Impl that is the implementation class for AvailabilityManagerScheduled.*/
20 class MODEL_API AvailabilityManagerScheduled_Impl : public AvailabilityManager_Impl
21 {
22 public:
23 /** @name Constructors and Destructors */
24 //@{
25
26 AvailabilityManagerScheduled_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
27
28 AvailabilityManagerScheduled_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
29
30 AvailabilityManagerScheduled_Impl(const AvailabilityManagerScheduled_Impl& other, Model_Impl* model, bool keepHandle);
31
32 3 virtual ~AvailabilityManagerScheduled_Impl() override = default;
33
34 //@}
35 /** @name Virtual Methods */
36 //@{
37
38 virtual const std::vector<std::string>& outputVariableNames() const override;
39
40 virtual IddObjectType iddObjectType() const override;
41
42 virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override;
43
44 //@}
45 /** @name Getters */
46 //@{
47
48 Schedule schedule() const;
49
50 //@}
51 /** @name Setters */
52 //@{
53
54 bool setSchedule(Schedule& schedule);
55
56 //@}
57 /** @name Other */
58 //@{
59
60 //@}
61 protected:
62 private:
63 − REGISTER_LOGGER("openstudio.model.AvailabilityManagerScheduled");
64
65 boost::optional<Schedule> optionalSchedule() const;
66 };
67
68 } // namespace detail
69
70 } // namespace model
71 } // namespace openstudio
72
73 #endif // MODEL_AVAILABILITYMANAGERSCHEDULED_IMPL_HPP
74