Contents:
FlyweightFactory manages the Flyweight objects and ensures their reuse.
Public Functions
Retrieves a Flyweight instance with the given intrinsic state. If no such instance exists, it creates one.
intrinsicState – The intrinsic state of the Flyweight.
A shared pointer to the Flyweight instance.
Displays all intrinsic states managed by the factory.