fw4spl
fwRuntime::profile::Initializer Class Reference

Starts a given bundle. More...

#include <Initializer.hpp>

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

Public Member Functions

FWRUNTIME_API Initializer (const std::string &identifier, const Version &version=Version())
 Constructor. More...
 
void apply ()
 Applies the initializer on the bundle. More...
 

Protected Attributes

const std::string m_identifier
 the bundle identifier
 
const Version m_version
 the bundle version
 

Detailed Description

Starts a given bundle.

Definition at line 26 of file Initializer.hpp.

Constructor & Destructor Documentation

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

Constructor.

Parameters
[in]identifiera string containing a bundle identifier

Definition at line 24 of file Initializer.cpp.

Member Function Documentation

void fwRuntime::profile::Initializer::apply ( )

Applies the initializer on the bundle.

Remarks
This method should be called directly.

Definition at line 32 of file Initializer.cpp.

References fwRuntime::Runtime::findEnabledBundle(), fwRuntime::Runtime::getDefault(), m_identifier, m_version, SLM_FATAL, SLM_FATAL_IF, and SPTR.

+ Here is the call graph for this function:


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