Lumiera  0.pre.03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
command-simple-closure.hpp File Reference

Go to the source code of this file.


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

Definition in file command-simple-closure.hpp.


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


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