Fork of Smoothie to port to mbed non-LPC targets.
Fork of Smoothie by
modules/tools/toolsmanager/ToolsManager.h@3:f151d08d335c, 2014-03-02 (annotated)
- Committer:
- Bigcheese
- Date:
- Sun Mar 02 06:33:08 2014 +0000
- Revision:
- 3:f151d08d335c
- Parent:
- 2:1df0b61d3b5a
Bunch of stuff. Need to locally merge in updated USB changes.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Michael J. Spencer |
2:1df0b61d3b5a | 1 | /* |
Michael J. Spencer |
2:1df0b61d3b5a | 2 | this file is part of smoothie (http://smoothieware.org/). the motion control part is heavily based on grbl (https://github.com/simen/grbl). |
Michael J. Spencer |
2:1df0b61d3b5a | 3 | 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. |
Michael J. Spencer |
2:1df0b61d3b5a | 4 | 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. |
Michael J. Spencer |
2:1df0b61d3b5a | 5 | you should have received a copy of the gnu general public license along with smoothie. if not, see <http://www.gnu.org/licenses/>. |
Michael J. Spencer |
2:1df0b61d3b5a | 6 | */ |
Michael J. Spencer |
2:1df0b61d3b5a | 7 | |
Michael J. Spencer |
2:1df0b61d3b5a | 8 | #ifndef TOOLSMANAGER_H |
Michael J. Spencer |
2:1df0b61d3b5a | 9 | #define TOOLSMANAGER_H |
Michael J. Spencer |
2:1df0b61d3b5a | 10 | |
Michael J. Spencer |
2:1df0b61d3b5a | 11 | using namespace std; |
Michael J. Spencer |
2:1df0b61d3b5a | 12 | #include <vector> |
Michael J. Spencer |
2:1df0b61d3b5a | 13 | |
Michael J. Spencer |
2:1df0b61d3b5a | 14 | #include "Tool.h" |
Michael J. Spencer |
2:1df0b61d3b5a | 15 | |
Michael J. Spencer |
2:1df0b61d3b5a | 16 | class ToolsManager : public Module { |
Michael J. Spencer |
2:1df0b61d3b5a | 17 | public: |
Michael J. Spencer |
2:1df0b61d3b5a | 18 | ToolsManager(); |
Michael J. Spencer |
2:1df0b61d3b5a | 19 | |
Michael J. Spencer |
2:1df0b61d3b5a | 20 | void on_module_loaded(); |
Michael J. Spencer |
2:1df0b61d3b5a | 21 | void add_tool(Tool* tool_to_add); |
Michael J. Spencer |
2:1df0b61d3b5a | 22 | |
Michael J. Spencer |
2:1df0b61d3b5a | 23 | vector<Tool*> tools; |
Michael J. Spencer |
2:1df0b61d3b5a | 24 | }; |
Michael J. Spencer |
2:1df0b61d3b5a | 25 | |
Michael J. Spencer |
2:1df0b61d3b5a | 26 | |
Michael J. Spencer |
2:1df0b61d3b5a | 27 | |
Michael J. Spencer |
2:1df0b61d3b5a | 28 | #endif |