New project

Dependencies:   mbed TextLCD

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Detector.h Source File

Detector.h

00001 #ifndef DETECTOR_H
00002 #define DETECTOR_H
00003 #include <vector>
00004 #include "TextLCD.h"
00005 using namespace std;
00006 
00007 class Detector
00008 {
00009     public:
00010         Detector(bool setValue);
00011         ~Detector();
00012         bool checkReservation(int number);
00013         void makeReservation(vector<int> area);
00014         void clearReservation(vector<int> area);
00015         void showReservation();
00016 
00017     protected:
00018 
00019     private:
00020     vector<bool> detector;
00021     TextLCD lcd; // lcd
00022 };
00023 
00024 #endif // DETECTOR_H