fw4spl
|
Starts a given bundle. More...
#include <Starter.hpp>
Public Member Functions | |
FWRUNTIME_API | Starter (const std::string &identifier, const Version &version=Version()) |
Constructor. More... | |
void | apply () |
Applies the starter on the system. 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 Starter.hpp.
fwRuntime::profile::Starter::Starter | ( | const std::string & | identifier, |
const Version & | version = Version() |
||
) |
Constructor.
[in] | identifier | a string containing a bundle identifier |
Definition at line 25 of file Starter.cpp.
void fwRuntime::profile::Starter::apply | ( | ) |
Applies the starter on the system.
Definition at line 33 of file Starter.cpp.
References fwRuntime::Runtime::findEnabledBundle(), fwRuntime::Runtime::getDefault(), m_identifier, m_version, SLM_FATAL, SLM_FATAL_IF, SLM_WARN, and fwRuntime::Version::string().