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

Function NotifyInterpreters

Utilities/PythonInterpreter/vtkPythonInterpreter.cxx:121–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119std::vector<std::string> PythonPaths;
120
121void NotifyInterpreters(unsigned long eventid, void* calldata = nullptr)
122{
123 std::vector<vtkWeakPointer<vtkPythonInterpreter>>::iterator iter;
124 for (iter = GlobalInterpreters->begin(); iter != GlobalInterpreters->end(); ++iter)
125 {
126 if (iter->GetPointer())
127 {
128 iter->GetPointer()->InvokeEvent(eventid, calldata);
129 }
130 }
131}
132
133inline void vtkPrependPythonPath(const char* pathtoadd)
134{

Callers 6

InitializeWithArgsMethod · 0.85
FinalizeMethod · 0.85
RunSimpleStringMethod · 0.85
WriteStdOutMethod · 0.85
WriteStdErrMethod · 0.85
ReadStdinMethod · 0.85

Calls 4

InvokeEventMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
GetPointerMethod · 0.45

Tested by

no test coverage detected