libzypp 9.41.1
|
PluginExecutor implementation. More...
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< PluginScript > | scripts () 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 |
PluginExecutor implementation.
Definition at line 31 of file PluginExecutor.cc.
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.
bool zypp::PluginExecutor::Impl::empty | ( | ) | const [inline] |
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] |
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().
PluginFrame zypp::PluginExecutor::Impl::doSend | ( | PluginScript & | script_r, |
const PluginFrame & | frame_r | ||
) | [inline, private] |
Definition at line 123 of file PluginExecutor.cc.
References zypp::PluginFrame::ackCommand(), zypp::Exception::asUserHistory(), zypp::PluginScript::close(), zypp::PluginFrame::command(), zypp::PluginFrame::enomethodCommand(), zypp::PluginFrame::isAckCommand(), zypp::PluginFrame::isEnomethodCommand(), zypp::PluginScript::receive(), zypp::PluginScript::script(), zypp::PluginScript::send(), WAR, and ZYPP_CAUGHT.
std::list<PluginScript> zypp::PluginExecutor::Impl::_scripts [private] |