Questions tagged [strategy-pattern]
The strategy-pattern tag has no usage guidance.
3
questions with no upvoted or accepted answers
1
vote
0
answers
70
views
Is it bad practice to specialize template method to implement strategy pattern in C++?
I came across a class that implements a kind of "strategy pattern" with a concrete implementation defined inside the main class as a template method.
#include <iostream>
struct ObjA {
...
0
votes
0
answers
43
views
Combining Strategy and Decorator pattern (see GOF) to Spectrogram computation
I'm trying to design and develop a software (part of a bigger application) that should compute and render a spectrogram.
The spectrogram can be rendered either from live microphone or a file (assuming ...
-2
votes
1
answer
109
views
Modify method behaviour at runtime
I have a scenario where user has multiple filters in a web application and a displayed list of items. In the gui it has multiple FilterGUI that he/she can tune interacting in the browser (these are ...