Appendix A. Design Principles for ACE C++ Wrapper Facades

Synopsis

This appendix is a follow-on to our discussions regarding the accidental complexities associated with using native OS APIs and how ACE resolves them using the Wrapper Facade pattern. We summarize the design principles that underlie the ACE IPC and concurrency wrapper facade classes so that you can follow and adapt them to your own projects. Hopefully, you can apply them to design and develop future classes for inclusion in ACE!

A.1 Overview

In this appendix, we describe the following principles applied throughout the design of the ACE wrapper facades:

• Use wrapper facades to enhance type safety.

• Simplify for the common case.

• Use hierarchies to enhance design clarity and ...

Get C++ Network Programming, Volume 1: Mastering Complexity with ACE and Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.