<!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>bakery: Bakery::Conf::Association< T_Widget > 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.2-20100208 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</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> <li><a href="files.html"><span>Files</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="namespaceBakery.html">Bakery</a>::<a class="el" href="namespaceBakery_1_1Conf.html">Conf</a>::<a class="el" href="classBakery_1_1Conf_1_1Association.html">Association</a> </div> </div> <div class="contents"> <h1>Bakery::Conf::Association< T_Widget > Class Template Reference</h1><!-- doxytag: class="Bakery::Conf::Association" --><!-- doxytag: inherits="Bakery::Conf::AssociationCreation" --> <p><code>#include <<a class="el" href="Association_8h_source.html">Association.h</a>></code></p> <div class="dynheader"> Inheritance diagram for Bakery::Conf::Association< T_Widget >:</div> <div class="dynsection"> <div class="center"><img src="classBakery_1_1Conf_1_1Association__inherit__graph.png" border="0" usemap="#Bakery_1_1Conf_1_1Association_3_01T__Widget_01_4_inherit__map" alt="Inheritance graph"/></div> <map name="Bakery_1_1Conf_1_1Association_3_01T__Widget_01_4_inherit__map" id="Bakery_1_1Conf_1_1Association_3_01T__Widget_01_4_inherit__map"> <area shape="rect" id="node2" href="classBakery_1_1Conf_1_1AssociationCreation.html" title="Bakery::Conf::AssociationCreation\< T_Widget \>" alt="" coords="5,83,309,112"/><area shape="rect" id="node4" href="classBakery_1_1Conf_1_1AssociationBase.html" title="Provides behaviors that are common to all widget/key associations." alt="" coords="55,5,260,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classBakery_1_1Conf_1_1Association-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">typedef sigc::slot< void > </td><td class="memItemRight" valign="bottom"><a class="el" href="classBakery_1_1Conf_1_1Association.html#af382ff1c8b02e9ef2849b2fc1cbb4120">Callback</a></td></tr> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classBakery_1_1Conf_1_1Association.html#a65b736719a4cdc01bcd84f79a4e72105">connect_widget</a> (<a class="el" href="classBakery_1_1Conf_1_1Association.html#af382ff1c8b02e9ef2849b2fc1cbb4120">Callback</a> on_widget_changed)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">These methods must be implemented explicitly for each specialization of Association<T> to provide appropriate behaviors based on the widget type. <a href="#a65b736719a4cdc01bcd84f79a4e72105"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classBakery_1_1Conf_1_1Association.html#af1af9eacc80e4f8a4006e211c84f44df">load_widget</a> (std::auto_ptr< Glib::Error > &error)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classBakery_1_1Conf_1_1Association.html#a34de6dda40de2663fa43db2eb0dbc9bb">save_widget</a> (std::auto_ptr< Glib::Error > &error)</td></tr> <tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBakery_1_1Conf_1_1Association.html#adc4e260250d1b00321a0a9f307f2b04e">Association</a> (const Glib::ustring &full_key, T_Widget &widget, bool instant)</td></tr> </table> <h3>template<class T_Widget><br/> class Bakery::Conf::Association< T_Widget ></h3> <hr/><h2>Member Typedef Documentation</h2> <a class="anchor" id="af382ff1c8b02e9ef2849b2fc1cbb4120"></a><!-- doxytag: member="Bakery::Conf::Association::Callback" ref="af382ff1c8b02e9ef2849b2fc1cbb4120" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T_Widget > </div> <table class="memname"> <tr> <td class="memname">typedef sigc::slot<void> <a class="el" href="classBakery_1_1Conf_1_1Association.html">Bakery::Conf::Association</a>< T_Widget >::<a class="el" href="classBakery_1_1Conf_1_1Association.html#af382ff1c8b02e9ef2849b2fc1cbb4120">Callback</a></td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented from <a class="el" href="classBakery_1_1Conf_1_1AssociationBase.html#aadb9cbb5a6f659026f77707a1b6b43e5">Bakery::Conf::AssociationBase</a>.</p> </div> </div> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="adc4e260250d1b00321a0a9f307f2b04e"></a><!-- doxytag: member="Bakery::Conf::Association::Association" ref="adc4e260250d1b00321a0a9f307f2b04e" args="(const Glib::ustring &full_key, T_Widget &widget, bool instant)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T_Widget > </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classBakery_1_1Conf_1_1Association.html">Bakery::Conf::Association</a>< T_Widget >::<a class="el" href="classBakery_1_1Conf_1_1Association.html">Association</a> </td> <td>(</td> <td class="paramtype">const Glib::ustring & </td> <td class="paramname"> <em>full_key</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">T_Widget & </td> <td class="paramname"> <em>widget</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>instant</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline, protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a65b736719a4cdc01bcd84f79a4e72105"></a><!-- doxytag: member="Bakery::Conf::Association::connect_widget" ref="a65b736719a4cdc01bcd84f79a4e72105" args="(Callback on_widget_changed)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T_Widget > </div> <table class="memname"> <tr> <td class="memname">virtual void <a class="el" href="classBakery_1_1Conf_1_1Association.html">Bakery::Conf::Association</a>< T_Widget >::connect_widget </td> <td>(</td> <td class="paramtype"><a class="el" href="classBakery_1_1Conf_1_1Association.html#af382ff1c8b02e9ef2849b2fc1cbb4120">Callback</a> </td> <td class="paramname"> <em>on_widget_changed</em></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>These methods must be implemented explicitly for each specialization of Association<T> to provide appropriate behaviors based on the widget type. </p> <p>Implements <a class="el" href="classBakery_1_1Conf_1_1AssociationBase.html#a13a1a97593dd3c7c043bbb6ac1bab619">Bakery::Conf::AssociationBase</a>.</p> </div> </div> <a class="anchor" id="af1af9eacc80e4f8a4006e211c84f44df"></a><!-- doxytag: member="Bakery::Conf::Association::load_widget" ref="af1af9eacc80e4f8a4006e211c84f44df" args="(std::auto_ptr< Glib::Error > &error)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T_Widget > </div> <table class="memname"> <tr> <td class="memname">virtual void <a class="el" href="classBakery_1_1Conf_1_1Association.html">Bakery::Conf::Association</a>< T_Widget >::load_widget </td> <td>(</td> <td class="paramtype">std::auto_ptr< Glib::Error > & </td> <td class="paramname"> <em>error</em></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Implements <a class="el" href="classBakery_1_1Conf_1_1AssociationBase.html#a53a1b111d155a8d7ba81feb130b00487">Bakery::Conf::AssociationBase</a>.</p> </div> </div> <a class="anchor" id="a34de6dda40de2663fa43db2eb0dbc9bb"></a><!-- doxytag: member="Bakery::Conf::Association::save_widget" ref="a34de6dda40de2663fa43db2eb0dbc9bb" args="(std::auto_ptr< Glib::Error > &error)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T_Widget > </div> <table class="memname"> <tr> <td class="memname">virtual void <a class="el" href="classBakery_1_1Conf_1_1Association.html">Bakery::Conf::Association</a>< T_Widget >::save_widget </td> <td>(</td> <td class="paramtype">std::auto_ptr< Glib::Error > & </td> <td class="paramname"> <em>error</em></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Implements <a class="el" href="classBakery_1_1Conf_1_1AssociationBase.html#a24202991035d521147df8608e191fad0">Bakery::Conf::AssociationBase</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="Association_8h_source.html">Association.h</a></li> </ul> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address> </body> </html>