MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / refresh

Method refresh

src/Base/Console.cpp:305–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303}
304
305void ConsoleSingleton::refresh() const
306{
307 if (_bCanRefresh) {
308 RefreshHandler handler;
309 {
310 std::lock_guard<std::mutex> lock(_handlerMutex);
311 handler = _refreshHandler;
312 }
313 if (handler) {
314 handler();
315 return;
316 }
317
318 if (const Bridge* bridge = getBridge()) {
319 bridge->refresh();
320 }
321 }
322}
323
324void ConsoleSingleton::enableRefresh(const bool enable)
325{

Callers 3

TESTFunction · 0.45
SetUpMethod · 0.45
TearDownMethod · 0.45

Calls

no outgoing calls

Tested by 2

SetUpMethod · 0.36
TearDownMethod · 0.36