29 #ifndef XPLRA_REQUESTQUEUE_H
30 #define XPLRA_REQUESTQUEUE_H
33 #include <hu/varadiistvan/scpl/Mutex.h>
34 #include <hu/varadiistvan/scpl/CondVar.h>
36 #include <XPLMProcessing.h>
44 #define USE_SCHEDULE_FLIGHTLOOP 0
74 #if !USE_SCHEDULE_FLIGHTLOOP
84 static float flightLoop(
float inElapsedSinceLastCall,
85 float inElapsedTimeSinceLastFlightLoop,
86 int inCounter,
void* inRefCon);
88 #if USE_SCHEDULE_FLIGHTLOOP
92 XPLMFlightLoopID flightLoopID;
98 hu::varadiistvan::scpl::Mutex
mutex;
static constexpr float flightLoopInterval
hu::varadiistvan::scpl::CondVar requestsDone
bool execute(Request *request)
std::vector< Request * > requests_t
static float flightLoop(float inElapsedSinceLastCall, float inElapsedTimeSinceLastFlightLoop, int inCounter, void *inRefCon)
hu::varadiistvan::scpl::Mutex mutex
Python client module for the X-Plane Remote Access plugin.