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.
Diff: Detector.h
- Revision:
- 21:31647d80614f
- Child:
- 23:bb57966cb776
diff -r 32ba0a5f2d02 -r 31647d80614f Detector.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Detector.h Tue Jun 12 15:02:44 2018 +0000
@@ -0,0 +1,20 @@
+#ifndef DETECTOR_H
+#define DETECTOR_H
+#include "Detector.h"
+
+class Detector
+{
+ public:
+ Detector(bool setValue = false);
+ ~Detector();
+ bool checkReservation(int number);
+ void reserveDetector(int area[]);
+ void clearReservation(int area[]);
+
+ protected:
+
+ private:
+ bool detector[];
+};
+
+#endif // DETECTOR_H
