MCPcopy Create free account
hub / github.com/MITK/MITK / UnRegisterExtraFactory

Method UnRegisterExtraFactory

Modules/Core/src/mitkCoreObjectFactory.cpp:58–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void mitk::CoreObjectFactory::UnRegisterExtraFactory(CoreObjectFactoryBase *factory)
59{
60 MITK_DEBUG << "CoreObjectFactory: un-registering extra factory of type " << factory->GetNameOfClass();
61 try
62 {
63 m_ExtraFactories.erase(factory);
64 }
65 catch ( const std::exception &e )
66 {
67 MITK_ERROR << "Caught exception while unregistering: " << e.what();
68 }
69}
70
71mitk::CoreObjectFactory::Pointer mitk::CoreObjectFactory::GetInstance()
72{

Calls 3

whatMethod · 0.80
GetNameOfClassMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected