Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > a65517607ef053b8c8e6c720e8c36e77 > files > 142

libsmbios-devel-2.2.26-3.fc14.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>libsmbios_c library: rbu::RbuFactory Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="namespacerbu.html">rbu</a>      </li>
      <li><a class="el" href="classrbu_1_1RbuFactory.html">rbu::RbuFactory</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a>  </div>
  <div class="headertitle">
<h1>rbu::RbuFactory Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="rbu::RbuFactory" --><!-- doxytag: inherits="factory::IFactory" -->
<p>AbstractFactory that produces <a class="el" href="classrbu_1_1IRbuHdr.html" title="Interface definition for RBU HDR operations.">IRbuHdr</a> objects.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="DellRbu_8h_source.html">DellRbu.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for rbu::RbuFactory:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classrbu_1_1RbuFactory.png" usemap="#rbu::RbuFactory_map" alt=""/>
  <map id="rbu::RbuFactory_map" name="rbu::RbuFactory_map">
<area href="classfactory_1_1IFactory.html" alt="factory::IFactory" shape="rect" coords="0,0,105,24"/>
</map>
</div>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrbu_1_1RbuFactory.html#a10dd7a8f0640023a9030b8c2286f1646">~RbuFactory</a> ()  throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classrbu_1_1IRbuHdr.html">IRbuHdr</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrbu_1_1RbuFactory.html#a9f8d1913df87fe593a3bcc8608e69476">makeNew</a> (std::string filename)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a new <a class="el" href="classrbu_1_1IRbuHdr.html" title="Interface definition for RBU HDR operations.">IRbuHdr</a> object that the caller must delete. (NOT RECOMMENDED).  <a href="#a9f8d1913df87fe593a3bcc8608e69476"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classrbu_1_1RbuFactory.html">RbuFactory</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrbu_1_1RbuFactory.html#a8b0035ec06e35b778f24b57ad2162a34">getFactory</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a factory object that you can use to create <a class="el" href="classrbu_1_1IRbuHdr.html" title="Interface definition for RBU HDR operations.">IRbuHdr</a> objects.  <a href="#a8b0035ec06e35b778f24b57ad2162a34"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrbu_1_1RbuFactory.html#aefcf8231d238def468a3c0b2a5457cca">RbuFactory</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Use <a class="el" href="classrbu_1_1RbuFactory.html#a8b0035ec06e35b778f24b57ad2162a34" title="Create a factory object that you can use to create IRbuHdr objects.">getFactory()</a> to get a factory.  <a href="#aefcf8231d238def468a3c0b2a5457cca"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>AbstractFactory that produces <a class="el" href="classrbu_1_1IRbuHdr.html" title="Interface definition for RBU HDR operations.">IRbuHdr</a> objects. </p>
<p>The <a class="el" href="classrbu_1_1RbuFactory.html" title="AbstractFactory that produces IRbuHdr objects.">RbuFactory</a> class is based on the Factory design pattern. The <a class="el" href="classrbu_1_1RbuFactory.html" title="AbstractFactory that produces IRbuHdr objects.">RbuFactory</a> is the recommended method to create <a class="el" href="classrbu_1_1IRbuHdr.html" title="Interface definition for RBU HDR operations.">IRbuHdr</a> objects.</p>
<p>The getSingleton() is the recommended method to call to create tables. You need not delete the pointer returned by this method, it will be delete by the factory when it is <a class="el" href="classfactory_1_1IFactory.html#af41d62153ab041788b9e341c6bdc89fb">reset()</a> or destructed.</p>
<p>Most users of the factory need call nothing more than <a class="el" href="classrbu_1_1RbuFactory.html#a8b0035ec06e35b778f24b57ad2162a34" title="Create a factory object that you can use to create IRbuHdr objects.">getFactory()</a> and then getSingleton() on the returned factory object.</p>
<p>Advanced users can call <a class="el" href="classfactory_1_1IFactory.html#a7dd6d02af358ba1742166ef2d5192e28">setParameter()</a> to set up internal factory variables that control creation of tables. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a10dd7a8f0640023a9030b8c2286f1646"></a><!-- doxytag: member="rbu::RbuFactory::~RbuFactory" ref="a10dd7a8f0640023a9030b8c2286f1646" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual rbu::RbuFactory::~RbuFactory </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td>  throw ()<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aefcf8231d238def468a3c0b2a5457cca"></a><!-- doxytag: member="rbu::RbuFactory::RbuFactory" ref="aefcf8231d238def468a3c0b2a5457cca" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">rbu::RbuFactory::RbuFactory </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Use <a class="el" href="classrbu_1_1RbuFactory.html#a8b0035ec06e35b778f24b57ad2162a34" title="Create a factory object that you can use to create IRbuHdr objects.">getFactory()</a> to get a factory. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a8b0035ec06e35b778f24b57ad2162a34"></a><!-- doxytag: member="rbu::RbuFactory::getFactory" ref="a8b0035ec06e35b778f24b57ad2162a34" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classrbu_1_1RbuFactory.html">RbuFactory</a>* rbu::RbuFactory::getFactory </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a factory object that you can use to create <a class="el" href="classrbu_1_1IRbuHdr.html" title="Interface definition for RBU HDR operations.">IRbuHdr</a> objects. </p>
<p>Factory entry point: This is the method to call to get a handle to the <a class="el" href="classrbu_1_1RbuFactory.html" title="AbstractFactory that produces IRbuHdr objects.">RbuFactory</a>. The <a class="el" href="classrbu_1_1RbuFactory.html" title="AbstractFactory that produces IRbuHdr objects.">RbuFactory</a> is the recommended method to create <a class="el" href="classrbu_1_1IRbuHdr.html" title="Interface definition for RBU HDR operations.">IRbuHdr</a> objects.</p>
<p>The getSingleton() is the recommended method to call to create tables. You need not delete the pointer returned by this method, it will be deleted by the factory when it is <a class="el" href="classfactory_1_1IFactory.html#af41d62153ab041788b9e341c6bdc89fb">reset()</a> or destructed.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Singleton <a class="el" href="classrbu_1_1RbuFactory.html" title="AbstractFactory that produces IRbuHdr objects.">RbuFactory</a> object pointer. </dd></dl>

</div>
</div>
<a class="anchor" id="a9f8d1913df87fe593a3bcc8608e69476"></a><!-- doxytag: member="rbu::RbuFactory::makeNew" ref="a9f8d1913df87fe593a3bcc8608e69476" args="(std::string filename)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classrbu_1_1IRbuHdr.html">IRbuHdr</a>* rbu::RbuFactory::makeNew </td>
          <td>(</td>
          <td class="paramtype">std::string&nbsp;</td>
          <td class="paramname"> <em>filename</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a new <a class="el" href="classrbu_1_1IRbuHdr.html" title="Interface definition for RBU HDR operations.">IRbuHdr</a> object that the caller must delete. (NOT RECOMMENDED). </p>
<p>The <a class="el" href="classrbu_1_1RbuFactory.html#a9f8d1913df87fe593a3bcc8608e69476" title="Create a new IRbuHdr object that the caller must delete. (NOT RECOMMENDED).">makeNew()</a> method returns a pointer to a newly allocated <a class="el" href="classrbu_1_1IRbuHdr.html" title="Interface definition for RBU HDR operations.">IRbuHdr</a> object. The caller is responsible for deleting this reference when it is finished with it. It is recommended that the caller store the pointer in an std::auto_ptr&lt;IRbuHdr&gt;.</p>
<p>The getSingleton() method is preferred over this method.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>(<a class="el" href="classrbu_1_1IRbuHdr.html" title="Interface definition for RBU HDR operations.">IRbuHdr</a> *) -- caller must delete </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/builddir/build/BUILD/libsmbios-2.2.26/src/include/smbios/<a class="el" href="DellRbu_8h_source.html">DellRbu.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue Oct 5 2010 for libsmbios_c library by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>