Lumiera  0.pre.03
»edit your freedom«
GestureObserver Class Referenceabstract

#include "stage/interact/cmd-context.hpp"

Description

Collaboration interface for tracking the formation of a gesture.

The Subject (of the Gesture) provides an actual GestureObserver as an adapter, and the gesture controller uses this adapter to push events to track and form the gesture. When the conditions for completing the gesture are met, the Subject will be notified through this adapter and might issue a command to propagate the results of the gesture, while the gesture controller, after this notification, proceeds to disable and discard the gesture context and return to passive mode, waiting for the next trigger condition.

Definition at line 88 of file cmd-context.hpp.

Public Member Functions

 GestureObserver (Symbol cmdID)
 
 GestureObserver (GestureObserver &&)=default
 
virtual ~GestureObserver ()
 this is an interface
 
Symbol getCmdID () const
 
virtual void markGestureCompleted ()=0
 
GestureObserveroperator= (GestureObserver &&)=default
 
virtual void updateOffset (double deltaX, double deltaY)=0
 

Private Attributes

Symbol cmdID_
 

Additional Inherited Members

- Protected Member Functions inherited from MoveAssign
 MoveAssign (MoveAssign &&)=default
 
 MoveAssign (MoveAssign const &)=delete
 
MoveAssignoperator= (MoveAssign &&)=default
 
MoveAssignoperator= (MoveAssign const &)=delete
 
+ Inheritance diagram for GestureObserver:
+ Collaboration diagram for GestureObserver:

The documentation for this class was generated from the following files: