#include <Plugin.h>
Public Types | |
typedef std::vector< Plugin * > | Plugins |
Public Member Functions | |
Plugin () | |
Construct registers the plug-in to appear in getPlugins(). | |
virtual Options * | getOptions () |
Configuration options for the plugin. | |
virtual void | earlyInitialize (Target &)=0 |
Initialize Plugin functionality on a Target. | |
virtual void | initialize (Target &)=0 |
Initialize Plugin functionality on a Target. | |
Static Public Member Functions | |
static const Plugins & | getPlugins () |
List of registered Plugin objects. | |
Classes | |
struct | Target |
Base interface for targets that receive plug-ins. More... |
qpid::Plugin::Plugin | ( | ) |
Construct registers the plug-in to appear in getPlugins().
A concrete Plugin is instantiated as a global or static member variable in a library so it is registered during static initialization when the library is loaded.
virtual Options* qpid::Plugin::getOptions | ( | ) | [virtual] |
Configuration options for the plugin.
Then will be updated during option parsing by the host program.
virtual void qpid::Plugin::earlyInitialize | ( | Target & | ) | [pure virtual] |
virtual void qpid::Plugin::initialize | ( | Target & | ) | [pure virtual] |
static const Plugins& qpid::Plugin::getPlugins | ( | ) | [static] |
List of registered Plugin objects.
Caller must not delete plugin pointers.