NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
RAII object to retrieve a specific IGIDataSourceFactoryServiceI subclass. More...
Public Member Functions | |
IGIDataSourceFactoryServiceRAII (const QString &factoryName) | |
Obtains factory service or throws mitk::Exception. More... | |
virtual | ~IGIDataSourceFactoryServiceRAII () |
Releases factory service. More... | |
IGIDataSourceI::Pointer | CreateService (mitk::DataStorage::Pointer dataStorage, const IGIDataSourceProperties &properties) |
Can be used to create instances of the requested IGIDataSourceServiceI. More... | |
RAII object to retrieve a specific IGIDataSourceFactoryServiceI subclass.
Note: All errors should thrown as mitk::Exception or sub-classes thereof.
niftk::IGIDataSourceFactoryServiceRAII::IGIDataSourceFactoryServiceRAII | ( | const QString & | factoryName | ) |
Obtains factory service or throws mitk::Exception.
|
virtual |
Releases factory service.
IGIDataSourceI::Pointer niftk::IGIDataSourceFactoryServiceRAII::CreateService | ( | mitk::DataStorage::Pointer | dataStorage, |
const IGIDataSourceProperties & | properties | ||
) |
Can be used to create instances of the requested IGIDataSourceServiceI.