Object Oriented Programming and Design
Object Oriented Programming
Mapping C++ code to C
C++ classes and methods are mapped to equivalent C code. Inheritance and virtual function mapping to C is covered as well.
Object Oriented Programming in C
Many embedded platforms do not support C++. Here we describe techniques for object oriented programming in C.
Object Oriented Principles
Open Closed Principle of Object Oriented Design
Software entities like classes, modules and functions should be open for extension but closed for modifications.
Liskov Substitution Principle
In class hierarchies, it should be possible to treat a specialized object as if it were a base class object.
Design by Contract Programming in C++
Model interfaces between classes as contracts. Design by Contract programming in C++.