public:
virtual void disableInterruptOccurred(void *self, IOService *prov, int ind);
public:
static IOFilterInterruptEventSource * filterInterruptEventSource(OSObject *owner, IOInterruptEventSource::Action action, Filter filter, IOService *provider, int intIndex = 0);
Result: a new event source if succesful, 0 otherwise.
Name Description owner Owner/client of this event source. action 'C' Function to call when something happens. filter 'C' Function to call when interrupt occurs. provider Service that provides interrupts. intIndex Defaults to 0.
Result: value of filterAction.public:
virtual Filter getFilterAction() const;
public:
virtual bool init(OSObject *owner, IOInterruptEventSource::Action action, Filter filter, IOService *provider, int intIndex = 0);
Result: true if the inherited classes and this instance initialise successfully.
Name Description owner Owner/client of this event source. action 'C' Function to call when something happens. filter 'C' Function to call in primary interrupt context. provider Service that provides interrupts. intIndex Interrupt source within provider. Defaults to 0.
public:
virtual void normalInterruptOccurred(void *self, IOService *prov, int ind);
public:typedef bool (*Filter)(OSObject *, IOFilterInterruptEventSource *);
C Function pointer to a routine to call when an interrupt occurs.
Name Description owner Pointer to the owning/client instance. sender Where is the interrupt comming from.
protected:Filter filterAction;
Filter callout
#define IOFilterInterruptAction IOFilterInterruptEventSource::Filter
Backward compatibilty define for the old non-class scoped type definition. See $link IOFilterInterruptSource::Filter
© 2000 Apple Computer, Inc. (Last Updated 2/23/2000)