CPRunLoop Class Reference

List of all members.

Public Member Functions

(id) - init [implementation]
(void) - performSelector:target:argument:order:modes: [implementation]
(void) - cancelPerformSelector:target:argument: [implementation]
(void) - performSelectors [implementation]
(void) - addTimer:forMode: [implementation]
(CPDate- limitDateForMode: [implementation]

Static Public Member Functions

(void) + initialize [implementation]
(CPRunLoop+ currentRunLoop [implementation]
(CPRunLoop+ mainRunLoop [implementation]


Detailed Description

CPRunLoop instances handle various utility tasks that must be performed repetitively in an application, such as processing input events.

There is one run loop per application, which may always be obtained through the +currentRunLoop method,

Definition at line 146 of file CPRunLoop.j.


Member Function Documentation

- (void) addTimer: (CPTimer aTimer
forMode: (CPString aMode 
[implementation]

Registers a given timer with a given input mode.

Definition at line 253 of file CPRunLoop.j.

- (void) cancelPerformSelector: (SEL)  aSelector
target: (id)  aTarget
argument: (id)  anArgument 
[implementation]

Cancels the specified selector and target.

Parameters:
aSelector the selector of the method to invoke
aTarget the target to invoke the method on
the argument for the method

Definition at line 229 of file CPRunLoop.j.

+ (CPRunLoop) currentRunLoop   [implementation]

Returns the application's singleton CPRunLoop.

Definition at line 189 of file CPRunLoop.j.

- (id) init   [implementation]

Definition at line 170 of file CPRunLoop.j.

+ (void) initialize   [implementation]

Definition at line 162 of file CPRunLoop.j.

- (CPDate) limitDateForMode: (CPString aMode   [implementation]

Performs one pass through the run loop in the specified mode and returns the date at which the next timer is scheduled to fire.

Definition at line 272 of file CPRunLoop.j.

+ (CPRunLoop) mainRunLoop   [implementation]

Returns the application's singleton CPRunLoop.

Definition at line 197 of file CPRunLoop.j.

- (void) performSelector: (SEL)  aSelector
target: (id)  aTarget
argument: (id)  anArgument
order: (int)  anOrder
modes: (CPArray modes 
[implementation]

Performs the specified selector on the specified target. The method will be invoked synchronously.

Parameters:
aSelector the selector of the method to invoke
aTarget the target of the selector
anArgument the method argument
anOrder the message priority
modes the modes variable isn't respected.

Definition at line 210 of file CPRunLoop.j.

- (void) performSelectors   [implementation]

Definition at line 245 of file CPRunLoop.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