Changes between Initial Version and Version 1 of template


Ignore:
Timestamp:
02/26/12 12:50:26 (10 years ago)
Author:
branden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • template

    v1 v1  
     1[[PageOutline]] 
     2 
     3= [wiki:Earthworm Earthworm] Module: template = 
     4'''Contributed by: Lynn Dietz, Menlo Park''' 
     5== Function == 
     6A template module for programmers who want to create ther own Earthworm module  
     7== Details == 
     8Template Module Directory 
     9 
     10This directory contains a set of sample files for a basic earthworm module which: 
     11 
     121) reads a configuration file using kom.c routines (template_config). 
     13 
     142) looks up shared memory keys, installation ids, module ids, message types from earthworm.h tables using getutil.c functions (template_lookup). 
     15 
     163) attaches to one public shared memory region for input and output using transport.c functions. 
     17 
     184) processes hard-wired message types from configuration-file-given installations & module ids (This source code expects to process TYPE_HYP2000 & TYPE_H71SUM2K messages). 
     19 
     205) sends heartbeats and error messages back to the shared memory region (template_status). 
     21 
     226) writes to a log file using logit.c functions. 
     23 
     24The files in the src/diganostic_tools/template/ directory are: 
     25 * Makefile.os2 to create the executable for template on OS/2. 
     26 * Makefile.sol to create the executable for template on solaris. 
     27 * template.c source file for the sample module. 
     28 * template.d configuration file read by template_config. 
     29 * template.desc the descriptor file for template required by Earthworm's statmgr module. 
     30 
     31== Helpful Hints ==