Jump to content

How to program for the WPS - Short overview

From EDM2
Revision as of 20:52, 23 September 2022 by Ak120 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Writing a new WPS class is a three-step process.

  1. Write your class definition in the SOM Interface Definition Language (IDL).
  2. Compile the class definition using the SOM Compiler.
  3. Compile the source files emitted by the SOM Compiler using your C compiler.

As can be seen there's no magic behind these steps and the only unusual part is creating the IDL file.