Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

EVENTkbd Class Reference

#include <kbd.H>

Inherits EVENT.

Inherited by EVENTkbd_2d, and EVENTkbd_3d.

List of all members.

Public Types

enum  mod { NONE = 0, SHIFT = 1, CTRL = 2 }
enum  trans { UP = 0, DOWN = 1, BOTH = 2 }

Public Methods

virtual ~EVENTkbd ()
 EVENTkbd (EVENTsource *s, char c, trans t=DOWN)
 EVENTkbd (EVENTsource *s, char *c, trans t=DOWN)
void debug (ostream &o) const
char * keys () const
trans transition () const
 DEFINE_DERIVED_TYPE (EVENTkbd, EVENT, cEVENTptr)

Static Public Methods

EVENTkbdptr cast (cEVENTptr &e)

Static Public Attributes

const char ANY = 0

Protected Methods

bool compare (cEVENTptr &e) const

Protected Attributes

char * _char
trans _transition


Member Enumeration Documentation

enum EVENTkbd::mod
 

Enumeration values:
NONE 
SHIFT 
CTRL 

enum EVENTkbd::trans
 

Enumeration values:
UP 
DOWN 
BOTH 


Constructor & Destructor Documentation

virtual EVENTkbd::~EVENTkbd   [inline, virtual]
 

EVENTkbd::EVENTkbd EVENTsource   s,
char    c,
trans    t = DOWN
[inline]
 

EVENTkbd::EVENTkbd EVENTsource   s,
char *    c,
trans    t = DOWN
[inline]
 


Member Function Documentation

EVENTkbdptr EVENTkbd::cast cEVENTptr &    e [inline, static]
 

Reimplemented from EVENT.

Reimplemented in EVENTkbd_2d, and EVENTkbd_3d.

bool EVENTkbd::compare cEVENTptr &    e const [protected, virtual]
 

Implements EVENT.

void EVENTkbd::debug ostream &    o const [inline, virtual]
 

Reimplemented from EVENT.

EVENTkbd::DEFINE_DERIVED_TYPE EVENTkbd   ,
EVENT   ,
cEVENTptr   
 

Reimplemented in EVENTkbd_2d, and EVENTkbd_3d.

char* EVENTkbd::keys   const [inline]
 

trans EVENTkbd::transition   const [inline]
 


Member Data Documentation

char* EVENTkbd::_char [protected]
 

trans EVENTkbd::_transition [protected]
 

const char EVENTkbd::ANY = 0 [static]
 


The documentation for this class was generated from the following files:
Generated on Mon Sep 15 16:26:00 2003 for gluebase by doxygen1.2.18