CPTimer Class Reference

List of all members.

Public Member Functions

(id) - initWithFireDate:interval:invocation:repeats: [implementation]
(id) - initWithFireDate:interval:target:selector:userInfo:repeats: [implementation]
(id) - initWithFireDate:interval:callback:repeats: [implementation]
(CPTimeInterval) - timeInterval [implementation]
(CPDate- fireDate [implementation]
(void) - setFireDate: [implementation]
(void) - fire [implementation]
(BOOL) - isValid [implementation]
(void) - invalidate [implementation]
(id) - userInfo [implementation]

Static Public Member Functions

(CPTimer+ scheduledTimerWithTimeInterval:invocation:repeats: [implementation]
(CPTimer+ scheduledTimerWithTimeInterval:target:selector:userInfo:repeats: [implementation]
(CPTimer+ scheduledTimerWithTimeInterval:callback:repeats: [implementation]
(CPTimer+ timerWithTimeInterval:invocation:repeats: [implementation]
(CPTimer+ timerWithTimeInterval:target:selector:userInfo:repeats: [implementation]
(CPTimer+ timerWithTimeInterval:callback:repeats: [implementation]


Detailed Description

Definition at line 29 of file CPTimer.j.


Member Function Documentation

- (void) fire   [implementation]

Causes the receiver’s message to be sent to its target.

Definition at line 188 of file CPTimer.j.

- (CPDate) fireDate   [implementation]

Returns the date at which the receiver will fire.

Definition at line 172 of file CPTimer.j.

- (id) initWithFireDate: (CPDate aDate
interval: (CPTimeInterval)  seconds
callback: (Function)  aFunction
repeats: (BOOL)  shouldRepeat 
[implementation]

Initializes a new NSTimer that, when added to a run loop, will fire at date and then, if repeats is YES, every seconds after that.

Definition at line 145 of file CPTimer.j.

- (id) initWithFireDate: (CPDate aDate
interval: (CPTimeInterval)  seconds
invocation: (CPInvocation anInvocation
repeats: (BOOL)  shouldRepeat 
[implementation]

Initializes a new NSTimer that, when added to a run loop, will fire at date and then, if repeats is YES, every seconds after that.

Definition at line 107 of file CPTimer.j.

- (id) initWithFireDate: (CPDate aDate
interval: (CPTimeInterval)  seconds
target: (id)  aTarget
selector: (SEL)  aSelector
userInfo: (id)  userInfo
repeats: (BOOL)  shouldRepeat 
[implementation]

Initializes a new NSTimer that, when added to a run loop, will fire at date and then, if repeats is YES, every seconds after that.

Definition at line 126 of file CPTimer.j.

- (void) invalidate   [implementation]

Stops the receiver from ever firing again and requests its removal from its NSRunLoop object.

Definition at line 219 of file CPTimer.j.

- (BOOL) isValid   [implementation]

Returns a Boolean value that indicates whether the receiver is currently valid.

Definition at line 211 of file CPTimer.j.

+ (CPTimer) scheduledTimerWithTimeInterval: (CPTimeInterval)  seconds
callback: (Function)  aFunction
repeats: (BOOL)  shouldRepeat 
[implementation]

Returns a new NSTimer object and adds it to the current NSRunLoop object in the default mode.

Definition at line 70 of file CPTimer.j.

+ (CPTimer) scheduledTimerWithTimeInterval: (CPTimeInterval)  seconds
invocation: (CPInvocation anInvocation
repeats: (BOOL)  shouldRepeat 
[implementation]

Returns a new NSTimer object and adds it to the current NSRunLoop object in the default mode.

Definition at line 44 of file CPTimer.j.

+ (CPTimer) scheduledTimerWithTimeInterval: (CPTimeInterval)  seconds
target: (id)  aTarget
selector: (SEL)  aSelector
userInfo: (id)  userInfo
repeats: (BOOL)  shouldRepeat 
[implementation]

Returns a new NSTimer object and adds it to the current NSRunLoop object in the default mode.

Definition at line 57 of file CPTimer.j.

- (void) setFireDate: (CPDate aDate   [implementation]

Resets the receiver to fire next at a given date.

Definition at line 180 of file CPTimer.j.

- (CPTimeInterval) timeInterval   [implementation]

Returns the receiver’s time interval.

Definition at line 164 of file CPTimer.j.

+ (CPTimer) timerWithTimeInterval: (CPTimeInterval)  seconds
callback: (Function)  aFunction
repeats: (BOOL)  shouldRepeat 
[implementation]

Returns a new NSTimer that, when added to a run loop, will fire after seconds.

Definition at line 99 of file CPTimer.j.

+ (CPTimer) timerWithTimeInterval: (CPTimeInterval)  seconds
invocation: (CPInvocation anInvocation
repeats: (BOOL)  shouldRepeat 
[implementation]

Returns a new NSTimer that, when added to a run loop, will fire after seconds.

Definition at line 83 of file CPTimer.j.

+ (CPTimer) timerWithTimeInterval: (CPTimeInterval)  seconds
target: (id)  aTarget
selector: (SEL)  aSelector
userInfo: (id)  userInfo
repeats: (BOOL)  shouldRepeat 
[implementation]

Returns a new NSTimer that, when added to a run loop, will fire after seconds.

Definition at line 91 of file CPTimer.j.

- (id) userInfo   [implementation]

Returns the receiver's userInfo object.

Definition at line 230 of file CPTimer.j.


The documentation for this class was generated from the following file:

Generated on Thu Dec 11 01:55:51 2008 for Cappuccino by  doxygen 1.5.7.1