Difference between revisions of "C plus plus version"
From WikiManual
(C++ design and coding standards) |
(→C++ design) |
||
Line 3: | Line 3: | ||
== C++ design == | == C++ design == | ||
− | + | === General concepts === | |
+ | |||
+ | * Class based approach. | ||
+ | * Portable code. | ||
+ | |||
+ | === Structure === | ||
+ | |||
+ | * Main | ||
+ | ** Engine | ||
+ | *** User Interface | ||
+ | *** Darwin (the simulation engine) | ||
+ | **** Veg | ||
+ | **** Tie | ||
+ | **** Robot | ||
+ | ***** Sense | ||
+ | |||
+ | To be used everywhere: | ||
+ | * Vector_4 (using [http://www.boost.org/libs/numeric/ublas/doc uBLAS]) | ||
+ | * Matrix_4 (also using uBLAS) | ||
+ | * Random (using 'srand()' and 'rand()') | ||
+ | * Object (the base class) | ||
== C++ coding standards == | == C++ coding standards == |
Revision as of 12:36, 30 October 2005
I propose we discuss the C++ design and coding standards in here. A wiki is much handier then a forum or PM's for it.
C++ design
General concepts
- Class based approach.
- Portable code.
Structure
- Main
- Engine
- User Interface
- Darwin (the simulation engine)
- Veg
- Tie
- Robot
- Sense
- Engine
To be used everywhere:
- Vector_4 (using uBLAS)
- Matrix_4 (also using uBLAS)
- Random (using 'srand()' and 'rand()')
- Object (the base class)
C++ coding standards
I would use: