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

Method RegisterObject

Serialization/Manager/vtkObjectManager.cxx:352–362  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

350
351//------------------------------------------------------------------------------
352vtkTypeUInt32 vtkObjectManager::RegisterObject(vtkSmartPointer<vtkObjectBase> objectBase)
353{
354 if (objectBase == nullptr)
355 {
356 return 0;
357 }
358 this->Context->KeepAlive(this->OWNERSHIP_KEY(), objectBase);
359 vtkTypeUInt32 identifier = 0;
360 this->Context->RegisterObject(objectBase, identifier);
361 return identifier;
362}
363
364//------------------------------------------------------------------------------
365bool vtkObjectManager::UnRegisterObject(vtkTypeUInt32 identifier)

Callers 15

vtkSessionCreateObjectFunction · 0.45
serializeMethod · 0.45
serializeMethod · 0.45
testMethod · 0.45
serializeMethod · 0.45
test1Method · 0.45
serializeMethod · 0.45
serializeMethod · 0.45
serializeMethod · 0.45
serializeFunction · 0.45
serializeMethod · 0.45
test2Method · 0.45

Calls 1

KeepAliveMethod · 0.80

Tested by 15

serializeMethod · 0.36
serializeMethod · 0.36
testMethod · 0.36
serializeMethod · 0.36
test1Method · 0.36
serializeMethod · 0.36
serializeMethod · 0.36
serializeMethod · 0.36
serializeFunction · 0.36
serializeMethod · 0.36
test2Method · 0.36
test3Method · 0.36