Exemplo n.º 1
0
void
XCSoarInterface::ReceiveBlackboard()
{
  ScopeLock protect(mutexBlackboard);
  ReadBlackboardBasic(device_blackboard.Basic());
  ReadBlackboardCalculated(device_blackboard.Calculated());
}
Exemplo n.º 2
0
void XCSoarInterface::ReceiveBlackboard() {
  ScopeLock protect(mutexBlackboard);
  ReadBlackboardBasic(device_blackboard.Basic());
  ReadBlackboardCalculated(device_blackboard.Calculated());

  if (Calculated().TeammateCodeValid) {
    SetSettingsComputer().TeammateCodeValid= true;
  }
}
Exemplo n.º 3
0
void
XCSoarInterface::ReceiveCalculated()
{
  {
    ScopeLock protect(device_blackboard->mutex);

    ReadBlackboardCalculated(device_blackboard->Calculated());
    device_blackboard->ReadComputerSettings(GetComputerSettings());
  }

  BroadcastCalculatedUpdate();
}