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
include/TargetManagerInterface.hpp@10:1b5440d9226c, 2017-04-11 (annotated)
- Committer:
- GaiSensei
- Date:
- Tue Apr 11 03:47:38 2017 +0000
- Revision:
- 10:1b5440d9226c
- Parent:
- 8:c8f69a35a9a9
Calibrate servomotors
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| dupm2216 | 6:b6ecf23f24ce | 1 | #ifndef TARGET_MANAGER_INTERFACE_HPP |
| dupm2216 | 6:b6ecf23f24ce | 2 | #define TARGET_MANAGER_INTERFACE_HPP |
| dupm2216 | 6:b6ecf23f24ce | 3 | |
| Maxime Dupuis |
8:c8f69a35a9a9 | 4 | #include <vector> |
| Maxime Dupuis |
8:c8f69a35a9a9 | 5 | #include "stdint.h" |
| Maxime Dupuis |
8:c8f69a35a9a9 | 6 | |
| dupm2216 | 6:b6ecf23f24ce | 7 | class TargetManagerInterface |
| dupm2216 | 6:b6ecf23f24ce | 8 | { |
| dupm2216 | 6:b6ecf23f24ce | 9 | public: |
| Maxime Dupuis |
8:c8f69a35a9a9 | 10 | virtual void execute(const std::vector<uint8_t>& target_info_bytes, int *address) = 0; |
| Maxime Dupuis |
8:c8f69a35a9a9 | 11 | |
| dupm2216 | 6:b6ecf23f24ce | 12 | virtual void target_hit(int target_number) = 0; |
| Maxime Dupuis |
8:c8f69a35a9a9 | 13 | virtual void target_missed(int target_number) = 0; |
| dupm2216 | 6:b6ecf23f24ce | 14 | }; |
| dupm2216 | 6:b6ecf23f24ce | 15 | |
| dupm2216 | 6:b6ecf23f24ce | 16 | #endif |