![]() |
API
0.9.7
|
Represents an operation using an invocation that can be run in an CPOperationQueue. More...
#import <CPInvocationOperation.h>
Instance Methods | |
(id) | - init |
(id) | - initWithInvocation: |
(id) | - initWithTarget:selector:object: |
(CPInvocation) | - invocation |
(void) | - main |
(id) | - result |
![]() | |
(void) | - addDependency: |
(void) | - cancel |
(JSObject) | - completionFunction |
(CPArray) | - dependencies |
(BOOL) | - isCancelled |
(BOOL) | - isConcurrent |
(BOOL) | - isExecuting |
(BOOL) | - isFinished |
(BOOL) | - isReady |
(void) | - observeValueForKeyPath:ofObject:change:context: |
(int) | - queuePriority |
(void) | - removeDependency: |
(void) | - setCompletionFunction: |
(void) | - setQueuePriority: |
(void) | - start |
(void) | - waitUntilFinished |
Additional Inherited Members | |
![]() | |
CPArray | operations |
Represents an operation using an invocation that can be run in an CPOperationQueue.
Definition at line 2 of file CPInvocationOperation.h.
|
implementation |
Reimplemented from CPOperation.
Definition at line 41 of file CPInvocationOperation.j.
|
implementation |
Returns a CPInvocationOperation object initialized with the specified invocation object.
inv | the invocation |
Definition at line 54 of file CPInvocationOperation.j.
|
implementation |
Returns a CPInvocationOperation object initialized with the specified target and selector.
target | the target |
sel | the selector that should be called on the target |
arg | the arguments |
Definition at line 70 of file CPInvocationOperation.j.
|
implementation |
Returns the receiver’s invocation object.
Definition at line 83 of file CPInvocationOperation.j.
|
implementation |
Reimplemented from CPOperation.
Definition at line 33 of file CPInvocationOperation.j.
|
implementation |
Returns the result of the invocation or method.
Definition at line 91 of file CPInvocationOperation.j.