|
Home >
Real-time Mantra > Object Oriented Design
| ||||||||||||||||||||||
Object Oriented Programming |
|
|
C++ classes and methods are mapped to equivalent C code. |
|
This article maps from C++ code containing inheritance and virtual functions to equivalent C code. |
|
Many embedded platforms do not support C++. Here we describe techniques for object oriented programming in C. |
|
Assortment of tips on object oriented design in embedded systems. |
|
More tips on object oriented design in embedded systems. |
|
Object Oriented Principles |
|
Object oriented modules should be open for extension but closed for change... |
|
In class hierarchies, it should be possible to treat a specialized object as if it were a base class object. |
|
The Eiffel programming language introduced "design by contract". The main idea here is to model interfaces between classes as contracts. |
|
High level modules should not depend upon low level modules. Both should depend upon abstractions. |
|
|