Data Members



Action

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.

Parameters

NameDescription
ownerTarget 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.

action

protected:
 Action action;

The action method called when an event has been delivered


enabled

protected:
 bool enabled;

Is this event source enabled to deliver requests to the work-loop.


eventChainNext

protected:
 IOEventSource *eventChainNext;

The next event source in the event chain. nil at end of chain.


owner

protected:
 OSObject *owner;

The owner object called when an event has been delivered.


refcon

protected:
 void *refcon;

What ever the client wants to do, see $link setRefcon.


workLoop

protected:
 IOWorkLoop *workLoop;

What is the work-loop for this event source.


© 2000 Apple Computer, Inc. — (Last Updated 2/23/2000)