fw4spl
|
Starts a given bundle. More...
#include <Uninitializer.hpp>
Public Member Functions | |
FWRUNTIME_API | Uninitializer (const std::string &identifier, const Version &version=Version()) |
Constructor. More... | |
void | apply () |
Applies the uninitializer on the bundle. More... | |
Protected Attributes | |
const std::string | m_identifier |
the bundle identifier | |
const Version | m_version |
the bundle version | |
Friends | |
class | Stopper |
Starts a given bundle.
Definition at line 26 of file Uninitializer.hpp.
fwRuntime::profile::Uninitializer::Uninitializer | ( | const std::string & | identifier, |
const Version & | version = Version() |
||
) |
Constructor.
[in] | identifier | a string containing a bundle identifier |
Definition at line 22 of file Uninitializer.cpp.
void fwRuntime::profile::Uninitializer::apply | ( | ) |
Applies the uninitializer on the bundle.
Definition at line 30 of file Uninitializer.cpp.
References fwRuntime::Runtime::findEnabledBundle(), fwRuntime::Runtime::getDefault(), m_identifier, m_version, SLM_FATAL, and SLM_FATAL_IF.