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

Method GetSession

Remoting/Core/vtkProcessModule.cxx:478–488  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

476
477//----------------------------------------------------------------------------
478vtkSession* vtkProcessModule::GetSession(vtkIdType sessionID)
479{
480 vtkProcessModuleInternals::MapOfSessions::iterator iter =
481 this->Internals->Sessions.find(sessionID);
482 if (iter != this->Internals->Sessions.end())
483 {
484 return iter->second.GetPointer();
485 }
486
487 return nullptr;
488}
489
490//----------------------------------------------------------------------------
491vtkIdType vtkProcessModule::GetSessionID(vtkSession* session)

Callers 1

CopyFromObjectMethod · 0.45

Calls 5

GetActiveSessionMethod · 0.95
findMethod · 0.45
endMethod · 0.45
GetPointerMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected