object_adapter_pattern::Adapter
-
class Adapter : public object_adapter_pattern::Target
The Adapter class adapts the Adaptee to the Target interface.
The Adapter uses composition to hold an instance of Adaptee and translates calls from the Target interface into calls to the Adaptee’s methods. This enables the client to interact with Adaptee functionality seamlessly.
Public Functions