9#ifndef __PROXY_CLASS_H__
10#define __PROXY_CLASS_H__
33 virtual std::string
DoWork(std::string someArgument) = 0;
For the purposes of this example, this class hides the details about the proxy class and the real cla...
static std::unique_ptr< IWorkByProxy > CreateProxy()
Retrieve a new instance of the proxy class.
The namespace containing all Design Pattern Examples implemented in C++.
Represents what can be done on the proxy object. This same interface is implemented on the real objec...
virtual std::string DoWork(std::string someArgument)=0
Does some work on the given argument and returns a new std::string.