libzypp  13.10.6
zypp::target::CommitPlugins Class Reference

Helper for commit plugin execution. More...

Inheritance diagram for zypp::target::CommitPlugins:

Public Member Functions

 CommitPlugins ()
 Default ctor: Empty plugin list. More...
 
 ~CommitPlugins ()
 Dtor: Send PLUGINEND message and close plugins. More...
 
void load (const Pathname &path_r)
 Find and launch plugins sending PLUGINSTART message. More...
 

Private Member Functions

void doLoad (const PathInfo &pi_r)
 

Private Attributes

std::list< PluginScript_scripts
 

Detailed Description

Helper for commit plugin execution.

Definition at line 71 of file TargetImpl.cc.

Constructor & Destructor Documentation

zypp::target::CommitPlugins::CommitPlugins ( )
inline

Default ctor: Empty plugin list.

Definition at line 77 of file TargetImpl.cc.

zypp::target::CommitPlugins::~CommitPlugins ( )
inline

Dtor: Send PLUGINEND message and close plugins.

Definition at line 81 of file TargetImpl.cc.

Member Function Documentation

void zypp::target::CommitPlugins::load ( const Pathname &  path_r)
inline

Find and launch plugins sending PLUGINSTART message.

If path_r is a directory all executable files whithin are expected to be plugins. Otherwise path_r must point to an executable plugin.

Definition at line 109 of file TargetImpl.cc.

void zypp::target::CommitPlugins::doLoad ( const PathInfo &  pi_r)
inlineprivate

Definition at line 141 of file TargetImpl.cc.

Member Data Documentation

std::list<PluginScript> zypp::target::CommitPlugins::_scripts
private

Definition at line 169 of file TargetImpl.cc.


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