TargetManager

Dependents:   TargetManagerManualTest NerfUSTarget

Committer:
dupm2216
Date:
Mon Mar 27 22:25:43 2017 +0000
Revision:
6:b6ecf23f24ce
Parent:
3:70212b0e0939
Make it work with local build; ; Move mbed dependant sources to mbed_source. This way, the local build will ignore them. Changed TargetManager to TargetManagerInterface. This library won't give a working TargetManager, this will be the user's job.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dupm2216 3:70212b0e0939 1 #ifndef TARGET_MISSED_CALLBACK_HPP
dupm2216 3:70212b0e0939 2 #define TARGET_MISSED_CALLBACK_HPP
dupm2216 3:70212b0e0939 3
dupm2216 3:70212b0e0939 4 #include "NerfusCallbackInterface.hpp"
dupm2216 6:b6ecf23f24ce 5 #include "TargetManagerInterface.hpp"
dupm2216 3:70212b0e0939 6
dupm2216 3:70212b0e0939 7 class TargetMissedCallback : public NerfusCallbackInterface
dupm2216 3:70212b0e0939 8 {
dupm2216 3:70212b0e0939 9 public:
dupm2216 6:b6ecf23f24ce 10 TargetMissedCallback(TargetManagerInterface& target_manager, int id);
dupm2216 3:70212b0e0939 11 virtual void call();
dupm2216 3:70212b0e0939 12
dupm2216 3:70212b0e0939 13 private:
dupm2216 6:b6ecf23f24ce 14 TargetManagerInterface& target_manager;
dupm2216 3:70212b0e0939 15 const int id;
dupm2216 3:70212b0e0939 16 };
dupm2216 3:70212b0e0939 17
dupm2216 3:70212b0e0939 18 #endif