libzypp 9.41.1

zypp::PluginExecutor::Impl Class Reference

PluginExecutor implementation. More...

Inheritance diagram for zypp::PluginExecutor::Impl:
NonCopyable

List of all members.

Public Member Functions

 Impl ()
 ~Impl ()
bool empty () const
size_t size () const
void load (const Pathname &path_r)
void send (const PluginFrame &frame_r)
const std::list< PluginScriptscripts () const

Private Member Functions

void doLoad (const PathInfo &pi_r)
 Launch a plugin sending PLUGINSTART message.
PluginFrame doSend (PluginScript &script_r, const PluginFrame &frame_r)

Private Attributes

std::list< PluginScript_scripts

Detailed Description

PluginExecutor implementation.

Definition at line 31 of file PluginExecutor.cc.


Constructor & Destructor Documentation

zypp::PluginExecutor::Impl::Impl ( ) [inline]

Definition at line 34 of file PluginExecutor.cc.

zypp::PluginExecutor::Impl::~Impl ( ) [inline]

Definition at line 37 of file PluginExecutor.cc.

References empty(), and send().


Member Function Documentation

bool zypp::PluginExecutor::Impl::empty ( ) const [inline]

Definition at line 44 of file PluginExecutor.cc.

References _scripts.

Referenced by ~Impl().

size_t zypp::PluginExecutor::Impl::size ( ) const [inline]

Definition at line 47 of file PluginExecutor.cc.

References _scripts.

void zypp::PluginExecutor::Impl::load ( const Pathname &  path_r) [inline]

Definition at line 50 of file PluginExecutor.cc.

References DBG, doLoad(), for_, zypp::filesystem::readdir(), and WAR.

void zypp::PluginExecutor::Impl::send ( const PluginFrame frame_r) [inline]

Definition at line 83 of file PluginExecutor.cc.

References _scripts, DBG, and doSend().

Referenced by ~Impl().

const std::list<PluginScript> zypp::PluginExecutor::Impl::scripts ( ) const [inline]

Definition at line 97 of file PluginExecutor.cc.

References _scripts.

void zypp::PluginExecutor::Impl::doLoad ( const PathInfo &  pi_r) [inline, private]

Launch a plugin sending PLUGINSTART message.

Definition at line 102 of file PluginExecutor.cc.

References _scripts, doSend(), zypp::ZConfig::instance(), MIL, zypp::PluginScript::open(), zypp::PluginFrame::setHeader(), and WAR.

Referenced by load().


Member Data Documentation

Definition at line 148 of file PluginExecutor.cc.

Referenced by doLoad(), empty(), scripts(), send(), and size().


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