
Refactoring and other updates
Dependencies: BLE_API mbed nRF51822
Fork of nRF51822_SimpleChat by
ControllerFactory.hpp@7:806b08205b25, 2017-05-10 (annotated)
- Committer:
- carbune92
- Date:
- Wed May 10 07:15:19 2017 +0000
- Revision:
- 7:806b08205b25
- Parent:
- 5:fca87573ed92
fixed minor issues
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
carbune92 | 3:b6e4e5529a52 | 1 | #ifndef CONTROLLERFACTORY_H |
carbune92 | 3:b6e4e5529a52 | 2 | #define CONTROLLERFACTORY_H |
carbune92 | 3:b6e4e5529a52 | 3 | |
carbune92 | 3:b6e4e5529a52 | 4 | #include "PIDController.hpp" |
carbune92 | 3:b6e4e5529a52 | 5 | #include "RSTController.hpp" // to be decommented after correcting |
carbune92 | 3:b6e4e5529a52 | 6 | #include "CmdEnums.hpp" |
carbune92 | 3:b6e4e5529a52 | 7 | |
carbune92 | 3:b6e4e5529a52 | 8 | //typedef char uint8_t; //only for compiling |
carbune92 | 3:b6e4e5529a52 | 9 | |
carbune92 | 3:b6e4e5529a52 | 10 | class ControllerFactory { |
carbune92 | 3:b6e4e5529a52 | 11 | public: |
carbune92 | 5:fca87573ed92 | 12 | void createController (Controller**, SysObjTypes); |
carbune92 | 3:b6e4e5529a52 | 13 | void createControllerParams (ControllerParams&, SysObjTypes&, uint8_t*, int); |
carbune92 | 3:b6e4e5529a52 | 14 | }; |
carbune92 | 3:b6e4e5529a52 | 15 | |
carbune92 | 3:b6e4e5529a52 | 16 | #endif |