首页>
外国专利>
System for interconnecting software components in an object oriented programming environment using a separate editor object for each run-time object instantiated for each selected component
System for interconnecting software components in an object oriented programming environment using a separate editor object for each run-time object instantiated for each selected component
A method and system for interconnecting software components. In a preferred embodiment, the present invention instantiates an event object. The event object includes message information describing the message and a dispatching member function for invoking a member function of a target object passing the message information. A message is passed by invoking the dispatching member function of the event object passing an identifier to a target object and an identifier of a member function of the target object. The dispatching member function invokes the identified member function of the identified target object passing the event information as an actual parameter. The event object is preferably of a derived class that inherits a base class. The base class provides common event behavior, while the derived class provides behavior specific to a type of message.
展开▼