-
Notifications
You must be signed in to change notification settings - Fork 0
/
bedroom.cpp
74 lines (65 loc) · 1.28 KB
/
bedroom.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#include "bedroom.h"
using namespace std;
/*!
* \brief Bedroom::Bedroom
* \param name
*/
Bedroom::Bedroom(std::string name): Room(name)
{
_name = name;
}
/*!
* \brief Bedroom::addComponent
* \param componentName
*/
void Bedroom::addComponent(std::string componentName)
{
Room::addComponent(componentName);
}
/*!
* \brief Bedroom::turnOffComponent
* \param componentName
*/
void Bedroom::turnOffComponent(std::string componentName)
{
Room::turnOffComponent(componentName);
}
/*!
* \brief Bedroom::turnOffComponents
*/
void Bedroom::turnOffComponents()
{
Room::turnOffComponents();
}
/*!
* \brief Bedroom::turnOnComponent
* \param componentName
*/
void Bedroom::turnOnComponent(std::string componentName)
{
Room::turnOnComponent(componentName);
}
/*!
* \brief Bedroom::turnOnComponents
*/
void Bedroom::turnOnComponents()
{
Room::turnOnComponents();
}
/*!
* \brief Bedroom::removeComponent
* \param componentName
*/
void Bedroom::removeComponent(std::string componentName)
{
Room::removeComponent(componentName);
}
/*!
* \brief Bedroom::setupComponent
* \param componentType
* \param componentName
*/
void Bedroom::setupComponent(TYPES::COMPONENTS componentType, std::string componentName)
{
Room::setupComponent(componentType, componentName);
}