cwidget::toplevel::input_thread Class Reference

This thread is responsible for posting wget_wch() calls. More...

List of all members.

Classes

class  fatal_input_error
class  fatal_input_exception
class  get_input_event

Public Member Functions

void operator() ()

Static Public Member Functions

static void start ()
static void stop ()

Detailed Description

This thread is responsible for posting wget_wch() calls.

Note that the actual call to wget_wch must take place in the foreground thread, because wget_wch will invoke wrefresh(). So instead of calling it in the background thread, I post input events to the foreground thread.

To prevent the background thread from spamming the foreground thread with events, I suspend it until the event actually triggers.


The documentation for this class was generated from the following file:

Generated on Thu Oct 22 19:15:32 2009 for cwidget by  doxygen 1.6.1