<!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>libsigc++: sigc::volatile_mem_functor0< T_return, T_obj > Class Template 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.6.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespacesigc.html">sigc</a>::<a class="el" href="classsigc_1_1volatile__mem__functor0.html">volatile_mem_functor0</a> </div> </div> <div class="contents"> <h1>sigc::volatile_mem_functor0< T_return, T_obj > Class Template Reference<br/> <small> [<a class="el" href="group__mem__fun.html">mem_fun()</a>]</small> </h1><!-- doxytag: class="sigc::volatile_mem_functor0" --><!-- doxytag: inherits="sigc::functor_base" --> <p><a class="el" href="classsigc_1_1volatile__mem__functor0.html" title="volatile_mem_functor0 wraps volatile methods with 0 argument(s).">volatile_mem_functor0</a> wraps volatile methods with 0 argument(s). <a href="#_details">More...</a></p> <p><code>#include <sigc++/functors/mem_fun.h></code></p> <div class="dynheader"> Inheritance diagram for sigc::volatile_mem_functor0< T_return, T_obj >:</div> <div class="dynsection"> <div class="center"><img src="classsigc_1_1volatile__mem__functor0__inherit__graph.png" border="0" usemap="#sigc_1_1volatile__mem__functor0_3_01T__return_00_01T__obj_01_4_inherit__map" alt="Inheritance graph"/></div> <map name="sigc_1_1volatile__mem__functor0_3_01T__return_00_01T__obj_01_4_inherit__map" id="sigc_1_1volatile__mem__functor0_3_01T__return_00_01T__obj_01_4_inherit__map"> <area shape="rect" href="classsigc_1_1bound__volatile__mem__functor0.html" title="bound_volatile_mem_functor0 encapsulates a volatile method with 0 arguments and an..." alt="" coords="5,161,376,188"/><area shape="rect" href="structsigc_1_1functor__base.html" title="A hint to the compiler." alt="" coords="123,7,259,33"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classsigc_1_1volatile__mem__functor0-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2600028801809d687cd7e4aa1a01b80d"></a><!-- doxytag: member="sigc::volatile_mem_functor0::function_type" ref="a2600028801809d687cd7e4aa1a01b80d" args=")() volatile" --> typedef T_return(T_obj::* </td><td class="memItemRight" valign="bottom"><b>function_type</b> )() volatile</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a41fbd67d6bbde0818b880f08f6295396"></a><!-- doxytag: member="sigc::volatile_mem_functor0::result_type" ref="a41fbd67d6bbde0818b880f08f6295396" args="" --> typedef T_return </td><td class="memItemRight" valign="bottom"><b>result_type</b></td></tr> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae29bbe3e668b370d2788631465daa63c"></a><!-- doxytag: member="sigc::volatile_mem_functor0::volatile_mem_functor0" ref="ae29bbe3e668b370d2788631465daa63c" args="()" -->  </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1volatile__mem__functor0.html#ae29bbe3e668b370d2788631465daa63c">volatile_mem_functor0</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs an invalid functor. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1volatile__mem__functor0.html#aa4e5e279480d50940eb4b73b9c61b938">volatile_mem_functor0</a> (function_type _A_func)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classsigc_1_1volatile__mem__functor0.html" title="volatile_mem_functor0 wraps volatile methods with 0 argument(s).">volatile_mem_functor0</a> object that wraps the passed method. <a href="#aa4e5e279480d50940eb4b73b9c61b938"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">T_return </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1volatile__mem__functor0.html#ac2ed0440b58d9ed7fa7113036a021e92">operator()</a> (T_obj* _A_obj) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Execute the wrapped method operating on the passed instance. <a href="#ac2ed0440b58d9ed7fa7113036a021e92"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">T_return </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1volatile__mem__functor0.html#a7c2d0b553da010a5a0578a91269a290e">operator()</a> (T_obj& _A_obj) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Execute the wrapped method operating on the passed instance. <a href="#a7c2d0b553da010a5a0578a91269a290e"></a><br/></td></tr> <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a874e91ca403b95bb085ed596257de3ec"></a><!-- doxytag: member="sigc::volatile_mem_functor0::func_ptr_" ref="a874e91ca403b95bb085ed596257de3ec" args="" --> function_type </td><td class="memItemRight" valign="bottom"><b>func_ptr_</b></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <h3>template <class T_return, class T_obj><br/> class sigc::volatile_mem_functor0< T_return, T_obj ></h3> <p><a class="el" href="classsigc_1_1volatile__mem__functor0.html" title="volatile_mem_functor0 wraps volatile methods with 0 argument(s).">volatile_mem_functor0</a> wraps volatile methods with 0 argument(s). </p> <p>Use the convenience function <a class="el" href="group__mem__fun.html#ga7d9ea809173f48bf5c76cf1989591602" title="Creates a functor of type sigc::mem_functor0 which wraps a method.">mem_fun()</a> to create an instance of <a class="el" href="classsigc_1_1volatile__mem__functor0.html" title="volatile_mem_functor0 wraps volatile methods with 0 argument(s).">volatile_mem_functor0</a>.</p> <p>The following template arguments are used:</p> <ul> <li><em>T_return</em> The return type of <a class="el" href="classsigc_1_1volatile__mem__functor0.html#ac2ed0440b58d9ed7fa7113036a021e92" title="Execute the wrapped method operating on the passed instance.">operator()()</a>.</li> <li><em>T_obj</em> The object type. </li> </ul> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="aa4e5e279480d50940eb4b73b9c61b938"></a><!-- doxytag: member="sigc::volatile_mem_functor0::volatile_mem_functor0" ref="aa4e5e279480d50940eb4b73b9c61b938" args="(function_type _A_func)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class T_return , class T_obj > </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classsigc_1_1volatile__mem__functor0.html">sigc::volatile_mem_functor0</a>< T_return, T_obj >::<a class="el" href="classsigc_1_1volatile__mem__functor0.html">volatile_mem_functor0</a> </td> <td>(</td> <td class="paramtype">function_type </td> <td class="paramname"> <em>_A_func</em></td> <td> ) </td> <td><code> [inline, explicit]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Constructs a <a class="el" href="classsigc_1_1volatile__mem__functor0.html" title="volatile_mem_functor0 wraps volatile methods with 0 argument(s).">volatile_mem_functor0</a> object that wraps the passed method. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>_A_func</em> </td><td>Pointer to method will be invoked from <a class="el" href="classsigc_1_1volatile__mem__functor0.html#ac2ed0440b58d9ed7fa7113036a021e92" title="Execute the wrapped method operating on the passed instance.">operator()()</a>. </td></tr> </table> </dd> </dl> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a7c2d0b553da010a5a0578a91269a290e"></a><!-- doxytag: member="sigc::volatile_mem_functor0::operator()" ref="a7c2d0b553da010a5a0578a91269a290e" args="(T_obj &_A_obj) const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class T_return , class T_obj > </div> <table class="memname"> <tr> <td class="memname">T_return <a class="el" href="classsigc_1_1volatile__mem__functor0.html">sigc::volatile_mem_functor0</a>< T_return, T_obj >::operator() </td> <td>(</td> <td class="paramtype">T_obj & </td> <td class="paramname"> <em>_A_obj</em></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Execute the wrapped method operating on the passed instance. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>_A_obj</em> </td><td>Reference to instance the method should operate on. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The return value of the method invocation. </dd></dl> </div> </div> <a class="anchor" id="ac2ed0440b58d9ed7fa7113036a021e92"></a><!-- doxytag: member="sigc::volatile_mem_functor0::operator()" ref="ac2ed0440b58d9ed7fa7113036a021e92" args="(T_obj *_A_obj) const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class T_return , class T_obj > </div> <table class="memname"> <tr> <td class="memname">T_return <a class="el" href="classsigc_1_1volatile__mem__functor0.html">sigc::volatile_mem_functor0</a>< T_return, T_obj >::operator() </td> <td>(</td> <td class="paramtype">T_obj * </td> <td class="paramname"> <em>_A_obj</em></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Execute the wrapped method operating on the passed instance. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>_A_obj</em> </td><td>Pointer to instance the method should operate on. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>The return value of the method invocation. </dd></dl> </div> </div> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 21:44:49 2010 for libsigc++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>