2.2 Extent of the C++ Interface

  1. The IDM allows the definition of functions as children of records. They can then be invoked as methods from the Rule Language, and they can also be simulated through simulation rules. The object class record is enlarged by the attributes .connect and .shadow.

  2. The header-file IDMcpp.h is available in the include-file.

    • Includes automatically IDMuser.h
    • Defines the classes DM_Interface, DM_Object, DM_Record
    • Contains static methods
    • Object based methods for application on a DM-object
    • Method stubs for the interface between C++ classes and DM-Objects
  3. Code generator and mixer, controlled by options –writecpp and –merge of the IDM-program.
  4. Example “bodysim” in demo/cppif-file.