public:typedef void (*Action)(OSObject *owner, ...);
Placeholder type for C++ function overloading discrimination. As the all event sources require an action and it has to be stored somewhere and be of some type, this is that type.
Name Description owner Target of the function, can be used as a refcon. The owner is set during initialisation. Note if a C++ function was specified this parameter is implicitly the first paramter in the target member function's parameter list.
protected:Action action;
The action method called when an event has been delivered
protected:bool enabled;
Is this event source enabled to deliver requests to the work-loop.
protected:IOEventSource *eventChainNext;
The next event source in the event chain. nil at end of chain.
protected:OSObject *owner;
The owner object called when an event has been delivered.
protected:void *refcon;
What ever the client wants to do, see $link setRefcon.
protected:IOWorkLoop *workLoop;
What is the work-loop for this event source.
© 2000 Apple Computer, Inc. (Last Updated 2/23/2000)