Michael Spencer / Smoothie

Dependencies:   mbed

Fork of Smoothie by Stéphane Cachat

Revision:
2:1df0b61d3b5a
diff -r ab59fc9af055 -r 1df0b61d3b5a modules/tools/switch/SwitchPool.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/tools/switch/SwitchPool.h	Fri Feb 28 18:52:52 2014 -0800
@@ -0,0 +1,29 @@
+/*
+      this file is part of smoothie (http://smoothieware.org/). the motion control part is heavily based on grbl (https://github.com/simen/grbl).
+      smoothie is free software: you can redistribute it and/or modify it under the terms of the gnu general public license as published by the free software foundation, either version 3 of the license, or (at your option) any later version.
+      smoothie is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. see the gnu general public license for more details.
+      you should have received a copy of the gnu general public license along with smoothie. if not, see <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef SWITCHPOOL_H
+#define SWITCHPOOL_H
+
+#include "Switch.h"
+#include <math.h>
+using namespace std;
+#include <vector>
+
+#define enable_checksum            CHECKSUM("enable")
+
+class SwitchPool : public Module {
+    public:
+        SwitchPool();
+
+        void on_module_loaded();
+
+        vector<Switch*> controllers;
+};
+
+
+
+#endif // SWITCHPOOL_H