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

kbd_nav Class Reference

#include <kbd_nav.H>

Inheritance diagram for kbd_nav:

Inheritance graph
[legend]
Collaboration diagram for kbd_nav:

Collaboration graph
[legend]
List of all members.

Public Types

typedef CallMeth_t< Key_int,
Event
_callb
typedef GuardMeth_t< Key_int,
Event
_guard

Public Member Functions

 kbd_nav (VIEWptr &)
int tick (void)
int down (CEvent &e, State *&)
int up (CEvent &e, State *&)
void step_right (int rate)
void step_left (int rate)
void step_front (int rate)
void step_back (int rate)
void step_up (int rate)
void step_down (int rate)
void step_tilt_up (int rate)
void step_tilt_down (int rate)
void step_rot_left (int rate)
void step_rot_right (int rate)
virtual void setIndex (int idx)
virtual int getIndex () const
void Own () const
void Free () const
int Lock ()
void Unlock ()
int Unique () const
void add_event (char k[], State *start)
void add_event (char k, State *start)
_callbCb (TYPENAME _callb::_method m)
_callbCb (TYPENAME _callb::_method m, State_t< Event > *s)
_guardGd (const Event &e, TYPENAME _guard::_method m)
Stateentry ()
const Stateentry () const

Protected Attributes

int _kmap [256]
CAMdataptr _data
int _speed_lr
int _speed_fb
int _speed_ud
int _speed_tilt
int _speed_rot
int _index
State _key_down
State _entry

Detailed Description

Definition at line 10 of file kbd_nav.H.


Member Typedef Documentation

typedef CallMeth_t<Key_int ,Event > Interactor< Key_int , Event , State >::_callb [inherited]
 

Definition at line 388 of file fsa.H.

typedef GuardMeth_t<Key_int ,Event > Interactor< Key_int , Event , State >::_guard [inherited]
 

Definition at line 389 of file fsa.H.


Constructor & Destructor Documentation

kbd_nav::kbd_nav VIEWptr &   ) 
 

Definition at line 27 of file kbd_nav.C.

References Interactor< Key_int, Event, State >::_entry, _kmap, _speed_fb, _speed_lr, _speed_rot, _speed_tilt, _speed_ud, VIEWint_list::add(), Interactor< Key_int, Event, State >::Cb(), Key_int::down(), KEYD, KEYU, and Key_int::up().


Member Function Documentation

void Key_int::add_event char  k,
State start
[inherited]
 

Definition at line 80 of file manip.C.

References Interactor< Key_int, Event, State >::_entry, Key_int::_key_down, Interactor< Key_int, Event, State >::Cb(), Key_int::down(), KEYD, KEYU, and Key_int::up().

void Key_int::add_event char  k[],
State start
[inherited]
 

Referenced by Key_int::Key_int(), and Simple_Keyboard::Simple_Keyboard().

_callb* Interactor< Key_int , Event , State >::Cb TYPENAME _callb::_method  m,
State_t< Event > *  s
[inline, inherited]
 

Definition at line 396 of file fsa.H.

_callb* Interactor< Key_int , Event , State >::Cb TYPENAME _callb::_method  m  )  [inline, inherited]
 

Definition at line 393 of file fsa.H.

Referenced by Key_int::add_event(), and kbd_nav().

int kbd_nav::down CEvent e,
State *& 
[inline, virtual]
 

Reimplemented from Key_int.

Definition at line 24 of file kbd_nav.H.

References Evd::_c, _kmap, and int().

const State * Interactor< Key_int , Event , State >::entry  )  const [inline, inherited]
 

Definition at line 403 of file fsa.H.

State * Interactor< Key_int , Event , State >::entry  )  [inline, inherited]
 

Definition at line 402 of file fsa.H.

void REFcounter::Free  )  const [inline, inherited]
 

Definition at line 76 of file ref.H.

References REFcounter::_mutex, REFcounter::_u, and REF_ME.

_guard* Interactor< Key_int , Event , State >::Gd const Event e,
TYPENAME _guard::_method  m
[inline, inherited]
 

Definition at line 399 of file fsa.H.

virtual int FRAMEobs::getIndex  )  const [inline, virtual, inherited]
 

Definition at line 45 of file gel.H.

References FRAMEobs::_index.

int REFcounter::Lock  )  [inline, inherited]
 

Definition at line 105 of file ref.H.

References REFcounter::_mutex, and REFcounter::_u.

Referenced by REFlock::REFlock().

void REFcounter::Own  )  const [inline, inherited]
 

Definition at line 59 of file ref.H.

References REFcounter::_mutex, REFcounter::_u, and REF_ME.

virtual void FRAMEobs::setIndex int  idx  )  [inline, virtual, inherited]
 

Definition at line 44 of file gel.H.

References FRAMEobs::_index.

void kbd_nav::step_back int  rate  )  [inline]
 

Definition at line 30 of file kbd_nav.H.

References _speed_fb.

Referenced by tick().

void kbd_nav::step_down int  rate  )  [inline]
 

Definition at line 32 of file kbd_nav.H.

References _speed_ud.

Referenced by tick().

void kbd_nav::step_front int  rate  )  [inline]
 

Definition at line 29 of file kbd_nav.H.

References _speed_fb.

Referenced by tick().

void kbd_nav::step_left int  rate  )  [inline]
 

Definition at line 28 of file kbd_nav.H.

References _speed_lr.

Referenced by tick().

void kbd_nav::step_right int  rate  )  [inline]
 

Definition at line 27 of file kbd_nav.H.

References _speed_lr.

Referenced by tick().

void kbd_nav::step_rot_left int  rate  )  [inline]
 

Definition at line 35 of file kbd_nav.H.

References _speed_rot.

Referenced by tick().

void kbd_nav::step_rot_right int  rate  )  [inline]
 

Definition at line 36 of file kbd_nav.H.

References _speed_rot.

Referenced by tick().

void kbd_nav::step_tilt_down int  rate  )  [inline]
 

Definition at line 34 of file kbd_nav.H.

References _speed_tilt.

Referenced by tick().

void kbd_nav::step_tilt_up int  rate  )  [inline]
 

Definition at line 33 of file kbd_nav.H.

References _speed_tilt.

Referenced by tick().

void kbd_nav::step_up int  rate  )  [inline]
 

Definition at line 31 of file kbd_nav.H.

References _speed_ud.

Referenced by tick().

int kbd_nav::tick void   )  [virtual]
 

Reimplemented from FRAMEobs.

Definition at line 47 of file kbd_nav.C.

References _data, _kmap, _speed_fb, _speed_lr, _speed_rot, _speed_tilt, _speed_ud, DOWN_SHIFT, Config::get_var_bool(), int(), project(), sqr(), sqr_signed(), step_back(), STEP_BACK, step_down(), STEP_DOWN, step_front(), STEP_FRONT, step_left(), STEP_LEFT, step_right(), STEP_RIGHT, step_rot_left(), step_rot_right(), STEP_ROTLEFT, STEP_ROTRIGHT, step_tilt_down(), step_tilt_up(), STEP_TILTDOWN, STEP_TILTUP, step_up(), and STEP_UP.

int REFcounter::Unique  )  const [inline, inherited]
 

Definition at line 115 of file ref.H.

References REFcounter::_mutex, and REFcounter::_u.

void REFcounter::Unlock  )  [inline, inherited]
 

Definition at line 111 of file ref.H.

References REFcounter::_mutex, and REFcounter::_u.

Referenced by REFlock::~REFlock().

int kbd_nav::up CEvent e,
State *& 
[inline, virtual]
 

Reimplemented from Key_int.

Definition at line 25 of file kbd_nav.H.

References Evd::_c, _kmap, and int().


Member Data Documentation

CAMdataptr kbd_nav::_data [protected]
 

Definition at line 13 of file kbd_nav.H.

Referenced by tick().

State Interactor< Key_int , Event , State >::_entry [protected, inherited]
 

Definition at line 407 of file fsa.H.

Referenced by Key_int::add_event(), kbd_nav(), Key_int::Key_int(), and Simple_Keyboard::Simple_Keyboard().

int FRAMEobs::_index [protected, inherited]
 

Definition at line 37 of file gel.H.

Referenced by FRAMEobs::getIndex(), and FRAMEobs::setIndex().

State Key_int::_key_down [protected, inherited]
 

Definition at line 19 of file manip.H.

Referenced by Key_int::add_event().

int kbd_nav::_kmap[256] [protected]
 

Definition at line 12 of file kbd_nav.H.

Referenced by down(), kbd_nav(), tick(), and up().

int kbd_nav::_speed_fb [protected]
 

Definition at line 14 of file kbd_nav.H.

Referenced by kbd_nav(), step_back(), step_front(), and tick().

int kbd_nav::_speed_lr [protected]
 

Definition at line 14 of file kbd_nav.H.

Referenced by kbd_nav(), step_left(), step_right(), and tick().

int kbd_nav::_speed_rot [protected]
 

Definition at line 14 of file kbd_nav.H.

Referenced by kbd_nav(), step_rot_left(), step_rot_right(), and tick().

int kbd_nav::_speed_tilt [protected]
 

Definition at line 14 of file kbd_nav.H.

Referenced by kbd_nav(), step_tilt_down(), step_tilt_up(), and tick().

int kbd_nav::_speed_ud [protected]
 

Definition at line 14 of file kbd_nav.H.

Referenced by kbd_nav(), step_down(), step_up(), and tick().


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