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

TabletQueue Class Reference

#include <tablet.H>

Collaboration diagram for TabletQueue:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TabletQueue ()
virtual ~TabletQueue ()
int empty ()
void reset ()
void enqueue (TabletEvent &event)
TabletEvent dequeue ()

Protected Member Functions

void do_enqueue (TabletEvent &event)

Protected Attributes

int _length
TabletEvent_queue
int _head
int _tail

Detailed Description

Definition at line 79 of file tablet.H.


Constructor & Destructor Documentation

TabletQueue::TabletQueue  )  [inline]
 

Definition at line 88 of file tablet.H.

References _length, and _queue.

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

Definition at line 90 of file tablet.H.

References _queue.


Member Function Documentation

TabletEvent TabletQueue::dequeue  ) 
 

Definition at line 273 of file tablet.C.

References _head, _length, _queue, and empty().

Referenced by TabletMultimode::sample().

void TabletQueue::do_enqueue TabletEvent event  )  [protected]
 

Definition at line 230 of file tablet.C.

References _head, _length, _queue, and _tail.

Referenced by enqueue().

int TabletQueue::empty  )  [inline]
 

Definition at line 92 of file tablet.H.

References _head, and _tail.

Referenced by dequeue(), enqueue(), and TabletMultimode::sample().

void TabletQueue::enqueue TabletEvent event  ) 
 

Definition at line 246 of file tablet.C.

References _length, _queue, _tail, do_enqueue(), empty(), TabletEvent::get_buttons(), and TabletEvent::touching_tablet().

Referenced by TabletMultimode::enqueue_available_tablet_events().

void TabletQueue::reset  )  [inline]
 

Definition at line 93 of file tablet.H.

References _head, and _tail.

Referenced by TabletMultimode::reset(), and TabletMultimode::TabletMultimode().


Member Data Documentation

int TabletQueue::_head [protected]
 

Definition at line 84 of file tablet.H.

Referenced by dequeue(), do_enqueue(), empty(), and reset().

int TabletQueue::_length [protected]
 

Definition at line 82 of file tablet.H.

Referenced by dequeue(), do_enqueue(), enqueue(), and TabletQueue().

TabletEvent* TabletQueue::_queue [protected]
 

Definition at line 83 of file tablet.H.

Referenced by dequeue(), do_enqueue(), enqueue(), TabletQueue(), and ~TabletQueue().

int TabletQueue::_tail [protected]
 

Definition at line 84 of file tablet.H.

Referenced by do_enqueue(), empty(), enqueue(), and reset().


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