void XCSoarInterface::ReceiveBlackboard() { ScopeLock protect(mutexBlackboard); ReadBlackboardBasic(device_blackboard.Basic()); ReadBlackboardCalculated(device_blackboard.Calculated()); }
void XCSoarInterface::ReceiveBlackboard() { ScopeLock protect(mutexBlackboard); ReadBlackboardBasic(device_blackboard.Basic()); ReadBlackboardCalculated(device_blackboard.Calculated()); if (Calculated().TeammateCodeValid) { SetSettingsComputer().TeammateCodeValid= true; } }
void XCSoarInterface::ReceiveCalculated() { { ScopeLock protect(device_blackboard->mutex); ReadBlackboardCalculated(device_blackboard->Calculated()); device_blackboard->ReadComputerSettings(GetComputerSettings()); } BroadcastCalculatedUpdate(); }