7 #include "fwRuntime/profile/Uninitializer.hpp" 9 #include "fwRuntime/Bundle.hpp" 10 #include "fwRuntime/Runtime.hpp" 12 #include <fwCore/base.hpp> 23 m_identifier( identifier ),
37 bundle->uninitialize();
39 catch(
const std::exception& e )
static FWRUNTIME_API Runtime * getDefault()
Retrieves the default runtime instance.
const std::string m_identifier
the bundle identifier
FWRUNTIME_API std::shared_ptr< Bundle > findEnabledBundle(const std::string &identifier, const Version &version=Version()) const
Retrieves the enabled bundle for the specified idenfier.
FWRUNTIME_API Uninitializer(const std::string &identifier, const Version &version=Version())
Constructor.
The namespace fwRuntime contains classes to manage bundle, configuration element, extension point in ...
#define SLM_FATAL(message)
const Version m_version
the bundle version
#define SLM_FATAL_IF(message, cond)
Holds version information for libraries and bundles.
void apply()
Applies the uninitializer on the bundle.