NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | List of all members
niftk::IGIDataSourceFactoryServiceRAII Class Reference

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...
 

Detailed Description

RAII object to retrieve a specific IGIDataSourceFactoryServiceI subclass.

Note: All errors should thrown as mitk::Exception or sub-classes thereof.

Constructor & Destructor Documentation

niftk::IGIDataSourceFactoryServiceRAII::IGIDataSourceFactoryServiceRAII ( const QString &  factoryName)

Obtains factory service or throws mitk::Exception.

niftk::IGIDataSourceFactoryServiceRAII::~IGIDataSourceFactoryServiceRAII ( )
virtual

Releases factory service.

Member Function Documentation

IGIDataSourceI::Pointer niftk::IGIDataSourceFactoryServiceRAII::CreateService ( mitk::DataStorage::Pointer  dataStorage,
const IGIDataSourceProperties properties 
)

Can be used to create instances of the requested IGIDataSourceServiceI.


The documentation for this class was generated from the following files: