MCPcopy Create free account
hub / github.com/Kitware/ParaView / end

Method end

Qt/Python/pqPythonShell.cxx:138–150  ·  view source on GitHub ↗

* Must match a `begin` and should be called when done with Python snippet * processing. Undoes all overrides set up in `begin`. */

Source from the content-addressed store, hash-verified

136 * processing. Undoes all overrides set up in `begin`.
137 */
138 void end()
139 {
140 this->ExecutionCounter--;
141 assert(this->ExecutionCounter >= 0);
142 if (this->ExecutionCounter == 0)
143 {
144 vtkPythonInterpreter::SetCaptureStdin(this->OldCapture);
145 this->OldCapture = false;
146 vtkOutputWindow::SetInstance(this->OldInstance);
147 this->OldInstance = nullptr;
148 Q_EMIT this->Parent->executing(false);
149 }
150 }
151
152 bool isExecuting() const { return this->ExecutionCounter > 0; }
153 bool isInterpreterInitialized() const { return this->InterpreterInitialized; }

Callers 15

pqSettingsDialogMethod · 0.45
~pqInternalsMethod · 0.45
updatePropertyImplMethod · 0.45
removeMethod · 0.45
statusMethod · 0.45
updateColumnDataMethod · 0.45
updateItemDataMethod · 0.45
writeKeyFrameDataMethod · 0.45
updateDecorationsMethod · 0.45
reloadMethod · 0.45
pqInternalMethod · 0.45

Calls

no outgoing calls

Tested by 3

ClearServerMethod · 0.36
InitializeMethod · 0.36
UpdateHostsMethod · 0.36