在看英文资料时,经常碰到这个词,但不清楚。
A proxy is a way of representing the class type as another object. You can't pass types around dynamically like you can pass a handle to an object. Think of the proxy class handle as an encoded value that represent a type you want to construct.The factory uses another kind of abstract class, known as a proxy class, which has a virtual method that returns a handle to an object of the class type you want. For each class we want to create with the factory, we need to extend the proxy class and implement a create object method that constructs an object of the requested type. We then construct the extended object proxy class and get a handle to a proxy object that can be used to construct the requested object.
这是自己谷歌到的一些,自己去读还是不很懂,使用翻译软件后更是觉得难懂。
有没有好心人能简单说一下。