|
Bug 705910
2013-10-21
Check the indices goes correctly
|
This class simulates controling air conditions. More...
#include <aircond.h>
Public Member Functions | |
| 空調設定 (int i気温, int i湿度) | |
| constructor More... | |
| virtual | ~空調設定 () |
| destructor More... | |
| void | 扇風機を回す () |
| turn on the fan More... | |
| void | 扇風機を止める () |
| turn off the fan More... | |
| int | ヒーターをつける () |
| turn on the heater More... | |
| int | ヒーターを切る () |
| turn off the heater More... | |
| int | クーラーをつける () |
| turn on the cooler More... | |
| int | クーラーを切る () |
| turn off the cooler More... | |
Protected Attributes | |
| int | 温度 |
| The temperature. | |
| int | 湿度 |
| The humidity. | |
| bool | 扇風機 |
| shows the fan is currently working | |
| bool | ヒーター |
| shows the heater is currently working | |
| bool | クーラー |
| shows the heater is currently working | |
This class simulates controling air conditions.
Simulates controling temperature or humidity.
|
inline |
constructor
| i気温 | set current temperature |
| i湿度 | set current humidity |
|
inlinevirtual |
destructor
Only to make this class inheritable. Do nothing.
|
inline |
turn on the cooler
Simulate turning on the cooler
|
inline |
turn off the cooler
Simulate turning off the cooler
|
inline |
turn on the heater
Simulate turning on the heater
|
inline |
turn off the heater
Simulate turning off the heater
|
inline |
turn on the fan
Simulate turning on the fan
|
inline |
turn off the fan
Simulate turning off the fan
1.8.5