10 years, 1 month ago.

OO Design methodology

Are object-orientated design principals followed during the design process for the software modules. Using UML to do an OO design is a great advantage for re-use and maintenance.

Question relating to:

mbed SDK library sources development, SDK, sources

Hi, can you be more specific, which principles ? Or what's the aim of this question? To get a proper answer.

posted by Martin Kojtal 29 Oct 2014

We use EnterpriseArchitect (supporting UML) to design software for C++ object orientated implementations, eg. Use an abstract base class 'Port' and then sub-classes implement the Port for their specific functionality like 'RadioPort' or 'SerialPort'. EA allow importing of C++ designs and stub-code generation. (I can submit a picture but do not know if it is possible)

posted by Jaco van der Merwe 29 Oct 2014

1 Answer

10 years, 1 month ago.

The mbed C++ is really mainly a shell around the actual C code, so the C++ part is relative straight forward.

If you want you can use for example doxygen to generate documentation, which also includes inheritance diagrams.