next up previous
Next: Threads as Objects Up: Embedded Programming with C++ Previous: Requirements of Common Sense

Object Oriented Design

By using C++, Picture Elements gained a chance to use object oriented techniques in an embedded context, with threads of execution and interrupts. The obvious potential object classes are:

The various containers include ring buffers, lists, strings, and the other sorts of things one expects of object oriented designs, are not unique to embedded programming so will not be discussed here.[3, 10, 12]

Incidentally, the requirement of keeping uCR simple and to the point precluded creation of a large and complex system. Instead of a rich texture of objects and classes, we finished with a simple and elegant design, with a few general but very useful classes. A welcome benefit of this is that programmers can learn and be productive with uCR relatively quickly.





Stephen Williams
Sun May 4 15:28:26 PDT 1997