14 Door::Door(
int positionClosed,
int positionOpen) : pPosClosed(positionClosed), pPosOpen(positionOpen) {
15 DBFUNCCALLln(
"Door::Door(int positionOpen, int positionClosed)");
int pActualPos
Initial door position somwhere between.
void init()
Initialisen the Door in closed Position.
bool close()
Closes the Door one Step per Function-Call.
const int pPosOpen
Position of the open door.
bool open()
Opens the Door one Step per Function-Call.
Door(int positionClosed, int positionOpen)
Construct a new Door object.
const int pPosClosed
Position of the closed door.
Implementation of the Door-Class.