45 namespace controller {
47 Controller::Controller (model::Project& modelProject)
48 : project_(modelProject)
54 ctrl::PlaybackController& Controller::get_playback_controller()
64 : coreService_{
new ctrl::CoreService}
73 UiBus::getAccessPoint()
79 UiBus::getStateManager()
81 return coreService_->getStateManager();
88 CoreService::~CoreService() { }
94 theBus_.routeDetach (this->endpointID_);
114 return BusTerm(identity, theBus_.routeAdd (identity,newNode));
141 theBus_.
act (command);
158 BusTerm::note (ID subject,
GenNode const& mark)
160 theBus_.note (subject,mark);
177 BusTerm::mark (ID subject,
GenNode const& mark)
179 return theBus_.mark (subject,mark);
194 return theBus_.markAll (mark);
213 return theBus_.change(subject, move(diff));
225 return theBus_.
routeAdd (identity, node);
234 BusTerm::routeDetach(ID node) noexcept
236 if (not isShortCircuit(node))
241 BusTerm::operator string()
const 243 return "BusTerm-" + string(endpointID_);
virtual void routeDetach(ID) noexcept
connection point at the UI-Bus.
Under construction: the top level UI controller.
Opaque message to effect a structural change on a target, which is likewise only known in an abstract...
Dedicated service node within the UI-Bus to handle command invocation and presentation state...
Lumiera GTK UI implementation root.
virtual BusTerm & routeAdd(ID, Tangible &)
Interface common to all UI elements of relevance for the Lumiera application.
virtual void act(GenNode const &command)
prepare or trigger invocation of a command.
generic data element node within a tree