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

Method WriteStdOut

Utilities/PythonInterpreter/vtkPythonInterpreter.cxx:909–920  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

907
908//------------------------------------------------------------------------------
909void vtkPythonInterpreter::WriteStdOut(const char* txt)
910{
911 if (vtkPythonInterpreter::ConsoleBuffering)
912 {
913 vtkPythonInterpreter::StdOutBuffer += std::string(txt);
914 }
915 else
916 {
917 vtkOutputWindow::GetInstance()->DisplayText(txt);
918 NotifyInterpreters(vtkCommand::SetOutputEvent, const_cast<char*>(txt));
919 }
920}
921
922//------------------------------------------------------------------------------
923void vtkPythonInterpreter::FlushStdOut() {}

Callers

nothing calls this directly

Calls 3

NotifyInterpretersFunction · 0.85
stringClass · 0.50
DisplayTextMethod · 0.45

Tested by

no test coverage detected