libzypp  12.16.5
zypp::target::CommitPlugins Class Reference

Helper for commit plugin execution. More...

Inheritance diagram for zypp::target::CommitPlugins:
NonCopyable

Public Member Functions

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

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 74 of file TargetImpl.cc.

Constructor & Destructor Documentation

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

Default ctor: Empty plugin list.

Definition at line 80 of file TargetImpl.cc.

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

Dtor: Send PLUGINEND message and close plugins.

Definition at line 84 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 112 of file TargetImpl.cc.

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

Definition at line 144 of file TargetImpl.cc.

Member Data Documentation

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

Definition at line 172 of file TargetImpl.cc.


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