ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference

 


ATATimerEventSource

Inherits from:
Declared In:

Overview

Extends the timer event source to allow checking for timer expiration from behind the workloop.



Functions

ataTimerEventSource

Allocates an instance of this type.

cancelTimeout

Overrides to set/clear the time out flag.

disable

Overrides to set/clear the time out flag.

enable

Overrides to set/clear the time out flag.

hasTimedOut

Returns true if the timer has expired since the last enable/disable or setTimeoutFunc or wakeAtTime call.

init

Overrides to initialize the time out flag.

myTimeout

Sets the timedOut flag atomically.

setTimeoutFunc

Override to install myTimeout function instead of the super's.

wakeAtTime

Overrides to set/clear the time out flag.


ataTimerEventSource


Allocates an instance of this type.

public

static ATATimerEventSource * ataTimerEventSource( OSObject *owner, Action action = 0);


cancelTimeout


Overrides to set/clear the time out flag.

public

virtual void cancelTimeout();


disable


Overrides to set/clear the time out flag.

public

virtual void disable();


enable


Overrides to set/clear the time out flag.

public

virtual void enable();


hasTimedOut


Returns true if the timer has expired since the last enable/disable or setTimeoutFunc or wakeAtTime call.

public

virtual bool hasTimedOut( void );


init


Overrides to initialize the time out flag.

public

virtual bool init( OSObject *owner, Action action = 0);


myTimeout


Sets the timedOut flag atomically.

protected

static void myTimeout( void *self);


setTimeoutFunc


Override to install myTimeout function instead of the super's.

protected

virtual void setTimeoutFunc();


wakeAtTime


Overrides to set/clear the time out flag.

public

virtual IOReturn wakeAtTime( AbsoluteTime abstime);

Structs and Unions


ExpansionData


protected

struct ExpansionData { };
Discussion

This structure will be used to expand the capablilties of the IOWorkLoop in the future.

Member Data


reserved


protected

ExpansionData *reserved;
Discussion

Reserved for future use. (Internal use only)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.

 

Last Updated: 2008-12-19