class_adapter_pattern::Target

class Target

Interface representing the Target.

The Target defines the domain-specific interface expected by the client. Classes implementing this interface can be used seamlessly by the client.

Subclassed by class_adapter_pattern::Adapter

Public Functions

virtual std::string request() const = 0

Handles a generic request from the client.

This method provides the interface that the client interacts with.

Returns:

A string response from the Target.