For the purposes of this example, this class hides the details about the proxy class and the real class, exposing only the IWorkByProxy interface of the proxy. In a real program, the real class would be in its own application/DLL/assembly and separate from the proxy class. More...
#include <Proxy_Class.h>
Static Public Member Functions | |
static std::unique_ptr< IWorkByProxy > | CreateProxy () |
Retrieve a new instance of the proxy class. | |
For the purposes of this example, this class hides the details about the proxy class and the real class, exposing only the IWorkByProxy interface of the proxy. In a real program, the real class would be in its own application/DLL/assembly and separate from the proxy class.
Definition at line 47 of file Proxy_Class.h.
|
static |
Retrieve a new instance of the proxy class.
Definition at line 113 of file Proxy_Class.cpp.
Referenced by DesignPatternExamples_cpp::Proxy_Exercise().