Lines Matching defs:owner
80 checkForWork() is the key method in this class. It is called by some work-loop when convienient and is expected to evaluate its internal state and determine if an event has occurred since the last call. In the case of an event having occurred then the instance defined target(owner)/action will be called. The action is stored as an ordinary C function pointer but the first parameter is always the owner. This means that a C++ member function can be used as an action function though this depends on the ABI.
82 Although the eventChainNext variable contains a reference to the next event source in the chain this reference is not retained. The list 'owner' i.e. the client that creates the event, not the work-loop, is expected to retain the source.
98 @param owner
99 Target of the function, can be used as a refcon. The owner is set
103 typedef void (*Action)(OSObject *owner, ...);
114 /*! @var owner The owner object called when an event has been delivered. */
115 OSObject *owner;
148 @param owner
157 action call out will always be the owner, this allows C++ member functions to
162 virtual bool init(OSObject *owner, IOEventSource::Action action = 0);
170 its internal state for any work to do and then to call out the owner/action.