dfti::Logger Class Reference
Receives data and logs to file. More...
#include <logger.hh>
Inheritance diagram for dfti::Logger:

Collaboration diagram for dfti::Logger:

Public Slots | |
| void | flush (void) |
| Slot to flush the data buffer. | |
| void | getAPData (APData data) |
| Slot to receive data from the autopilot. | |
| void | getRIOData (RIOData data) |
| Slot to receive data from the RIO. | |
| void | getUADCData (uADCData data) |
| Slot to receive data from the Micro Air Data Computer. | |
| void | getVN200Data (VN200Data data) |
| Slot to receive data from the VN-200 INS. | |
| void | gpsAvailable (bool flag) |
| Slot to see if GPS is available. | |
| void | writeData (void) |
| Slot to write data. | |
Public Member Functions | |
| Logger (Settings *_settings, QObject *_parent=nullptr) | |
| Constructor. More... | |
| ~Logger () | |
| Dtor. | |
| void | enableAutopilot (Autopilot *ap) |
| Enable Autopilot Sensor. More... | |
| void | enableUADC (uADC *adc) |
| Enable Micro Air Data Computer Sensor. More... | |
| void | enableRIO (RIO *rio) |
| Enable Remote I/O unit. More... | |
| void | enableVN200 (VN200 *ins) |
| Enable VN-200 INS Sensor. More... | |
| void | start (void) |
| Start logging. More... | |
Detailed Description
Receives data and logs to file.
Constructor & Destructor Documentation
|
explicit |
Constructor.
- Parameters
-
_settings Pointer to Settings object. _parent Pointer to parent QObject.
Member Function Documentation
| void dfti::Logger::enableAutopilot | ( | Autopilot * | ap | ) |
| void dfti::Logger::enableRIO | ( | RIO * | rio | ) |
Enable Remote I/O unit.
- Parameters
-
rio Pointer to RIO object.
| void dfti::Logger::enableUADC | ( | uADC * | adc | ) |
Enable Micro Air Data Computer Sensor.
- Parameters
-
adc Pointer to uADC object.
| void dfti::Logger::enableVN200 | ( | VN200 * | ins | ) |
Enable VN-200 INS Sensor.
- Parameters
-
ins Pointer to VN200 object.
| void dfti::Logger::start | ( | void | ) |
Start logging.
Connects QTimers to the flush and writeData slots.
The documentation for this class was generated from the following files:

1.8.11