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

Guard_t< EVENT > Class Template Reference

A generic callback Interface for testing a guard condition for an FSA arc. More...

#include <fsa.H>

Inheritance diagram for Guard_t< EVENT >:

Inheritance graph
[legend]
Collaboration diagram for Guard_t< EVENT >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Guard_t ()
 Guard_t (const EVENT &e)
virtual ~Guard_t ()
virtual int exec (const EVENT &e)
virtual int none () const
const EVENT & event () const

Private Attributes

EVENT _e

Detailed Description

template<class EVENT>
class Guard_t< EVENT >

A generic callback Interface for testing a guard condition for an FSA arc.

Definition at line 28 of file fsa.H.


Constructor & Destructor Documentation

template<class EVENT>
Guard_t< EVENT >::Guard_t  )  [inline]
 

Definition at line 32 of file fsa.H.

template<class EVENT>
Guard_t< EVENT >::Guard_t const EVENT &  e  )  [inline]
 

Definition at line 33 of file fsa.H.

template<class EVENT>
virtual Guard_t< EVENT >::~Guard_t  )  [inline, virtual]
 

Definition at line 34 of file fsa.H.


Member Function Documentation

template<class EVENT>
const EVENT& Guard_t< EVENT >::event  )  const [inline]
 

Definition at line 38 of file fsa.H.

template<class EVENT>
virtual int Guard_t< EVENT >::exec const EVENT &  e  )  [inline, virtual]
 

Reimplemented in GuardFunc_t< EVENT >, GuardMeth_t< T, EVENT >, GarbageGuard, TapGuard, DslashGuard, TslashGuard, DoubleTapGuard, ScribbleGuard, CircleGuard, SmallCircleGuard, ClickHoldGuard, and StrokeGuard.

Definition at line 36 of file fsa.H.

Referenced by GuardMeth_t< T, EVENT >::exec(), and GuardFunc_t< EVENT >::exec().

template<class EVENT>
virtual int Guard_t< EVENT >::none  )  const [inline, virtual]
 

Reimplemented in GuardFunc_t< EVENT >, and GuardMeth_t< T, EVENT >.

Definition at line 37 of file fsa.H.


Member Data Documentation

template<class EVENT>
EVENT Guard_t< EVENT >::_e [private]
 

Definition at line 42 of file fsa.H.

Referenced by Guard_t< GESTUREptr >::event(), and Guard_t< GESTUREptr >::exec().


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