fw4spl
fwRuntime::profile::Starter Class Reference

Starts a given bundle. More...

#include <Starter.hpp>

+ Inheritance diagram for fwRuntime::profile::Starter:
+ Collaboration diagram for fwRuntime::profile::Starter:

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
 

Detailed Description

Starts a given bundle.

Definition at line 26 of file Starter.hpp.

Constructor & Destructor Documentation

fwRuntime::profile::Starter::Starter ( const std::string &  identifier,
const Version version = Version() 
)

Constructor.

Parameters
[in]identifiera string containing a bundle identifier

Definition at line 25 of file Starter.cpp.

Member Function Documentation

void fwRuntime::profile::Starter::apply ( )

Applies the starter on the system.

Remarks
This method should be called directly.

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().

+ Here is the call graph for this function:


The documentation for this class was generated from the following files: