You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
317 B
28 lines
317 B
#ifndef _OVENCTRL_HPP_
|
|
#define _OVENCTRL_HPP_
|
|
|
|
#include "oven.hpp"
|
|
|
|
// forward declaration
|
|
class OvenState;
|
|
|
|
class OvenControll
|
|
{
|
|
public:
|
|
enum Event {
|
|
evTurnEverythingOff,
|
|
evTurn
|
|
};
|
|
|
|
OvenControll();
|
|
|
|
void process(Event e);
|
|
|
|
private:
|
|
Oven entity;
|
|
OvenState* pState;
|
|
|
|
};
|
|
|
|
#endif // _OVEMCTRL_HPP_
|