Lumiera  0.pre.03
»edityourfreedom«
command-simple-closure.hpp File Reference

Go to the source code of this file.

Description

Proof-of-concept implementation of CmdClosure.

This is used for test only, to invoke an arbitrary matching functor with arguments stored embedded within this closure. In the real system, a more elaborate version of the same concept is used, with the additional complication of managing the UNDO operation as well.

historical note
This proof-of-concept variation was split off in an attempt to improve the overall design of the command / closure system. The original design had the embedded argument holder also implement the CmdClosure interface, which is a clever implementation and code-reuse trick, but otherwise caused confusion.
See also
Ticket #301
CommandMutation_test
StorageHolder
OpClosure

Definition in file command-simple-closure.hpp.

Classes

class  SimpleClosure< SIG >
 Dummy / proof-of-concept implementation of CmdClosure. More...
 

Namespaces

 proc
 Proc-Layer implementation namespace root.
 
 proc::control
 Proc-Layer dispatcher, controller and administrative facilities.