New project

Dependencies:   mbed TextLCD

Revision:
23:bb57966cb776
Parent:
21:31647d80614f
Child:
24:418711ed8c52
--- a/Detector.h	Wed Jun 13 09:06:55 2018 +0000
+++ b/Detector.h	Wed Jun 13 20:50:26 2018 +0000
@@ -1,20 +1,22 @@
 #ifndef DETECTOR_H
 #define DETECTOR_H
 #include "Detector.h"
+#include <vector>
+using namespace std;
 
 class Detector
 {
     public:
-        Detector(bool setValue = false);
+        Detector(bool setValue);
         ~Detector();
         bool checkReservation(int number);
-        void reserveDetector(int area[]);
-        void clearReservation(int area[]);
+        void reserveDetector(vector<int> area);
+        void clearReservation(vector<int> area);
 
     protected:
 
     private:
-    bool detector[];
+    vector<bool> detector;
 };
 
 #endif // DETECTOR_H