MCPcopy Create free account
hub / github.com/MITK/MITK / Description

Function Description

Modules/PythonSegmentation/src/mitknnInteractiveTool.cpp:107–111  ·  view source on GitHub ↗

mitk::Exception::GetDescription() may return nullptr; treat that as an empty message so the remote-error helpers do not have to repeat the null-guard.

Source from the content-addressed store, hash-verified

105 // mitk::Exception::GetDescription() may return nullptr; treat that as an empty
106 // message so the remote-error helpers do not have to repeat the null-guard.
107 std::string Description(const mitk::Exception& e)
108 {
109 const char* description = e.GetDescription();
110 return description != nullptr ? description : "";
111 }
112
113 // Heartbeat cadence: beat at half the server's liveness timeout, but never less
114 // often than every 5 s. Mirrors the client library's own _heartbeat_loop so a

Callers 5

ResetInteractionsMethod · 0.85
UndoLastInteractionMethod · 0.85
SetAutoZoomMethod · 0.85
DoUpdatePreviewMethod · 0.85

Calls 1

GetDescriptionMethod · 0.45

Tested by

no test coverage detected