System and method for collecting and dispatching selected events in a computer application program
First Claim
Patent Images
1. An apparatus for handling events in a computer system, comprising:
- an application routine for selectively registering subsets of events to form one or more handler tables arranged into a handler table stack;
an event manager for determining whether a new event is registered in said one or more handler tables;
one or more event handlers for responsively handling said new event which is determined to be registered in said one or more handler tables, said event manager placing said new event in an event queue when said new event is not listed in one of said handler tables but said table is a filtering table, and said event manager dispatching said new event to another of said handler tables when said new event is not listed in said first handler table and said table is not a filtering table.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method for collecting and dispatching selected events in an application program comprises an application routine which registers selected events of interest to form a series of handler tables, an event manager which evaluates each new event as it occurs to determine whether any new events are registered in the series of handler tables, and a series of event handlers for responsively handling new events which are registered in the series of handler tables.
127 Citations
20 Claims
-
1. An apparatus for handling events in a computer system, comprising:
-
an application routine for selectively registering subsets of events to form one or more handler tables arranged into a handler table stack; an event manager for determining whether a new event is registered in said one or more handler tables; one or more event handlers for responsively handling said new event which is determined to be registered in said one or more handler tables, said event manager placing said new event in an event queue when said new event is not listed in one of said handler tables but said table is a filtering table, and said event manager dispatching said new event to another of said handler tables when said new event is not listed in said first handler table and said table is not a filtering table. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for handling events in a computer application program comprising the steps of:
-
registering subsets of said events and their respective handling procedures to form a plurality of handler tables arranged into a handler table stack; determining whether a new event is registered in a first of said plurality of handler tables; handling said new event with a corresponding one of said handling procedures when said new event is registered; determining whether said first handler table is a filtering table when said new event is not registered; and dispatching said new event to a second handler table when said new event is not registered and said first handler table is not a filtering handler table. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A computer-readable medium containing instructions which cause a computer system to handle selected events by performing the steps of:
-
registering subsets of said events and their respective handling procedures to form one or more handler tables arranged into a handler table stack; determining whether a new event is registered in said one or more handler tables; invoking a handler when said new event is registered in one of said handler tables; determining whether said handler table is a filtering table when said new event is not registered in said handler table; and placing said new event in an event queue when said handler table is a filtering table and said new event is not registered in said handler table. - View Dependent Claims (12, 13, 14, 15)
-
-
16. An apparatus for handling events in a computer system, comprising:
-
means for registering subsets of said events and their respective handling procedures to form a plurality of handler tables arranged into a handler table stack; means for determining whether a new event is registered in a first of said plurality of handler tables; means for handling said new event with a corresponding one of said handling procedures when said new event is registered; means for determining whether said first handler table is a filtering table when said new event is not registered; and means for dispatching said new event to a second handler table when said new event is not listed in said first handler table and said first handler table is not a filtering table. - View Dependent Claims (17, 18, 19, 20)
-
Specification