From: Thomas M. <tma...@ze...> - 2000-09-15 17:11:39
|
John Palmieri wrote: > I have just been reading an awsome book (Dessign Patterns; Eric Gamma, > Richard Helm, Ralf Johnson, John Vlissides : Addison-Wesley:1995). It > describes the use of Factories to abstract the initilization of > objects. Factories take a group of similar objects and encapsulates > them with itself. (In essence each SOMELib object is a factory with > only one object and SOMELib itself is a factory of all other objects) Funny you should mention that. I just added a new project to the cvs repository yesterday (module name is some0-5) and I have done something similar to that. I have not finalized the design (still a fair amount of functionality to be implemented), but I would welcome inspection and comments. It has only been tested on MSVC, I'm working on getting Linux working currently. There is code that is unused in there, so I would just look at the TestApp and see what functionality is exercised there. -- Thomas O Matelich Senior Software Designer Zetec, Inc. sos...@us... tma...@ze... |