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

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

Description

Role-Interface: the Subject of Interaction.

An entity implementing the Subject interface can be targeted by gestures, finally leading to the invocation of a specific command on that subject, with parameters picked up from the gesture invocation (e.g dragging).

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

Public Types

using Buffer = lib::PlantingHandle< GestureObserver, InactiveObserver >
 

Public Member Functions

virtual void buildGestureObserver (Symbol cmdID, Buffer)=0
 prompt the Subject to build an Observer for the gesture in formation
 
virtual Gtk::Widget & exposeWidget ()=0
 the exposed widget can be used for wiring signal handlers
 

Protected Member Functions

virtual ~Subject ()
 this is an interface
 

Additional Inherited Members

- Private Member Functions inherited from NonCopyable
 NonCopyable (NonCopyable const &)=delete
 
NonCopyableoperator= (NonCopyable const &)=delete
 
+ Inheritance diagram for Subject:
+ Collaboration diagram for Subject:

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