11#ifndef ZYPP_PLUGINEXECUTOR_H
12#define ZYPP_PLUGINEXECUTOR_H
16#include <zypp/base/PtrTypes.h>
55 explicit operator bool()
const
93 {
return( !
operator==( lhs, rhs ) ); }
RepoManager implementation.
Parallel execution of stateful PluginScripts.
RW_pointer< Impl > _pimpl
Implementation class.
bool operator!=(const PluginExecutor &lhs, const PluginExecutor &rhs)
Comparison based on reference.
friend std::ostream & operator<<(std::ostream &str, const PluginExecutor &obj)
void load(const Pathname &path_r)
Find and launch plugins sending PLUGINBEGIN.
size_t size() const
Number of open plugins.
PluginExecutor()
Default ctor: Empty plugin list.
void send(const PluginFrame &frame_r)
Send PluginFrame to all open plugins.
~PluginExecutor()
Dtor: Send PLUGINEND and close all plugins.
bool empty() const
Whether no plugins are waiting.
friend bool operator==(const PluginExecutor &lhs, const PluginExecutor &rhs)
Command frame for communication with PluginScript.
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
Wrapper for const correct access via Smart pointer types.