fw4spl
fwRuntime::profile::Uninitializer Class Reference

Starts a given bundle. More...

#include <Uninitializer.hpp>

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

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
 

Detailed Description

Starts a given bundle.

Definition at line 26 of file Uninitializer.hpp.

Constructor & Destructor Documentation

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

Constructor.

Parameters
[in]identifiera string containing a bundle identifier

Definition at line 22 of file Uninitializer.cpp.

Member Function Documentation

void fwRuntime::profile::Uninitializer::apply ( )

Applies the uninitializer on the bundle.

Remarks
This method should be called directly.

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.

+ Here is the call graph for this function:


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