Questions tagged [abstract-factory]

The abstract factory pattern provides a way to encapsulate a group of individual factories that have a common theme without specifying their concrete classes.

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers

Swift Struct-based Factory Pattern

Edit: I added another configuration vector to CardView, a size attribute, which may be .small or ...
Richard Robinson's user avatar
2 votes
0 answers

Auto-registering CRTP Factory

I'm trying to write a policy based auto-registering class using the Curiously Recurring Template Pattern. I decided as design choice to not using registering macro. Factory Class ...
Moia's user avatar
  • 121
2 votes
0 answers

PDcurses clock using abstract factory design

I am currently learning how to use PDcurses and decided to make a clock with it. **NOTE: this Watch that uses the abstract factory design pattern is not the same as this question!!. This question is a ...
globalturist's user avatar
1 vote
0 answers

Caching wrapper with multi-providers and factory to detect the responsible cache provider related to Type

What I'm trying to do abstract the caching actual cache provider (memory || distributed || ...). enable a caching diversity. each cached item type has different ...
Shrembo's user avatar
  • 151
0 votes
0 answers

Python3 tokenizer abstract baseclass ( Without the permission to be instantiated directly )

Greetings. I'm a newbie python developer, and fortunately I have been introduced to the principle of Abstract base classes and they seemed pretty interesting to tackle while going forward in my python ...
KhodeNima's user avatar
  • 167
0 votes
0 answers

Abstract Factory Design Pattern implementation in C++ using Qt Creator

I am trying to make all the creational design patterns and I'm having some trouble with the abstract factory method. I normally program in Python, however, I had heard C++ was good for really having ...
joshuatvernon's user avatar