purpose
Study ACE5.2.1 (released on November 1, 2001) Sourcecodes, thoroughly understanding ACE, fully understanding ACE, playing ACE's function to the ultimate analysis of TAO_IDL and TAO to lay a solid foundation. This time is mainly analyzed by ACE under the Windows platform.
First, the source code status of the ACE
The source code of the ACE is located in the directory of $ ACE_ROOT / ACE or% ACE_ROOT% / ACE, can be independently analyzed.
1. Category statistical analysis of the source code of the ACE
The source code of the ACE is divided into three categories: C source code, inline source code, and compile file classes.
C source code: 334 CPP files, 456 H files;
Inline source code: 227 I files, 24 inl files;
Compilation file class: ACE_MESSAGE_TABLE.BIN is worth noting.
2, the characteristics of the source code of the ACE
a complicated predefined environment;
b. There are many custom data classes;
c. There are many special macros;
Second, the analysis method of ACE source code
1. First step, first separate the source code of the Windows platform, then compile successfully;
2. Organize the framework of the ACE;
3. Analyze the code according to its framework.