CppUnit project page | FAQ | CppUnit home page |
#include <PlugInManager.h>
Public Member Functions | |
PlugInManager () | |
virtual | ~PlugInManager () |
Destructor. | |
void | load (const std::string &libraryFileName, const PlugInParameters ¶meters=PlugInParameters()) |
Loads the specified plug-in. | |
void | unload (const std::string &libraryFileName) |
Unloads the specified plug-in. | |
void | addListener (TestResult *eventManager) |
Gives a chance to each loaded plug-in to register TestListener. | |
void | removeListener (TestResult *eventManager) |
Gives a chance to each loaded plug-in to unregister TestListener. For each plug-in, call CppUnitTestPlugIn::removeListener(). | |
void | addXmlOutputterHooks (XmlOutputter *outputter) |
Provides a way for the plug-in to register some XmlOutputterHook. | |
void | removeXmlOutputterHooks () |
Called when the XmlOutputter is destroyed. | |
Protected Member Functions | |
void | unload (PlugInInfo &plugIn) |
Private Types | |
typedef CppUnitDeque< PlugInInfo > | PlugIns |
Private Member Functions | |
PlugInManager (const PlugInManager ©) | |
Prevents the use of the copy constructor. | |
void | operator= (const PlugInManager ©) |
Prevents the use of the copy operator. | |
Private Attributes | |
PlugIns | m_plugIns |
Classes | |
struct | PlugInInfo |
(INTERNAL) Information about a specific plug-in. More... |
|
|
|
Constructs a PlugInManager object. |
|
Destructor.
|
|
Prevents the use of the copy constructor.
|
|
Gives a chance to each loaded plug-in to register TestListener. For each plug-in, call CppUnitTestPlugIn::addListener(). |
|
Provides a way for the plug-in to register some XmlOutputterHook.
|
|
Loads the specified plug-in. After being loaded, the CppUnitTestPlugIn::initialize() is called.
|
|
Prevents the use of the copy operator.
|
|
Gives a chance to each loaded plug-in to unregister TestListener. For each plug-in, call CppUnitTestPlugIn::removeListener().
|
|
Called when the XmlOutputter is destroyed. Can be used to free some resources allocated by addXmlOutputterHooks(). |
|
Unloads the specified plug-in.
|
|
Unloads the specified plug-in.
|
|
|
hosts this site. |
Send comments to: CppUnit Developers |