<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta name="robots" content="noindex"> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ScriptSession class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <!-- Generated by Doxygen 1.2.5 on Tue Oct 9 20:52:05 2001 --> <center> <a class="qindex" href="index.html">Main Page</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="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>ScriptSession Class Reference</h1>This class holds an "active" session handler that has been created by a "slow" module handler. active session base class. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="script_h-source.html">script.h</a>></code> <p> <a href="class_scriptsession-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_scriptsession.html#a0">waitHandler</a> (void)=0</td></tr> <tr><td> </td><td><font size=-1><em>Used to wait for operation completion.</em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_scriptsession.html#b0">stepScheduler</a> (const char *sighandler=NULL)</td></tr> <tr><td> </td><td><font size=-1><em>Notify interpreter callback that the session is complete and pass an optional signal handler for stepping.</em> <a href="#b0">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="class_scriptsession.html#b1">sleepScheduler</a> (timeout_t delay)</td></tr> <tr><td> </td><td><font size=-1><em>Notify interpreter callback that a timed operation is in progress.</em> <a href="#b1">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_scriptsession.html#b2">ScriptSession</a> (<a class="el" href="class_scriptinterp.html">ScriptInterp</a> *interp)</td></tr> <tr><td> </td><td><font size=-1><em>Base constructor.</em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="class_scriptsession.html#b3">~ScriptSession</a> ()</td></tr> <tr><td colspan=2><br><h2>Friends</h2></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="#l0">ScriptInterp</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> This class holds an "active" session handler that has been created by a "slow" module handler. active session base class. <p> This provides a mechanism for active sessions to impliment thread-based callback and thread based session handlers in a generic fashion. <p> <dl compact><dt> <b>Author(s): </b><dd> David Sugar <<a href="mailto:dyfet@ostel.com">dyfet@ostel.com</a>> </dl> <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="b2" doxytag="ScriptSession::ScriptSession"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> ScriptSession::ScriptSession ( </b></td> <td valign="bottom"><b> <a class="el" href="class_scriptinterp.html">ScriptInterp</a> * <em>interp</em> )<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Base constructor. <p> </td> </tr> </table> <a name="b3" doxytag="ScriptSession::~ScriptSession"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> ScriptSession::~ScriptSession ( </b></td> <td valign="bottom"><b> )<code> [inline, protected, virtual]</code> </b></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="b1" doxytag="ScriptSession::sleepScheduler"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void ScriptSession::sleepScheduler ( </b></td> <td valign="bottom"><b> timeout_t <em>delay</em> )<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Notify interpreter callback that a timed operation is in progress. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>time</em> </td><td> delay of operation. </td></tr> </table> </dl> </td> </tr> </table> <a name="b0" doxytag="ScriptSession::stepScheduler"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void ScriptSession::stepScheduler ( </b></td> <td valign="bottom"><b> const char * <em>sighandler</em> = NULL )<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Notify interpreter callback that the session is complete and pass an optional signal handler for stepping. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>optional</em> </td><td> signal handler. </td></tr> </table> </dl> </td> </tr> </table> <a name="a0" doxytag="ScriptSession::waitHandler"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void ScriptSession::waitHandler ( </b></td> <td valign="bottom"><b> void )<code> [pure virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Used to wait for operation completion. <p> </td> </tr> </table> <hr><h2>Friends And Related Function Documentation</h2> <a name="l0" doxytag="ScriptSession::ScriptInterp"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> class ScriptInterp<code> [friend]</code> </b></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="script_h-source.html">script.h</a></ul> <hr><address><small>Generated at Tue Oct 9 20:52:05 2001 for ccscript 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.5 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2001</small></address> </body> </html>