#include <gest_int.H>
Inheritance diagram for GEST_INT:
Public Types | |
typedef CallMeth_t< Simple_int, Event > | _callb |
typedef GuardMeth_t< Simple_int, Event > | _guard |
Public Member Functions | |
GEST_INT (CVIEWptr &view, CEvent &d, CEvent &m, CEvent &u, CEvent &d2, CEvent &u2) | |
virtual | ~GEST_INT () |
void | rem_obs (GestObs *g) |
void | add_obs (GestObs *g) |
void | reset () |
void | set_drawer (GestureDrawer *drawer) |
GestureDrawer * | drawer () |
void | set_keep_history (bool b) |
bool | keep_history () |
void | start_history () |
GESTUREptr | gesture (int k) const |
GESTUREptr | last () const |
virtual int | null_cb (CEvent &, State *&) |
virtual int | down (CEvent &, State *&) |
virtual int | move (CEvent &, State *&) |
virtual int | up (CEvent &, State *&) |
virtual void | notify (CCAMdataptr &data) |
virtual int | tick () |
virtual void | setIndex (int idx) |
virtual int | getIndex () const |
void | Own () const |
void | Free () const |
int | Lock () |
void | Unlock () |
int | Unique () const |
virtual void | notify_manip_start (CCAMdataptr &data) |
virtual void | notify_manip_end (CCAMdataptr &data) |
virtual int | noop (CEvent &, State *&) |
virtual void | add_events (CEvent &d, CEvent &m, CEvent &u) |
_callb * | Cb (TYPENAME _callb::_method m) |
_callb * | Cb (TYPENAME _callb::_method m, State_t< Event > *s) |
_guard * | Gd (const Event &e, TYPENAME _guard::_method m) |
State * | entry () |
const State * | entry () const |
Protected Member Functions | |
void | activate () |
void | deactivate () |
Protected Attributes | |
VIEWptr | _view |
ARRAY< GestObs * > | _obs |
GESTURE_list | _stack |
GestureDrawer * | _drawer |
FSA | _fsa |
State | _b2_pressed |
bool | _keep_history |
int | _num_history |
int | _index |
State | _manip_move |
CAMptr | _cam |
State | _entry |
Definition at line 57 of file gest_int.H.
|
|
|
|
|
Definition at line 11 of file gest_int.C. References _b2_pressed, Interactor< Simple_int, Event, State >::_entry, _obs, _stack, _view, ARRAY< T >::begin_index(), Interactor< Simple_int, Event, State >::Cb(), null_cb(), and ARRAY< T >::set_unique(). |
|
Definition at line 80 of file gest_int.H. References ERR_LEV_SPAM, and err_mesg(). |
|
Definition at line 64 of file gest_int.C. References _fsa, _view, VIEWint::add_interactor(), and VIEWint_list::get(). Referenced by add_obs(). |
|
Definition at line 42 of file manip.C. References Interactor< Simple_int, Event, State >::_entry, Simple_int::_manip_move, Interactor< Simple_int, Event, State >::Cb(), Simple_int::down(), Simple_int::move(), and Simple_int::up(). |
|
Definition at line 57 of file gest_int.C. References _obs, and activate(). |
|
|
|
Definition at line 393 of file fsa.H. Referenced by Simple_int::add_events(), Pen::create_fsa(), GEST_INT(), Screen_pan_int::Screen_pan_int(), and Simple_int::Simple_int(). |
|
Definition at line 74 of file gest_int.C. References _fsa, _view, VIEWint_list::get(), and VIEWint::rem_interactor(). Referenced by rem_obs(). |
|
Reimplemented from Simple_int. Definition at line 84 of file gest_int.C. References Evd::_d, _drawer, _obs, _stack, _view, BufferRefImage::add(), DEVice_2d::cur(), BufferRefImage::is_observing(), ARRAY< T >::last(), BufferRefImage::lookup(), GEOM::null, ARRAY< T >::num(), DEVice_2d::pressure(), DEVice_buttons::ptr2d(), ray_geom(), and Event::view(). |
|
Definition at line 95 of file gest_int.H. References _drawer. |
|
|
|
|
|
Definition at line 76 of file ref.H. References REFcounter::_mutex, REFcounter::_u, and REF_ME. |
|
|
|
Definition at line 107 of file gest_int.H. References _stack, and ARRAY< T >::valid_index(). Referenced by last(), and GESTURE::prev(). |
|
Definition at line 45 of file gel.H. References FRAMEobs::_index. |
|
Definition at line 102 of file gest_int.H. References _keep_history. |
|
Definition at line 110 of file gest_int.H. References _stack, gesture(), and ARRAY< T >::num(). |
|
Definition at line 105 of file ref.H. References REFcounter::_mutex, and REFcounter::_u. Referenced by REFlock::REFlock(). |
|
Reimplemented from Simple_int. Definition at line 122 of file gest_int.C. References _stack, DEVice_2d::cur(), debug, ARRAY< T >::empty(), err_adv(), Config::get_var_dbl(), ARRAY< T >::last(), DEVice_2d::last, MIN_DIST, and DEVice_2d::pressure(). |
|
|
|
Implements CAMobs. Definition at line 200 of file gest_int.C. References _stack, _view, ARRAY< T >::clear(), debug, ARRAY< T >::empty(), err_adv(), BufferRefImage::is_observing(), ARRAY< T >::last(), BufferRefImage::lookup(), and BufferRefImage::rem(). |
|
|
|
|
|
Definition at line 112 of file gest_int.H. Referenced by GEST_INT(). |
|
Definition at line 59 of file ref.H. References REFcounter::_mutex, REFcounter::_u, and REF_ME. |
|
Definition at line 49 of file gest_int.C. References _obs, deactivate(), and ARRAY< T >::empty(). |
|
Definition at line 91 of file gest_int.H. References _fsa, and FSAT< EVENT >::reset(). Referenced by Pen::notify_gesture(). |
|
Definition at line 94 of file gest_int.H. References _drawer. |
|
Definition at line 97 of file gest_int.H. References _keep_history, ERR_LEV_SPAM, and err_mesg(). |
|
Definition at line 44 of file gel.H. References FRAMEobs::_index. |
|
Definition at line 180 of file gest_int.C. References _keep_history, _num_history, _stack, ERR_LEV_SPAM, err_mesg(), and ARRAY< T >::num(). |
|
Reimplemented from FRAMEobs. Definition at line 221 of file gest_int.C. |
|
Definition at line 115 of file ref.H. References REFcounter::_mutex, and REFcounter::_u. |
|
Definition at line 111 of file ref.H. References REFcounter::_mutex, and REFcounter::_u. Referenced by REFlock::~REFlock(). |
|
Reimplemented from Simple_int. Definition at line 149 of file gest_int.C. References _obs, _stack, _view, debug, ARRAY< T >::empty(), err_adv(), BufferRefImage::is_observing(), ARRAY< T >::last(), DEVice_2d::last, BufferRefImage::lookup(), ARRAY< T >::num(), and BufferRefImage::rem(). |
|
Definition at line 65 of file gest_int.H. Referenced by GEST_INT(). |
|
|
|
Definition at line 62 of file gest_int.H. Referenced by down(), drawer(), and set_drawer(). |
|
Definition at line 407 of file fsa.H. Referenced by Pen::activate(), Simple_int::add_events(), Pen::deactivate(), FilmTrans::FilmTrans(), GEST_INT(), MMENU::invoke(), Pen::Pen(), Screen_pan_int::Screen_pan_int(), and Simple_int::Simple_int(). |
|
Definition at line 63 of file gest_int.H. Referenced by activate(), deactivate(), and reset(). |
|
Definition at line 37 of file gel.H. Referenced by FRAMEobs::getIndex(), and FRAMEobs::setIndex(). |
|
Definition at line 68 of file gest_int.H. Referenced by keep_history(), set_keep_history(), and start_history(). |
|
Definition at line 35 of file manip.H. Referenced by Simple_int::add_events(), FilmTrans::FilmTrans(), and Simple_int::Simple_int(). |
|
Definition at line 70 of file gest_int.H. Referenced by start_history(). |
|
Definition at line 60 of file gest_int.H. Referenced by add_obs(), down(), GEST_INT(), rem_obs(), and up(). |
|
Definition at line 61 of file gest_int.H. Referenced by down(), GEST_INT(), gesture(), last(), move(), notify(), start_history(), and up(). |
|
Definition at line 59 of file gest_int.H. Referenced by activate(), deactivate(), down(), GEST_INT(), notify(), and up(). |