|
Mac Dev Center
Mac OS X Reference Library Drivers, Kernel, & Hardware: Kernel Device Drivers Kernel Framework Reference
|
ATATimerEventSource |
| Inherits from: | |
| Declared In: |
Extend the timer event source to allow checking for timer expiration from behind the workloop.
allocate an instance of this type.
overrides in order to set/clear the timed out flag
overrides in order to set/clear the timed out flag
overrides in order to set/clear the timed out flag
returns true if the timer has expired since the last enable/disable or setTimeout() or wakeAtTime() call.
my timeout function which sets the timedOut flag atomically.
override to install my timeout function instead of the super's.
overrides in order to set/clear the timed out flag
ataTimerEventSource |
allocate an instance of this type.
public
static ATATimerEventSource * ataTimerEventSource( OSObject *owner, Action action = 0);
cancelTimeout |
overrides in order to set/clear the timed out flag
public
virtual void cancelTimeout();
disable |
overrides in order to set/clear the timed out flag
public
virtual void disable();
enable |
overrides in order to set/clear the timed out flag
public
virtual void enable();
hasTimedOut |
returns true if the timer has expired since the last enable/disable or setTimeout() or wakeAtTime() call.
public
virtual bool hasTimedOut( void );
init |
public
virtual bool init( OSObject *owner, Action action = 0);
myTimeout |
my timeout function which sets the timedOut flag atomically.
setTimeoutFunc |
override to install my timeout function instead of the super's.
protected
virtual void setTimeoutFunc();
wakeAtTime |
overrides in order to set/clear the timed out flag
public
virtual IOReturn wakeAtTime( UnsignedWide abstime);
ExpansionData |
protected
struct ExpansionData { };
This structure will be used to expand the capablilties of the IOWorkLoop in the future.
reserved |
protected
ExpansionData *reserved;
Reserved for future use. (Internal use only)
Last Updated: 2009-10-14