|
API Documentation v0.0.1
|
DCS Connection Monitor for OpenHornet. More...
#include <DcsBios.h>Go to the source code of this file.
Functions | |
| bool | checkDcsRunning () |
| Check if DCS World is currently running and sending data. | |
| void | onDcsUpdateCounterChange (unsigned int newValue) |
| DcsBios::IntegerBuffer | dcsUpdateCounterBuffer (0xfffe, 0x00ff, 0, onDcsUpdateCounterChange) |
DCS Connection Monitor for OpenHornet.
This function monitors DCS-BIOS communication and returns TRUE as long as DCS is running; FALSE if DCS has stopped sending data, after a timeout.
Definition in file DcsRunningChecker.h.
| bool checkDcsRunning | ( | ) |
Check if DCS World is currently running and sending data.
Monitors DCS-BIOS heartbeat counter to determine if DCS is actively communicating. Call this function regularly in your main loop.
Definition at line 29 of file DcsRunningChecker.h.
| void onDcsUpdateCounterChange | ( | unsigned int | newValue | ) |
Definition at line 47 of file DcsRunningChecker.h.