Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Detector.h
- Committer:
 - KwamsC
 - Date:
 - 2018-06-14
 - Revision:
 - 24:418711ed8c52
 - Parent:
 - 23:bb57966cb776
 
File content as of revision 24:418711ed8c52:
#ifndef DETECTOR_H
#define DETECTOR_H
#include <vector>
#include "TextLCD.h"
using namespace std;
class Detector
{
    public:
        Detector(bool setValue);
        ~Detector();
        bool checkReservation(int number);
        void makeReservation(vector<int> area);
        void clearReservation(vector<int> area);
        void showReservation();
    protected:
    private:
    vector<bool> detector;
    TextLCD lcd; // lcd
};
#endif // DETECTOR_H
            
    