<!-- clanlib header begin --> <HTML> <HEAD> <TITLE>CL_SlotContainer - ClanLib Game SDK</TITLE> <STYLE TYPE="text/css"><!-- HTML BODY { font-family: verdana, helvetica, sans-serif; font-size: 12px; } H1 { font-size: 22px; } H2 { font-size: 18px; } H3 { font-size: 16px; } H4 { font-size: 14px; } P { font-size: 12px; } LI { font-size: 12px; } --></STYLE> </HEAD> <body bgcolor=white text=black link=blue vlink=#800080> <center> <img src="http://clanlib.org/gfx/clanlib.png"> </center> <!-- clanlib header end --> <center> <p> <a href="http://clanlib.org/docs.html">Home</a> | <a href="classes.html">All Classes</a> | <a href="modules.html">Grouped Classes</a> | <a href="index.html">Index</a> | <a href="search.html">Search</a> </p> </center> <h1>Class CL_SlotContainer</h1> <p> Slot Generic Container <a href="#description">More...</a></p> <p>Derived from: <i>none</i> <br> Derived by: <i>none</i> <br>Group: Signal (System)</p> <p> #include <ClanLib/signals.h> <p> <a name="#description"><p><b>Detailed description:</b></p> !group=Signal/System! !header=signals.h! <p>Convience signal/slot connector class.</p> <p>The slot container class is a convience class. It simplifies the connection between signals and slots by keeping all connections made until the entire class is destroyed. This saves the developer from having to keep a CL_Slot reference around for each connection needed.</p> <p>In order to use this class, simply make it a member variable and call connect_signal() for each function you want hooked up.</p> <p>See the login_view.cpp/h in the CTalk example for an example of how to use this class.</p> <!-- clanlib footer begin --> <center><br><br><font color="#a0a0a0"> Questions or comments, write to the <a href="http://clanlib.org/contact.html">ClanLib mailing list</a>. </font></center> </body> </html> <!-- clanlib footer end -->