Data Members



Action

public:typedef void (*Action)(OSObject *owner, IOTimerEventSource *sender);

'C' Function pointer defining the callout routine of this event source.

Parameters

NameDescription
ownerOwning target object. Note by a startling coincidence the first parameter in a C callout is currently used to define the target of a C++ member function.
senderThe object that timed out.

Scale

public:
  enum  {
  kNanosecondScale  =  1,
  kMicrosecondScale  =  1000,
  kMillisecondScale  =  1000  *  1000
  };

Used when a scale_factor parameter is required to define a unit of time.

Constants

NameDescription
kNanosecondScaleScale factor for nanosecond based times.
kMicrosecondScaleScale factor for microsecond based times.
kMillisecondScaleScale factor for millisecond based times.

abstime

protected:
 AbsoluteTime abstime;

time to wake up next, see enable.


calloutEntry

protected:
 void *calloutEntry;

thread_call entry for preregistered thread callouts


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