7 #include "fwRuntime/profile/Starter.hpp" 9 #include "fwRuntime/Bundle.hpp" 10 #include "fwRuntime/Runtime.hpp" 12 #include <fwCore/base.hpp> 26 m_identifier( identifier ),
41 if(!bundle->isStarted())
50 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.
void apply()
Applies the starter on the system.
const Version m_version
the bundle version
#define SLM_WARN(message)
The namespace fwRuntime contains classes to manage bundle, configuration element, extension point in ...
#define SLM_FATAL(message)
#define SLM_FATAL_IF(message, cond)
FWRUNTIME_API Starter(const std::string &identifier, const Version &version=Version())
Constructor.
Holds version information for libraries and bundles.
FWRUNTIME_API const std::string string() const
String converter.
const std::string m_identifier
the bundle identifier