📄 class_plug_in_manager.html
字号:
<table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void PlugInManager::load </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const std::string & </td> <td class="mdname" nowrap> <em>libraryFileName</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>const <a class="el" href="class_plug_in_parameters.html">PlugInParameters</a> & </td> <td class="mdname" nowrap> <em>parameters</em> = <code><a class="el" href="class_plug_in_parameters.html">PlugInParameters</a>()</code></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Loads the specified plug-in. <p>After being loaded, the CppUnitTestPlugIn::initialize() is called.<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td></td><td valign=top><em>libraryFileName</em> </td><td>Name of the file that contains the TestPlugIn. </td></tr> <tr><td></td><td valign=top><em>parameters</em> </td><td>List of string passed to the plug-in. </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Pointer on the <a class="el" href="class_dynamic_library_manager.html">DynamicLibraryManager</a> associated to the library. Valid until the library is unloaded. Never <code>NULL</code>. </dd></dl><dl compact><dt><b>Exceptions:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td></td><td valign=top><em>DynamicLibraryManager</em> </td><td>is thrown if an error occurs during loading. </td></tr> </table></dl> </td> </tr></table><a class="anchor" name="d1" doxytag="PlugInManager::operator=" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void PlugInManager::operator= </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="class_plug_in_manager.html">PlugInManager</a> & </td> <td class="mdname1" valign="top" nowrap> <em>copy</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [private]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Prevents the use of the copy operator. <p> </td> </tr></table><a class="anchor" name="a5" doxytag="PlugInManager::removeListener" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void PlugInManager::removeListener </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_test_result.html">TestResult</a> * </td> <td class="mdname1" valign="top" nowrap> <em>eventManager</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Gives a chance to each loaded plug-in to unregister <a class="el" href="class_test_listener.html">TestListener</a>. For each plug-in, call CppUnitTestPlugIn::removeListener(). <p> </td> </tr></table><a class="anchor" name="a7" doxytag="PlugInManager::removeXmlOutputterHooks" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void PlugInManager::removeXmlOutputterHooks </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Called when the <a class="el" href="class_xml_outputter.html">XmlOutputter</a> is destroyed. <p>Can be used to free some resources allocated by addXmlOutputterHooks(). </td> </tr></table><a class="anchor" name="b0" doxytag="PlugInManager::unload" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void PlugInManager::unload </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="struct_plug_in_manager_1_1_plug_in_info.html">PlugInInfo</a> & </td> <td class="mdname1" valign="top" nowrap> <em>plugIn</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Unloads the specified plug-in. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td></td><td valign=top><em>plugIn</em> </td><td>Information about the plug-in. </td></tr> </table></dl> </td> </tr></table><a class="anchor" name="a3" doxytag="PlugInManager::unload" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void PlugInManager::unload </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const std::string & </td> <td class="mdname1" valign="top" nowrap> <em>libraryFileName</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Unloads the specified plug-in. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td></td><td valign=top><em>libraryFileName</em> </td><td>Name of the file that contains the TestPlugIn passed to a previous call to load(). </td></tr> </table></dl> </td> </tr></table><hr><h2>Member Data Documentation</h2><a class="anchor" name="r0" doxytag="PlugInManager::m_plugIns" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="class_plug_in_manager.html#y0">PlugIns</a> <a class="el" href="class_plug_in_manager.html#r0">PlugInManager::m_plugIns</a><code> [private]</code> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="_plug_in_manager_8h-source.html">PlugInManager.h</a><li><a class="el" href="_plug_in_manager_8cpp.html">PlugInManager.cpp</a></ul><hr><table width="100%"> <tr> <td width="10%" align="left" valign="center"> <a href="http://sourceforge.net"> <img src="http://sourceforge.net/sflogo.php?group_id=11795" width="88" height="31" border="0" alt="SourceForge Logo"></a> </td> <td width="20%" align="left" valign="center"> hosts this site. </td> <td> </td> <td align="right" valign="center"> Send comments to:<br> <a href="mailto:cppunit-devel@lists.sourceforge.net">CppUnit Developers</a> </td> </tr></table></body> </html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -