command pattern


Command
Command pattern is simply straightforward, and my implementation is one from many other possible variations. The usual,well-known command pattern is created by having: – a base class, interface, with a virtual function (usually called execute or similar) [crayon-5cc0ccbda61aa883391136/] – multiple classes that implement the interface and override the execute function […]

Design patterns – Command