#!F-adobe-helvetica-medium-r-normal--18* #!N #!CNavyBlue #!N #!Rall989 Getting Started Writing a Module #!N #!EC #!N #!N To build a module, you must: #!N #!I0 #!N #!F-adobe-times-medium-r-normal--18* #!N #!N #!I30 #!N 1. Define the module's function and its interface (i.e., its inputs and outputs). #!N #!I30 #!N 2. Create a #!F-adobe-times-medium-i-normal--18* module description file #!EF containing this information. #!N #!I30 #!N 3. Write the module. #!N #!I30 #!N 4. Compile and link the module. #!N #!I0 #!N #!EF #!N #!N #!N Once you have completed these four steps, you can run a version of Data Explorer that incorporates the module. #!N #!N The Module Builder is a point-and-click interface that facilitates much of this work by creating the files necessary for a module: #!N #!I0 #!N #!F-adobe-times-medium-r-normal--18* #!N #!N #!I30 #!N o a module description file #!N #!I30 #!N o a C-code framework (or template) file #!N #!I30 #!N o a makefile. #!N #!I0 #!N #!EF #!N All you need do is add your own application code to the framework file. (See #!Lmblder,dxall1003 h Module Builder #!EL .) #!N #!N A module can be added to Data Explorer in one of three forms: #!F-adobe-times-medium-i-normal--18* inboard #!EF , #!F-adobe-times-medium-i-normal--18* outboard #!EF , or #!F-adobe-times-medium-i-normal--18* runtime-loadable #!EF . An inboard module is linked directly into a new Data Explorer executive. An outboard module is a separate executable linked to the Data Explorer routine library and controlled by the executive. It can later be compiled and linked as an inboard module for greater efficiency. A runtime-loadable module can be loaded when Data Explorer is started or while it is running. It is more portable than the inboard module version of the same function and more efficient than the outboard version. See #!Lmodsior,dxall1049 h Inboard, Outboard, and Runtime-loadable Modules #!EL . #!N #!N #!N #!F-adobe-times-medium-i-normal--18* Next Topic #!EF #!N #!N #!Lhmod,dxall991 h Adding the Hello Module #!EL #!N #!F-adobe-times-medium-i-normal--18* #!N
Generated by dwww version 1.15 on Sat Jun 22 12:52:59 CEST 2024.