object_adapter_pattern::Target

class Target

The Target interface defines the expected interface for the client.

The Target interface acts as a standard contract for clients that interact with the system. By abstracting specific implementation details, this interface promotes flexibility and decoupling between the client and concrete implementations.

Subclassed by object_adapter_pattern::Adapter

Public Functions

virtual ~Target() = default

Virtual destructor ensures proper cleanup of derived objects.

virtual void request() const = 0

Standard method expected by the client.

Derived classes implement this method to provide behavior tailored to the client’s expectations.