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
source/TargetMissedCallback.cpp@3:70212b0e0939, 2017-03-12 (annotated)
- Committer:
- dupm2216
- Date:
- Sun Mar 12 00:33:25 2017 +0000
- Revision:
- 3:70212b0e0939
- Child:
- 6:b6ecf23f24ce
Decouple Bumper from TargetManager
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| dupm2216 | 3:70212b0e0939 | 1 | #include "TargetMissedCallback.hpp" |
| dupm2216 | 3:70212b0e0939 | 2 | |
| dupm2216 | 3:70212b0e0939 | 3 | TargetMissedCallback::TargetMissedCallback(TargetManager& target_manager, const int id) : |
| dupm2216 | 3:70212b0e0939 | 4 | target_manager(target_manager), |
| dupm2216 | 3:70212b0e0939 | 5 | id(id) |
| dupm2216 | 3:70212b0e0939 | 6 | { |
| dupm2216 | 3:70212b0e0939 | 7 | } |
| dupm2216 | 3:70212b0e0939 | 8 | |
| dupm2216 | 3:70212b0e0939 | 9 | void TargetMissedCallback::call() |
| dupm2216 | 3:70212b0e0939 | 10 | { |
| dupm2216 | 3:70212b0e0939 | 11 | target_manager.target_missed(id); |
| dupm2216 | 3:70212b0e0939 | 12 | } |