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