×

Development system with a property-method-event programming model for developing context-free reusable software components

  • US 5,724,589 A
  • Filed: 10/13/1995
  • Issued: 03/03/1998
  • Est. Priority Date: 10/13/1995
  • Status: Expired due to Term
First Claim
Patent Images

1. In a computer system, a method for creating context-free C++ software components which are executable by a computer program operating on said computer system, the method comprising:

  • creating from a first C++ class a first component having an event source, said first C++ class comprising class data members and class methods operative on said data members, said event source comprising an event which occurs in said first component at runtime;

    creating from a second C++ class a second component having an event sink, said second C++ class comprising class data members and class methods operative on said data members, said event sink comprising an event handler for processing said event which occurs in said first component at runtime, said second component being unaware of said class data members and class methods which comprise said first class;

    connecting said event source to said event sink by performing substeps of;

    (i) storing in said second component a pointer to a dispatcher method in said second component, said dispatcher method capable of invoking said event handler;

    (ii) storing in said first component at runtime a pointer to said pointer to said dispatcher method, so that said dispatcher method can be invoked by said first component at runtime; and

    upon occurrence of said event in said first component at runtime, invoking by said first component said dispatcher method of said second component, whereupon said dispatcher method invokes said event handler for runtime processing of said event.

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