Design Patterns - The Extensible Factory Pattern in C++ | Register Objects at Runtime
►Software Design and Design Patterns Playlist: • C++ Software Design and Design Patterns ►Find full courses on: https://courses.mshah.io/ ►Join as Member to Support the channel: / @mikeshah ►Git Repo: https://github.com/MikeShah/DesignPat... ►Lesson Description: In this lesson I present to you an even more powerful version of the factory, in which you can extend and register objects at run-time in your factories. This makes your factories even more powerful, as clients can derive objects from your base classes, and then register them so they are created from the same factory you provide. If you'd like to review a previous iteration of the factory pattern, you can do so here: • Design Patterns - Factory Method Pattern ... 00:00 Introduction and refresher on factory pattern 1:10 Utilizing run-time polymorphism for factory 2:10 Extensible Factory allows you to add objects at runtime 3:20 Refresher of IGameObject 4:05 The Create Function in derived types 5:10 Example of a user created type derived from IGameObject 6:15 The Extensible Factory Interface 7:35 Using a callback function as a parameter in a map 8:33 Map storing how to create types 10:30 Implementation of Extensible Factory 12:17 Registering new types 13:00 Using our factory 14:25 GDB walkthrough to show working extensible factory 16:40 Conclusion and wrap up ►YouTube Channel: / mikeshah ►Please like and subscribe to help the channel! ►Join our free community: https://courses.mshah.io/communities/...

Design Patterns - Iterator Pattern Explanation and usage with STL in C++

Design Patterns - Factory Method Pattern Explanation and Implementation in C++

I am done with Golang

Design Patterns - Factory Method Pattern Adding More Power to Count Allocated Objects in C++

C++ Strategy Design Pattern - Part 1 of 2 - Changing Algorithmic Behavior

Design Patterns - Singleton Pattern | Explanation and Implementation in C++

Factory Method Pattern – Design Patterns (ep 4)

Design Patterns: Facts and Misconceptions - Klaus Iglberger - CppCon 2021

The Cost of Concurrency Coordination with Jon Gjengset

We let AI buy a robot and a car, it does exactly what experts warned.

The Observer Design Pattern in C++ - Part 1 of n - A simple implementation

Design Patterns - Command Pattern Explanation and Implementation in C++

C++ Tutorial: the factory design pattern

We're 99.9% sure this pattern is true, but no one can prove it

The Observer Design Pattern in C++ - Part 4 of n - Notify Specific System

10 Design Patterns Explained in 10 Minutes

China Just Built What TSMC Said Was Impossible

Making and Working with Libraries in C++ (Multiple Projects in Visual Studio)

