strategy_pattern::Strategy
-
class Strategy
The Strategy interface defines a common interface for all supported algorithms.
Subclassed by strategy_pattern::ConcreteStrategyA, strategy_pattern::ConcreteStrategyB
Public Functions
-
virtual void execute() const = 0
Executes the algorithm encapsulated by the strategy.
-
virtual void execute() const = 0