摘要 |
<p>An object-oriented development system includes a development system having a language compiler (320) with one or more class libraries (365) for generating computer applications (305) with improved event handling capability. Methods (400) of the present invention include constructing C++ classes (450, 460) having response functions -- C++ class methods which process specific system messages of interest. More particularly, a C++ class includes a registry object (410) -- an object which associates the message of interest with a particular response function. The registry object includes a C++ template definition, whereby the object includes a "generic" function, that is, one which is not tied to any specific parameter type. In this manner, the message-response functions of the development system do not require compiler-specific extensions or unsafe casting operations. <IMAGE></p> |