<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ost::ThreadGroup class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <!-- Generated by Doxygen 1.2.10 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>ost::ThreadGroup Class Reference</h1>A thread grouping class for a set of server classes that may be started and stopped together as a common group. <a class="el" href="classost_1_1_thread.html">Thread</a> grouping class for server processes. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="groups_8h-source.html">groups.h</a>></code> <p> <p>Inheritance diagram for ost::ThreadGroup:: <p><center><img src="classost_1_1_thread_group.gif" usemap="#ost::ThreadGroup_map" border="0"></center> <map name="ost::ThreadGroup_map"> <area href="classost_1_1_thread.html" alt="ost::Thread" shape="rect" coords="0,0,109,24"> </map> <a href="classost_1_1_thread_group-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classost_1_1_thread_group.html#b0">ThreadGroup</a> (int pri, unsigned stack)</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classost_1_1_thread_group.html#b1">ThreadGroup</a> (ThreadGroup **group, int pri, unsigned stack)</td></tr> <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classost_1_1_thread_group.html#b2">~ThreadGroup</a> ()</td></tr> <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classost_1_1_thread_group.html#b3">Stop</a> (void)</td></tr> <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classost_1_1_thread_group.html#b4">Start</a> (void)</td></tr> <tr><td colspan=2><br><h2>Friends</h2></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classost_1_1_thread_group.html#l0">startThreads</a> (ThreadGroup *group=NULL)</td></tr> <tr><td> </td><td><font size=-1><em>Start a group of threads together.</em> <a href="#l0">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classost_1_1_thread_group.html#l1">stopThreads</a> (ThreadGroup *group=NULL)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> A thread grouping class for a set of server classes that may be started and stopped together as a common group. <a class="el" href="classost_1_1_thread.html">Thread</a> grouping class for server processes. <p> <dl compact><dt><b> Author: </b><dd> David Sugar <<a href="mailto:dyfet@ostel.com">dyfet@ostel.com</a>> </dl> <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="b0" doxytag="ost::ThreadGroup::ThreadGroup"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> ost::ThreadGroup::ThreadGroup </td> <td class="md">( </td> <td class="md">int</td> <td class="mdname"> <em>pri</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md">unsigned</td> <td class="mdname"> <em>stack</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b1" doxytag="ost::ThreadGroup::ThreadGroup"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> ost::ThreadGroup::ThreadGroup </td> <td class="md">( </td> <td class="md">ThreadGroup **</td> <td class="mdname"> <em>group</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md">int</td> <td class="mdname"> <em>pri</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md">unsigned</td> <td class="mdname"> <em>stack</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b2" doxytag="ost::ThreadGroup::~ThreadGroup"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual ost::ThreadGroup::~ThreadGroup </td> <td class="md">( </td> <td class="mdname1"> </td> <td class="md">) </td> <td class="md"><code> [inline, protected, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="b4" doxytag="ost::ThreadGroup::Start"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual void ost::ThreadGroup::Start </td> <td class="md">( </td> <td class="md">void</td> <td class="mdname1"> </td> <td class="md">) </td> <td class="md"><code> [inline, protected, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b3" doxytag="ost::ThreadGroup::Stop"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual void ost::ThreadGroup::Stop </td> <td class="md">( </td> <td class="md">void</td> <td class="mdname1"> </td> <td class="md">) </td> <td class="md"><code> [inline, protected, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Friends And Related Function Documentation</h2> <a name="l0" doxytag="ost::ThreadGroup::startThreads"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void startThreads </td> <td class="md">( </td> <td class="md">ThreadGroup *</td> <td class="mdname1"> <em>group</em> = NULL </td> <td class="md">) </td> <td class="md"><code> [friend]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Start a group of threads together. <p> </td> </tr> </table> <a name="l1" doxytag="ost::ThreadGroup::stopThreads"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void stopThreads </td> <td class="md">( </td> <td class="md">ThreadGroup *</td> <td class="mdname1"> <em>group</em> = NULL </td> <td class="md">) </td> <td class="md"><code> [friend]</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 file:<ul> <li><a class="el" href="groups_8h-source.html">groups.h</a></ul> <hr><address><small>Generated at Fri Jan 4 18:51:51 2002 for CommonC++ by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.gif" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.10 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2001</small></address> </body> </html>