lw_oopc
1.0.0
LW_OOPC upgrade version release notes I have made some simple modifications and debugging based on lw_oopc Yonghua's source code of Gao Huantang. Make lw_oopc able to be used in actual embedded projects and spread as a good framework.
The main improvements are:
My contact information:
After contacting Mr. Gao Huantang by email, and obtaining Mr. Gao’s consent, we will open source through the LGPL agreement. Thanks to Mr. Gao and the MISOO team for their contribution!
| The macro created by Gao Huantang and MISOO | Is there a problem? | Is it modified? |
|---|---|---|
| INTERFACE | No problem | no |
| CLASS | Inheritance cannot be supported | yes |
| CTOR | Not protected for memory application | yes |
| END_CTOR | No problem | no |
| FUNCTION_SETTING | No problem | no |
| IMPLEMENTS | No problem | no |
| Creation macro | Creation purpose() to solve what problem? |
|---|---|
| DTOR / END_DTOR | To support the concept of destructor |
| ABS_CLASS | To support the concept of abstract classes |
| ABS_CTOR / END_ABS_CTOR | To support the constructor of an inheritable abstract class |
| EXTENDS | To make it easy for people familiar with Java to understand (equivalent to IMPLEMENTS macros) |
| SUPER_CTOR | In order to support subclass calling the constructor of the parent class |
| SUPER_PTR / SUPER_PTR_2 / SUPER_PTR_3 | To support upward transformation |
| SUB_PTR / SUB_PTR_2 / SUB_PTR_3 | To support downward transformation |
| INHERIT_FROM | To support access to data members of direct parent class |