Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
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 127 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 ()=default
 
 NonCopyable ()=default
 
 NonCopyable (NonCopyable const &)=delete
 
NonCopyableoperator= (NonCopyable const &)=delete
 

Constructor & Destructor Documentation

◆ ~Subject()

~Subject ( )
protectedvirtual

this is an interface

Definition at line 66 of file cmd-context.cpp.

Member Typedef Documentation

◆ Buffer

Member Function Documentation

◆ buildGestureObserver()

virtual void buildGestureObserver ( Symbol  cmdID,
Buffer   
)
pure virtual

prompt the Subject to build an Observer for the gesture in formation

Implemented in ClipPresenter.

Referenced by DragRelocateController::initGestureTracking().

+ Here is the caller graph for this function:

◆ exposeWidget()

virtual Gtk::Widget & exposeWidget ( )
pure virtual

the exposed widget can be used for wiring signal handlers

Implemented in ClipPresenter.

Referenced by DragRelocateController::linkTrigger().

+ Here is the caller graph for this function:
+ Inheritance diagram for Subject:
+ Collaboration diagram for Subject:

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