<<< Design Pattern C++ Samples | Index | Abstract Factory >>> |
The application should be less dependent on how the objects are created...
...The creational patterns abstract the process of object instantiation.
Common goals of Creational Patterns are:
to encapsulate knowledge about concrete classes that are instantiated
to hide low-level details of creation algorithms from the client
to return class interface back to the client (not a reference to the concrete class.)
to manage concrete object lifecycle.
<<< Design Pattern C++ Samples | Index | Abstract Factory >>> |