bridge_pattern::RefinedAbstraction
-
class RefinedAbstraction : public bridge_pattern::Abstraction
The RefinedAbstraction adds additional functionality to the Abstraction.
Public Functions
-
explicit RefinedAbstraction(Implementor *implementor)
Constructor to initialize the refined abstraction with an Implementor.
- Parameters:
implementor – Pointer to the Implementor instance.
-
virtual std::string operation() const override
Enhanced high-level operation implemented using the Implementor.
- Returns:
A string representing the result of the refined operation.
-
explicit RefinedAbstraction(Implementor *implementor)