11 #ifndef ZYPP_PLUGINEXECUTOR_H
12 #define ZYPP_PLUGINEXECUTOR_H
55 explicit operator bool()
const
71 void load(
const Pathname & path_r );
93 {
return( !
operator==( lhs, rhs ) ); }
97 #endif // ZYPP_PLUGINEXECUTOR_H
PluginExecutor()
Default ctor: Empty plugin list.
bool empty() const
Whether no plugins are waiting.
Command frame for communication with PluginScript.
friend bool operator==(const PluginExecutor &lhs, const PluginExecutor &rhs)
friend std::ostream & operator<<(std::ostream &str, const PluginExecutor &obj)
Parallel execution of stateful PluginScripts.
~PluginExecutor()
Dtor: Send PLUGINEND and close all plugins.
std::ostream & operator<<(std::ostream &str, const Exception &obj)
void send(const PluginFrame &frame_r)
Send PluginFrame to all open plugins.
size_t size() const
Number of open plugins.
RW_pointer< Impl > _pimpl
Implementation class.
void load(const Pathname &path_r)
Find and launch plugins sending PLUGINBEGIN.
bool operator!=(const PluginExecutor &lhs, const PluginExecutor &rhs)
PluginExecutor implementation.