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.
Dependents: TargetManagerManualTest NerfUSTarget
Diff: include/TargetHitCallback.hpp
- Revision:
- 3:70212b0e0939
- Child:
- 6:b6ecf23f24ce
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/include/TargetHitCallback.hpp Sun Mar 12 00:33:25 2017 +0000
@@ -0,0 +1,18 @@
+#ifndef TARGET_HIT_CALLBACK_HPP
+#define TARGET_HIT_CALLBACK_HPP
+
+#include "NerfusCallbackInterface.hpp"
+#include "TargetManager.hpp"
+
+class TargetHitCallback : public NerfusCallbackInterface
+{
+ public:
+ TargetHitCallback(TargetManager& target_manager, int id);
+ virtual void call();
+
+ private:
+ TargetManager& target_manager;
+ const int id;
+};
+
+#endif