![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
#include "stage/ctrl/state-manager.hpp"
Interface: handling of persistent interface state.
Operations to retrieve previously captured state and to re-play this state towards the originating UI-elements. It is assumed that the actual implementation is connected to the UI-Bus and captures state mark notifications. State is first grouped by ID of the originating interface element, and recorded per distinct property within each element.
Definition at line 70 of file state-manager.hpp.
Public Member Functions | |
| virtual StateMark | currentState (ID uiElm, string propertyKey) const =0 |
| virtual void | replayState (ID uiElm, string propertyKey)=0 |
| virtual void | replayAllState ()=0 |
| virtual void | replayAllState (string propertyKey)=0 |
| virtual void | replayAllProperties (ID uiElm)=0 |
| virtual void | clearState ()=0 |
Protected Types | |
| using | ID = lib::idi::BareEntryID const & |
| using | StateMark = lib::diff::GenNode const & |
Protected Member Functions | |
| virtual | ~StateManager () |
| this is an interface | |
Additional Inherited Members | |
Private Member Functions inherited from NonCopyable | |
| ~NonCopyable ()=default | |
| NonCopyable ()=default | |
| NonCopyable (NonCopyable const &)=delete | |
| NonCopyable & | operator= (NonCopyable const &)=delete |
|
protectedvirtual |
this is an interface
Definition at line 38 of file ui-state.cpp.
|
protected |
Definition at line 76 of file state-manager.hpp.
|
protected |
Definition at line 77 of file state-manager.hpp.
Implemented in StateRecorder.
|
pure virtual |
Implemented in StateRecorder.
|
pure virtual |
Implemented in StateRecorder.
|
pure virtual |
Implemented in StateRecorder.
|
pure virtual |
Implemented in StateRecorder.
|
pure virtual |
Implemented in StateRecorder.
Inheritance diagram for StateManager:
Collaboration diagram for StateManager: