MCPcopy Create free account
hub / github.com/Kitware/VTK / ExitCallback

Method ExitCallback

Rendering/UI/vtkWin32RenderWindowInteractor.cxx:1231–1243  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1229
1230//------------------------------------------------------------------------------
1231void vtkWin32RenderWindowInteractor::ExitCallback()
1232{
1233 if (this->HasObserver(vtkCommand::ExitEvent))
1234 {
1235 this->InvokeEvent(vtkCommand::ExitEvent, nullptr);
1236 }
1237 else if (this->ClassExitMethod)
1238 {
1239 (*this->ClassExitMethod)(this->ClassExitMethodArg);
1240 }
1241
1242 this->TerminateApp();
1243}
1244VTK_ABI_NAMESPACE_END

Callers 2

DispatchEventMethod · 0.45
vtkHandleMessage2Function · 0.45

Calls 3

TerminateAppMethod · 0.95
HasObserverMethod · 0.80
InvokeEventMethod · 0.80

Tested by

no test coverage detected