![]() |
API
0.9.6
|
Represents an operation queue that can run CPOperations. More...
#import <CPOperationQueue.h>
Class Methods | |
(CPOperationQueue) | + currentQueue |
(CPOperationQueue) | + mainQueue |
![]() | |
(BOOL) | + accessInstanceVariablesDirectly |
(id) | + alloc |
(id) | + allocWithCoder: |
(BOOL) | + automaticallyNotifiesObserversForKey: |
(Class) | + class |
(void) | + exposeBinding: |
(void) | + initialize |
(IMP) | + instanceMethodForSelector: |
(BOOL) | + instancesRespondToSelector: |
(BOOL) | + isSubclassOfClass: |
(CPSet) | + keyPathsForValuesAffectingValueForKey: |
(void) | + load |
(id) | + new |
(void) | + setVersion: |
(Class) | + superclass |
(int) | + version |
Additional Inherited Members | |
![]() | |
Class | isa |
Represents an operation queue that can run CPOperations.
Definition at line 2 of file CPOperationQueue.h.
|
implementation |
Adds the specified operation object to the receiver.
anOperation | the operation that should be scheduled for execution |
Definition at line 101 of file CPOperationQueue.j.
|
implementation |
Adds the specified array of operations to the queue.
ops | The array of CPOperation objects that you want to add to the receiver. |
wait | If YES, the method only returns once all of the specified operations finish executing. If NO, the operations are added to the queue and control returns immediately to the caller. |
Definition at line 116 of file CPOperationQueue.j.
|
implementation |
Wraps the given js function in a CPOperation and adds it to the queue
aFunction | the JS function to add |
Definition at line 135 of file CPOperationQueue.j.
|
implementation |
Cancels all queued and executing operations.
Definition at line 158 of file CPOperationQueue.j.
|
implementation |
Convenience method for one system wide singleton queue. Returns the same queue as mainQueue.
Definition at line 292 of file CPOperationQueue.j.
|
implementation |
Initializes the receiver
Reimplemented from CPObject.
Definition at line 38 of file CPOperationQueue.j.
|
implementation |
Returns a Boolean value indicating whether the receiver is scheduling queued operations for execution.
Definition at line 209 of file CPOperationQueue.j.
|
implementation |
Convenience method for one system wide singleton queue. Returns the same queue as currentQueue.
Definition at line 278 of file CPOperationQueue.j.
|
implementation |
Returns the maximum number of concurrent operations that the receiver can execute. Always returns 1 because JS doesn't have threads
Definition at line 191 of file CPOperationQueue.j.
|
implementation |
Synthesized accessor method.
Provided by category CPOperationQueue(CPSynthesizedAccessors).
Definition at line 304 of file CPOperationQueue.j.
|
implementation |
Definition at line 145 of file CPOperationQueue.j.
|
implementation |
Definition at line 140 of file CPOperationQueue.j.
|
implementation |
Synthesized accessor method.
Provided by category CPOperationQueue(CPSynthesizedAccessors).
Definition at line 312 of file CPOperationQueue.j.
|
implementation |
Modifies the execution of pending operations
suspend | if YES, queue execution is suspended. If NO, it is resumed |
Definition at line 200 of file CPOperationQueue.j.
|
implementation |
Blocks until all of the receiver’s queued and executing operations finish executing.
Definition at line 175 of file CPOperationQueue.j.