A more realistic alternative is to develop object-oriented interfaces that encapsulate existing OS mechanisms. Due to the efficiency and availability of C++, it makes sense to encapsulate these existing interfaces within C++ classes and inheritance hierarchies. Developing distributed applications based upon C++ wrappers helps improve software quality factors such as correctness, ease of learning and ease of use, portability, and extensibility. In addition, it also serves as an effective method for introducing C++ and object-oriented design (OOD) into software development organizations.
Benefits of C++ Wrappers
Correctness: Wrappers improve the type-security higher-level
system programs and application code.
Portability : Single OO API , which map Application System calls
that access a particular underlying OS Mechanism.
Extensibilty : Inheritance , Dynamic Binding and Templates make it
easy to adopt to the changes.
Advantages of C++
1. Classes encourage modular APIs that simplify the development of portable and type�secure code.
2..Parameterized types increase the reusability of the C++
class components.
3.Inheritance and dynamic binding increases sharing,
reusability, and extensibility of API components.
4. Default Values
5.Inline functions eliminate overhead and enhance both
abstraction and efficiency
.