#include <script.h>
Public Member Functions | |
virtual void | waitHandler (void)=0 |
Used to wait for operation completion. | |
Protected Member Functions | |
void | stepScheduler (const char *sighandler=NULL) |
Notify interpreter callback that the session is complete and pass an optional signal handler for stepping. | |
void | sleepScheduler (timeout_t delay) |
Notify interpreter callback that a timed operation is in progress. | |
Session (ScriptInterp *interp) | |
Base constructor. | |
virtual | ~Session () |
Friends | |
class | ScriptInterp |
This provides a mechanism for active sessions to impliment thread-based callback and thread based session handlers in a generic fashion.
Script::Session::Session | ( | ScriptInterp * | interp | ) | [protected] |
Base constructor.
virtual Script::Session::~Session | ( | ) | [inline, protected, virtual] |
void Script::Session::sleepScheduler | ( | timeout_t | delay | ) | [protected] |
Notify interpreter callback that a timed operation is in progress.
time | delay of operation. |
void Script::Session::stepScheduler | ( | const char * | sighandler = NULL |
) | [protected] |
Notify interpreter callback that the session is complete and pass an optional signal handler for stepping.
optional | signal handler. |
virtual void Script::Session::waitHandler | ( | void | ) | [pure virtual] |
Used to wait for operation completion.
friend class ScriptInterp [friend] |