flyweight_pattern::Flyweight

class Flyweight

Abstract Flyweight defines the interface for concrete flyweights.

Subclassed by flyweight_pattern::ConcreteFlyweight

Public Functions

virtual void operation(const std::string &extrinsicState) const = 0

Operation performed by the Flyweight.

Parameters:

extrinsicState – The extrinsic state passed by the client.