UNIX network programming
Tcl and the Tk toolkit
Design patterns: elements of reusable object-oriented software
Design patterns: elements of reusable object-oriented software
Design patterns for object-oriented software development
Design patterns for object-oriented software development
Pattern-Oriented Software Architecture: Patterns for Concurrent and Networked Objects
Pattern-Oriented Software Architecture: Patterns for Concurrent and Networked Objects
A scalable and explicit event delivery mechanism for UNIX
ATEC '99 Proceedings of the annual conference on USENIX Annual Technical Conference
Hi-index | 0.00 |
Somewhere near the bottom of the food chain of object oriented programming, the developer frequently encounters a non object oriented API. This paper describes a specialisation of the Wrapper Facade pattern. Wrapper Facades encapsulate functions and data provided by existing non object oriented API's. The Static Reflector addresses the particular problem of building wrappers which contain functions which take C function pointers as parameters. The pattern makes use of a static reflection method to facilitate the construction of cohesive, reusable framework classes which make use of such C functions. We show that the application of this pattern is surprisingly wide. Though concerned primarily with the interface between C and C++, the pattern has implications for and applications to other languages as diverse as Java and [incr Tcl].This pattern was workshopped at the PLOP 2001 conference, Illinois. It is structured according to the canonical form under the headings Name, Problem, Context, Forces, Solution, Resulting Context, Rationale, Examples and Related Patterns.