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

xchen::KeyBoard Class Reference

#include <KeyBoard.H>

List of all members.

Public Methods

 KeyBoard ()
void PrintRegisteredKey () const
void operator() (KeyValue key, int x=-1, int y=-1)
KeyValue Insert (KeyEventCB cb, KeyValue key, ConvertedKeyValue key_prime)
 The generalized keyboard event.

KeyValue Insert (KeyEventCB cb, KeyValue key)
 The ordinary keyboard event.


Static Public Methods

void null_cb (ConvertedKeyValue k, int x, int y)
 a keyboard callback function doing nothing.

void keyboard (unsigned char key, int x, int y)
 Use this to register Cglut keyboard callback.


Constructor & Destructor Documentation

xchen::KeyBoard::KeyBoard   [inline]
 


Member Function Documentation

KeyValue xchen::KeyBoard::Insert KeyEventCB    cb,
KeyValue    key
[inline]
 

The ordinary keyboard event.

KeyValue xchen::KeyBoard::Insert KeyEventCB    cb,
KeyValue    key,
ConvertedKeyValue    key_prime
 

The generalized keyboard event.

void xchen::KeyBoard::keyboard unsigned char    key,
int    x,
int    y
[static]
 

Use this to register Cglut keyboard callback.

void xchen::KeyBoard::null_cb ConvertedKeyValue    k,
int    x,
int    y
[inline, static]
 

a keyboard callback function doing nothing.

void xchen::KeyBoard::operator() KeyValue    key,
int    x = -1,
int    y = -1
 

void xchen::KeyBoard::PrintRegisteredKey  
 


The documentation for this class was generated from the following file:
Generated on Wed Apr 7 21:40:51 2004 by doxygen1.2.18