CDSequencerExtras.mesa (A ChipNDale module)
Copyright © 1987 by Xerox Corporation. All rights reserved.
Created by: Christian Jacobi, June 15, 1987 12:52:39 pm PDT
Last edited by: Christian Jacobi, June 15, 1987 12:55:38 pm PDT
DIRECTORY
CD,
CDSequencer;
CDSequencerExtras: CEDAR DEFINITIONS =
BEGIN
RegisterCommand: PROC [key: ATOM, proc: CDSequencer.CommandProc, technology: CD.Technology ← NIL, queue: CDSequencer.QueueMethod ← doQueueAndMark, setWDir: BOOLTRUE, registrationData: REFNIL];
--Registers a procedure to be called as command
-- key: (TIP-Table) key to call command
-- proc: procedure implementing command
-- technology: command restricted to this technology [NIL: command for all technologies]
-- queue: queueing method used for command [dont use useDefault]
-- setWDir: process working directory shall be set to designs working directory
-- registrationData: data registered together with command: This data can be querried
-- by calling FetchCommand.
--Re-using the same key (in same technology) overwrites an already registered command.
END.