Skip to content
Snippets Groups Projects
Commit 7920b68b authored by “KatrinBistreck”'s avatar “KatrinBistreck”
Browse files

deletes old module design from c++ style guide

parent d35e5d5f
No related branches found
No related tags found
2 merge requests!76Draft: Updated Python code example,!73Initial open source version
Pipeline #1518552 waiting for manual action
......@@ -12,24 +12,6 @@ date: 2023-09-12
---
## Standard Module Design
- Calculations not in `aircraft.cpp` (aircraft is pure data object)
- `myTool.cpp` for calculations, has (smart) pointers to Aircraft and Settings objects
- Do not edit standard files like aircraft.cpp, functions.cpp etc. ->use own files (myToolFunctions, myToolspecificAicraftData,...)
### Structure main()
1. Create Settings object
2. Create aircraft object
3. Create myTool-object, if necessary call init()
4. Call myTool.run()
5. Create output and call writeOutput()
6. Done
!!! warning
:fontawesome-solid-arrow-right: The module structure changed in newer releases of **UNICADO**. See [Module Structure]().
---
## Header Files
### Inline Functions
- Define inline functions only if they are small (~ 10 lines or less).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment