[comp.lang.c++] Interface Classes

gessel@cs.swarthmore.edu (Daniel Mark Gessel) (05/23/91)

Somebody (I forget who) suggested the use of multiple inheritance as a
way to interface to another class. i.e. a Scroller would know about the
ScrollerTarget class and you would multiply inherit if you wanted a scroller
to interact with some other class.

The concept of an abstract superclass has been well defined and accepted. 
What about a particular kind of abstract superclass: an interface class? 

Are there any references to this sort of thing? It seems like a nice
way to implement many OO elements for more reusable code, but designing
a useful, workable interface class would be a non-trivial task. I'd like
see/hear/read about others experiences.

Dan

-- 
Daniel Mark Gessel
Internet: gessel@cs.swarthmore.edu