RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Page "Software information: InetSetup" does not exist. Please create it now, or hit the "back" button in your browser.

The Filter Manager Introduction

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Filter Manager
» Introduction

The Filter Manager provides applications with the facility to register pre and post-filters. Filters are useful when a task needs to intercept events that may or may not be under the control of the task.

Filters do not need to be applied to a specific task as they can be assigned to respond to all tasks. Each filter is a routine that must have well defined entry and exit conditions.

Pre-Filters

A pre-filter is so-called because it is assigned to be called before a task calls Wimp_Poll. With a pre-filter, the event mask the task passes to Wimp_Poll can also be changed.

Post-Filters

A post-filter is so-called because it is assigned to be called just before the Wimp returns control back to a task. The reason-code and data-block returned by Wimp_Poll can be modified if required before they are passed back to a task.

Revised on January 3, 2010 17:03:58 by GavinWraith (26)? (127.0.0.1)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: The Filter Manager

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys