Module Simula

Class RTS_Simset

All Implemented Interfaces:
Runnable
Direct Known Subclasses:
RTS_Drawing, RTS_Simulation

public class RTS_Simset extends RTS_CLASS
System class Simset.

The class "simset" contains facilities for the manipulation of circular two-way lists, called "sets".

          class simset;
          begin
                     class linkage;
             linkage class link; 
             linkage class head; 
          end simset;
 
The reference variables and procedures necessary for set handling are introduced in standard classes declared within the class "simset". Using these classes as prefixes, their relevant data and other properties are made parts of the object themselves.

Both sets and objects which may acquire set membership have references to a successor and a predecessor. Consequently they are made subclasses of the "linkage" class.

The sets are represented by objects belonging to a subclass "head" of "linkage". Objects which may be set members belong to subclasses of "link" which is itself another subclass of "linkage".

Link to GitHub: Source File.

Author:
SIMULA Standards Group, Øystein Myhre Andersen
  • Constructor Details

    • RTS_Simset

      public RTS_Simset(RTS_RTObject SL)
      Create a new _Simset.
      Parameters:
      SL - staticLink
  • Method Details

    • _STM

      public RTS_Simset _STM()
      Description copied from class: RTS_RTObject
      Method representing the Statements in this Block
      This method is virtual and must be redefined in blocks.
      Overrides:
      _STM in class RTS_RTObject
      Returns:
      a pointer to this _RTObject