libzypp
10.5.0
|
Helper for commit plugin execution. More...
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 |
Helper for commit plugin execution.
Definition at line 74 of file TargetImpl.cc.
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.
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 | ) | [inline, private] |
Definition at line 144 of file TargetImpl.cc.
std::list<PluginScript> zypp::target::CommitPlugins::_scripts [private] |
Definition at line 168 of file TargetImpl.cc.