Back to Browse

The Delegate - a Command Passing design pattern

99 views
Oct 28, 2023
7:15

The delegate design patter allows one part of the program (the commander) to send an order to another part of the program (the executor) by passing a function (the delegate) as a parameter. This video will define the delegate design patter and give several examples of it in use. https://he.kendallhunt.com/product/software-design 0:00 Introduction 0:20 Definition of the Delegate 1:09 Invocation Strategies 1:50 Invocation Strategy - Commander Context 2:41 Invocation Strategy - Executor Context 3:10 Invocation Strategy - Queueing 3:37 Invocation Strategy - Redo 3:52 Example - Ship Movement Design 4:41 Example - Copy to Clipboard JavaScript 5:24 Example - OpenGL in C++ 6:10 Example - Priority Queue in C++ 7:05 Conclusion

Download

0 formats

No download links available.

The Delegate - a Command Passing design pattern | NatokHD