Bug 705910  2013-10-21
Check the indices goes correctly
 All Classes Namespaces Files Functions Variables Enumerations Enumerator
Public Member Functions | Protected Attributes | List of all members
空調設定 Class Reference

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
 

Detailed Description

This class simulates controling air conditions.

Simulates controling temperature or humidity.

Constructor & Destructor Documentation

空調設定::空調設定 ( int  i気温,
int  i湿度 
)
inline

constructor

Parameters
i気温set current temperature
i湿度set current humidity
virtual 空調設定::~空調設定 ( )
inlinevirtual

destructor

Only to make this class inheritable. Do nothing.

Member Function Documentation

int 空調設定::クーラーをつける ( )
inline

turn on the cooler

Simulate turning on the cooler

int 空調設定::クーラーを切る ( )
inline

turn off the cooler

Simulate turning off the cooler

int 空調設定::ヒーターをつける ( )
inline

turn on the heater

Simulate turning on the heater

int 空調設定::ヒーターを切る ( )
inline

turn off the heater

Simulate turning off the heater

void 空調設定::扇風機を回す ( )
inline

turn on the fan

Simulate turning on the fan

void 空調設定::扇風機を止める ( )
inline

turn off the fan

Simulate turning off the fan


The documentation for this class was generated from the following file: