Beispiel #1
0
void
GlueMapWindow::ExchangeBlackboard()
{
  /* copy device_blackboard to MapWindow */

  device_blackboard.mutex.Lock();
  ReadBlackboard(device_blackboard.Basic(), device_blackboard.Calculated());
  device_blackboard.mutex.Unlock();

#ifndef ENABLE_OPENGL
  next_mutex.Lock();
  ReadSettingsMap(next_settings_map);
  ReadSettingsComputer(next_settings_computer);
  next_mutex.Unlock();
#endif
}
Beispiel #2
0
void
GlueMapWindow::ExchangeBlackboard()
{
  /* copy device_blackboard to MapWindow */

  device_blackboard->mutex.Lock();
  ReadBlackboard(device_blackboard->Basic(), device_blackboard->Calculated());
  device_blackboard->mutex.Unlock();

#ifndef ENABLE_OPENGL
  next_mutex.Lock();
  ReadMapSettings(next_settings_map);
  ReadComputerSettings(next_settings_computer);
  ReadUIState(next_ui_state);
  next_mutex.Unlock();
#endif
}