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

GLUT_MANAGER Class Reference

#include <tty_glut.H>

Inheritance diagram for GLUT_MANAGER:

Inheritance graph
[legend]
Collaboration diagram for GLUT_MANAGER:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GLUT_MANAGER ()
virtual ~GLUT_MANAGER ()
GLUT_WINSYSget_blocker ()
void set_blocker (GLUT_WINSYS *w)
void clear_blocker (GLUT_WINSYS *w)
virtual void add_timeout (FD_TIMEOUT *t)
virtual void rem_timeout (FD_TIMEOUT *t)
virtual ARRAY< FD_TIMEOUT * > timeouts ()

Static Public Member Functions

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

Protected Member Functions

void do_idle ()
void do_display ()
virtual void add (FD_EVENT *fd)
virtual void rem (FD_EVENT *fd)
virtual void loop (int infinite)

Protected Attributes

ARRAY< tty_to_id_ids
stop_watch _frame_timer
GLUT_WINSYS_blocker
ARRAY< FD_TIMEOUT * > _timeouts

Static Protected Attributes

static FD_MANAGER_mgr = 0

Classes

class  tty_to_id

Detailed Description

Definition at line 17 of file tty_glut.H.


Constructor & Destructor Documentation

GLUT_MANAGER::GLUT_MANAGER  )  [inline]
 

Definition at line 69 of file tty_glut.H.

virtual GLUT_MANAGER::~GLUT_MANAGER  )  [inline, virtual]
 

Definition at line 70 of file tty_glut.H.


Member Function Documentation

virtual void GLUT_MANAGER::add FD_EVENT fd  )  [inline, protected, virtual]
 

Implements FD_MANAGER.

Definition at line 202 of file tty_glut.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().

void GLUT_MANAGER::clear_blocker GLUT_WINSYS w  )  [inline]
 

Definition at line 76 of file tty_glut.H.

References _blocker, and GLUT_WINSYS::unblock().

Referenced by GLUIPopUp::hide_glui().

static void GLUT_MANAGER::display_cb  )  [inline, static]
 

Definition at line 56 of file tty_glut.H.

References FD_MANAGER::mgr().

Referenced by GLUT_WINSYS::display_cb().

void GLUT_MANAGER::do_display  )  [inline, protected]
 

Definition at line 188 of file tty_glut.H.

References _blocker, FD_MANAGER::_timeouts, glutGetWindow(), glutSetWindow(), and ARRAY< T >::num().

void GLUT_MANAGER::do_idle  )  [inline, protected]
 

Definition at line 80 of file tty_glut.H.

References _blocker, _frame_timer, _ids, debug, stop_watch::elapsed_time(), Config::get_var_bool(), Config::get_var_int(), glutGetWindow(), glutPostRedisplay(), glutSetWindow(), GLUT_WINSYS::id(), max(), ARRAY< T >::num(), rem(), stop_watch::set(), and VIEWS.

GLUT_WINSYS* GLUT_MANAGER::get_blocker  )  [inline]
 

Definition at line 74 of file tty_glut.H.

References _blocker.

Referenced by GLUIPopUp::hide_glui(), mouse_button_callback(), mouse_motion_callback(), normal_keydown_callback(), normal_keyup_callback(), GLUT_WINSYS::reshape_cb(), and GLUIPopUp::show_glui().

static void GLUT_MANAGER::idle_cb  )  [inline, static]
 

Definition at line 52 of file tty_glut.H.

References FD_MANAGER::mgr().

Referenced by GLUT_WINSYS::idle_cb().

virtual void GLUT_MANAGER::loop int  infinite  )  [inline, protected, virtual]
 

Implements FD_MANAGER.

Definition at line 204 of file tty_glut.H.

References glutMainLoop().

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

Definition at line 73 of file tty.H.

References FD_MANAGER::_mgr.

Referenced by display_cb(), distrib(), GLUIPopUp::hide_glui(), BaseJOTapp::icon(), 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 GLUT_MANAGER::rem FD_EVENT fd  )  [inline, protected, virtual]
 

Implements FD_MANAGER.

Definition at line 203 of file tty_glut.H.

References _ids.

Referenced by do_idle().

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().

void GLUT_MANAGER::set_blocker GLUT_WINSYS w  )  [inline]
 

Definition at line 75 of file tty_glut.H.

References _blocker, and GLUT_WINSYS::block().

Referenced by GLUIPopUp::show_glui().

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

GLUT_WINSYS* GLUT_MANAGER::_blocker [protected]
 

Definition at line 65 of file tty_glut.H.

Referenced by clear_blocker(), do_display(), do_idle(), get_blocker(), and set_blocker().

stop_watch GLUT_MANAGER::_frame_timer [protected]
 

Definition at line 64 of file tty_glut.H.

Referenced by do_idle().

ARRAY<tty_to_id> GLUT_MANAGER::_ids [protected]
 

Definition at line 63 of file tty_glut.H.

Referenced by add(), do_idle(), 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(), do_display(), UNIX_MANAGER::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:45:50 2006 for jot by  doxygen 1.4.4