fw4spl
fwRuntime::profile::Activater Class Reference

Activates a given bundle with optional parameters. More...

#include <Activater.hpp>

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

Public Member Functions

FWRUNTIME_API Activater (const std::string &identifier, const std::string &version)
 Constructor. More...
 
FWRUNTIME_API void addParameter (const std::string &identifier, const std::string &value)
 Adds a new parameter to the activater. More...
 
FWRUNTIME_API void addDisableExtensionPoint (const std::string &identifier)
 Adds a new disable extension point to the activater. More...
 
FWRUNTIME_API void addDisableExtension (const std::string &identifier)
 Adds a new disable extension to the activater. More...
 
void apply ()
 Applies the activater on the system. More...
 

Detailed Description

Activates a given bundle with optional parameters.

Date
2007-2009.

Definition at line 34 of file Activater.hpp.

Constructor & Destructor Documentation

fwRuntime::profile::Activater::Activater ( const std::string &  identifier,
const std::string &  version 
)

Constructor.

Parameters
[in]identifiera string containing a bundle identifier
[in]versiona string a bundle version

Definition at line 31 of file Activater.cpp.

Member Function Documentation

void fwRuntime::profile::Activater::addDisableExtension ( const std::string &  identifier)

Adds a new disable extension to the activater.

Parameters
[in]identifiera string containing the parameter name

Definition at line 53 of file Activater.cpp.

void fwRuntime::profile::Activater::addDisableExtensionPoint ( const std::string &  identifier)

Adds a new disable extension point to the activater.

Parameters
[in]identifiera string containing the parameter name

Definition at line 46 of file Activater.cpp.

void fwRuntime::profile::Activater::addParameter ( const std::string &  identifier,
const std::string &  value 
)

Adds a new parameter to the activater.

Parameters
[in]identifiera string containing the parameter name
[in]valuea string containing the parameter value

Definition at line 39 of file Activater.cpp.

void fwRuntime::profile::Activater::apply ( )

Applies the activater on the system.

Remarks
This method should be called directly.

Definition at line 60 of file Activater.cpp.

References fwRuntime::Runtime::findBundle(), fwRuntime::Runtime::getDefault(), OSLM_ERROR, SLM_FATAL_IF, and fwRuntime::Version::string().

+ Here is the call graph for this function:


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