Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Script Action Objects with Multiple Input and Output Parameters

IP.com Disclosure Number: IPCOM000112148D
Original Publication Date: 1994-Apr-01
Included in the Prior Art Database: 2005-Mar-26
Document File: 2 page(s) / 88K

Publishing Venue

IBM

Related People

Coskun, N: AUTHOR

Abstract

Disclosed is a script action object with multiple input and output parameters. Script action objects are action objects that carry extension language code. The trigger of script action object triggers the extension language in the script action object. Such action objects can be chained to each other through multiple input and output parameters. This type of mechanism will provide a rich data flow between script action objects.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Script Action Objects with Multiple Input and Output Parameters

      Disclosed is a script action object with multiple input and
output parameters.  Script action objects are action objects that
carry extension language code.  The trigger of script action object
triggers the extension language in the script action object.  Such
action objects can be chained to each other through multiple input
and output parameters.  This type of mechanism will provide a rich
data flow between script action objects.

      Application builders provide an interactive mechanism to create
new applications.  The user of an application builder chooses
components from a toolbox and places them on a work area.  Such
components can be extended through their action slots.  Action slots
are placeholders and they correspond to the abstract events an object
reacts to.  The reaction of an object to an abstract event takes
place as the trigger of the corresponding action slot.  An action
slot is a list of action objects, and the trigger of an action slot
causes the trigger of all the action objects in this list.  An action
object in such a slot could be a script action object.  The script
action objects can pass data to each other through multiple input and
output parameters.  The following describes an algorithm that enables
data flow between the script action objects.

      A script action object with multiple parameters supports the
following methods: (The lines that start with "--" are comments
explaining the method defined on the preceding line.)
      SetInputNo(Script *actionObject, int count);
      -- sets the number of input parameters.
      SetOutputNo(Script *actionObject, int count);
      -- sets the number of output parameters.
      SetInputType(Script *actionObject, int position, int type);
      -- sets the type of the input parameter at a given position.
      SetOutputType(Script *actionObject, int position, int type);
      -- sets the type of an output parameter at a given position.
      GetInputNo(Script *actionObject, int *count);
      -- returns the number of input parameters.
      GetOutputNo(Script *actionObject, int *count);
      -- returns the number of output parameters.
      GetInput(Script *actionObject, int position, int *type);
      -- returns the type of an input parameter at a given position.
      GetOutput(Script *actionObject, int position, int *type);
      -- returns the type of an output parameter at a...