Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

UNIX_MANAGER Class Reference

#include <tty_unix.H>

Inheritance diagram for UNIX_MANAGER:

Inheritance graph
[legend]
Collaboration diagram for UNIX_MANAGER:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 UNIX_MANAGER ()
virtual void loop (int infinite=1)
virtual void add (FD_EVENT *fd)
virtual void rem (FD_EVENT *fd)
virtual void add_timeout (FD_TIMEOUT *t)
virtual void rem_timeout (FD_TIMEOUT *t)
virtual ARRAY< FD_TIMEOUT * > timeouts ()

Static Public Member Functions

static FD_MANAGERmgr ()
static void set_mgr (FD_MANAGER *m)

Protected Attributes

ARRAY< tty_to_id_ids
ARRAY< FD_TIMEOUT * > _timeouts

Static Protected Attributes

static FD_MANAGER_mgr = 0

Classes

class  tty_to_id

Detailed Description

Definition at line 8 of file tty_unix.H.


Constructor & Destructor Documentation

UNIX_MANAGER::UNIX_MANAGER  )  [inline]
 

Definition at line 22 of file tty_unix.H.


Member Function Documentation

virtual void UNIX_MANAGER::add FD_EVENT fd  )  [inline, virtual]
 

Implements FD_MANAGER.

Definition at line 63 of file tty_unix.H.

References _ids.

virtual void FD_MANAGER::add_timeout FD_TIMEOUT t  )  [inline, virtual, inherited]
 

Definition at line 69 of file tty.H.

References FD_MANAGER::_timeouts, and ARRAY< T >::add_uniquely().

Referenced by BaseJOTapp::mapped().

virtual void UNIX_MANAGER::loop int  infinite = 1  )  [inline, virtual]
 

Implements FD_MANAGER.

Definition at line 24 of file tty_unix.H.

References _ids, FD_MANAGER::_timeouts, max(), ARRAY< T >::num(), and rem().

static FD_MANAGER* FD_MANAGER::mgr  )  [inline, static, inherited]
 

Definition at line 73 of file tty.H.

References FD_MANAGER::_mgr.

Referenced by GLUT_MANAGER::display_cb(), distrib(), GLUIPopUp::hide_glui(), BaseJOTapp::icon(), GLUT_MANAGER::idle_cb(), BaseJOTapp::mapped(), mouse_button_callback(), mouse_motion_callback(), normal_keydown_callback(), normal_keyup_callback(), GLUT_WINSYS::reshape_cb(), BaseJOTapp::Run(), GLUIPopUp::show_glui(), GLUT_WINSYS::visibility_cb(), and BaseJOTapp::~BaseJOTapp().

virtual void UNIX_MANAGER::rem FD_EVENT fd  )  [inline, virtual]
 

Implements FD_MANAGER.

Definition at line 67 of file tty_unix.H.

References _ids, BAD_IND, and ARRAY< T >::get_index().

Referenced by loop().

virtual void FD_MANAGER::rem_timeout FD_TIMEOUT t  )  [inline, virtual, inherited]
 

Definition at line 70 of file tty.H.

References FD_MANAGER::_timeouts.

Referenced by BaseJOTapp::icon(), and BaseJOTapp::~BaseJOTapp().

static void FD_MANAGER::set_mgr FD_MANAGER m  )  [inline, static, inherited]
 

Definition at line 74 of file tty.H.

References FD_MANAGER::_mgr.

Referenced by GLUT_WINSYS::GLUT_WINSYS().

virtual ARRAY<FD_TIMEOUT*> FD_MANAGER::timeouts  )  [inline, virtual, inherited]
 

Definition at line 72 of file tty.H.

References FD_MANAGER::_timeouts.


Member Data Documentation

ARRAY<tty_to_id> UNIX_MANAGER::_ids [protected]
 

Definition at line 19 of file tty_unix.H.

Referenced by add(), loop(), and rem().

FD_MANAGER * FD_MANAGER::_mgr = 0 [static, protected, inherited]
 

Definition at line 61 of file tty.H.

Referenced by FD_MANAGER::mgr(), and FD_MANAGER::set_mgr().

ARRAY<FD_TIMEOUT *> FD_MANAGER::_timeouts [protected, inherited]
 

Definition at line 60 of file tty.H.

Referenced by FD_MANAGER::add_timeout(), GLUT_MANAGER::do_display(), loop(), FD_MANAGER::rem_timeout(), and FD_MANAGER::timeouts().


The documentation for this class was generated from the following file:
Generated on Mon Sep 18 11:47:42 2006 for jot by  doxygen 1.4.4