DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T V

⟦50bda06c0⟧ TextFile

    Length: 1229 (0x4cd)
    Types: TextFile
    Names: »V«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Arguments;
with Easy_X;
with Message;
with Object;

package Turtle_Class is

    Instance_Table_Full : exception;
    Incorrect_Method : exception;

    Predefined_Turtle : constant String := "Tortue";

    type Turtle_Ref is private;


    -- initialisation de la table d'instance des tortues
    procedure Init_Instance_Table;

    -- creation d'un objet tortue
    function Create return Object.Reference;

    -- envoi d'un message a un objet tortue
    function Send (To_Object : Object.Reference;
                   The_Message : Message.Selector;
                   With_Arguments : Arguments.List := Arguments.Void_Arguments)
                  return Object.Reference;

    -- affichage du contenu de la table d'instance des tortues
    procedure Image_Table;


private

    type Enum_Indicator is (Used, Unused);

    type Enum_Status is (Up, Down);

    type Enum_Size is (Fine, Medium, Large);

    type Turtle_Ref is
        record
            Indicator : Enum_Indicator := Unused;
            Status : Enum_Status := Up;
            Size : Enum_Size := Fine;
            X : Easy_X.Coordinate := 0;
            Y : Easy_X.Coordinate := 0;
            Angle : Integer := 0;
        end record;

end Turtle_Class;