×

Development system with methods for type-safe delegation of object events to event handlers of other objects

DC
  • US 6,185,728 B1
  • Filed: 01/31/1996
  • Issued: 02/06/2001
  • Est. Priority Date: 01/31/1996
  • Status: Expired due to Term
First Claim
Patent Images

1. In an object-oriented development system for creating a computer program, said computer program comprising objects which respond to events, a method for delegating control for handling an event from a first object to a method of a second object, the method comprising:

  • creating a method pointer at the first object, said method pointer for storing an address of a particular method of another object together with an address for the other object, said address for the object serving as a “

    this”

    pointer through which local data of the object can be accessed;

    receiving user input for delegating control for handling said event from said first object to a particular method of said second object;

    in response to said user input, storing in said method pointer of said first object an address for said particular method of said second object together with said “

    this”

    pointer for said second object; and

    upon occurrence of said event at said first object during execution of said computer program, invoking said particular method of said second object through said method pointer, said particular method accessing local data of said second object through a “

    this”

    pointer comprising the address of said second object which is stored by said method pointer.

View all claims
  • 10 Assignments
Timeline View
Assignment View
    ×
    ×