Lumiera
0.pre.03
»edit your freedom«
|
a defunct interface backbone. All UI-Bus operations are implemented NOP, but warning on STDRR and logging the invocation to the internal log of [TestNexus]. This allows to set up deceased entities within a test rigged UI.
Definition at line 259 of file test-nexus.cpp.
Public Member Functions | |
ZombieNexus (string formerID, BusTerm &homeland) | |
fabricate a "dead terminal", marked as deceased, viciously connected to itself. More... | |
Public Member Functions inherited from BusTerm | |
BusTerm (BusTerm &&)=default | |
may be moved, but not copied, due to the embedded identity | |
virtual | ~BusTerm () |
this is an interface More... | |
BusTerm | attach (ID, Tangible &newNode) |
Builder function: establish and wire a new BusTerm. More... | |
ID | getID () const |
void | note (GenNode const &mark) |
record state mark from this subject | |
Private Member Functions | |
virtual void | act (GenNode const &command) |
prepare or trigger invocation of a command. More... | |
virtual bool | change (ID subject, MutationMessage &&diff) override |
alter and reshape the designated subject by applying the given diff message. More... | |
EventLog & | log () |
virtual bool | mark (ID subject, GenNode const &mark) override |
route a state update or notification to the given subject. More... | |
virtual size_t | markAll (GenNode const &mark) override |
broadcast a notification message to all currently connected bus terminals. More... | |
virtual void | note (ID subject, GenNode const &mark) override |
capture and record a "state mark" for later replay for restoring UI state. More... | |
virtual | operator string () const |
virtual BusTerm & | routeAdd (ID identity, Tangible &newNode) override |
virtual void | routeDetach (ID node) noexcept override |
Additional Inherited Members | |
Public Types inherited from BusTerm | |
using | ID = EntryID const & |
Protected Types inherited from BusTerm | |
using | EntryID = lib::idi::BareEntryID |
using | Tangible = stage::model::Tangible |
Protected Member Functions inherited from BusTerm | |
BusTerm (ID identity, BusTerm &attached_to) | |
bool | isShortCircuit (ID) const noexcept |
Protected Attributes inherited from BusTerm | |
EntryID | endpointID_ |
BusTerm & | theBus_ |
|
inline |
fabricate a "dead terminal", marked as deceased, viciously connected to itself.
Definition at line 346 of file test-nexus.cpp.
|
inlineprivatevirtual |
prepare or trigger invocation of a command.
command | a GenNode either holding command parameters |
Reimplemented from BusTerm.
Definition at line 274 of file test-nexus.cpp.
|
inlineoverrideprivatevirtual |
capture and record a "state mark" for later replay for restoring UI state.
subject | the endpoint-ID of the emitting element |
mark | the actual state update or notification message to be remembered |
Reimplemented from BusTerm.
Definition at line 282 of file test-nexus.cpp.
|
inlineoverrideprivatevirtual |
route a state update or notification to the given subject.
subject | the endpoint-ID of the element to address |
mark | the actual state update or notification message to be delivered |
true
if the target was known and the mark operation dispatched. Reimplemented from BusTerm.
Definition at line 292 of file test-nexus.cpp.
|
inlineoverrideprivatevirtual |
broadcast a notification message to all currently connected bus terminals.
mark | the actual state update or notification message to be delivered |
Reimplemented from BusTerm.
Definition at line 301 of file test-nexus.cpp.
|
inlineoverrideprivatevirtual |
alter and reshape the designated subject by applying the given diff message.
diff | encapsulated representation of a concrete diff sequence for the target. |
true
if the target was known and the diff was applied without accident, false
if no diff was applied because the desired target is unconnected. lumiera::error::State | when diff application fails due to the target's shape or state being different than implicitly assumed by the given diff. |
Reimplemented from BusTerm.
Definition at line 310 of file test-nexus.cpp.
establish new down-link connection form UI-Bus
node | reference to the [Tangible] to be connected. |
Reimplemented from BusTerm.
Definition at line 319 of file test-nexus.cpp.
|
inlineoverrideprivatevirtualnoexcept |
disable down-link connection
Reimplemented from BusTerm.
Definition at line 328 of file test-nexus.cpp.