API  0.9.7
 All Classes Files Functions Variables Macros Groups Pages
CPInvocationOperation Class Reference

Represents an operation using an invocation that can be run in an CPOperationQueue. More...

#import <CPInvocationOperation.h>

+ Inheritance diagram for CPInvocationOperation:

Instance Methods

(id) - init
 
(id) - initWithInvocation:
 
(id) - initWithTarget:selector:object:
 
(CPInvocation- invocation
 
(void) - main
 
(id) - result
 
- Instance Methods inherited from CPOperation
(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

- Instance Variables inherited from CPOperation
CPArray operations
 

Detailed Description

Represents an operation using an invocation that can be run in an CPOperationQueue.

Definition at line 2 of file CPInvocationOperation.h.

Method Documentation

- (id) init
implementation

Reimplemented from CPOperation.

Definition at line 41 of file CPInvocationOperation.j.

- (id) initWithInvocation: (CPInvocation inv
implementation

Returns a CPInvocationOperation object initialized with the specified invocation object.

Parameters
invthe invocation

Definition at line 54 of file CPInvocationOperation.j.

- (id) initWithTarget: (id)  target
selector: (SEL)  sel
object: (id)  arg 
implementation

Returns a CPInvocationOperation object initialized with the specified target and selector.

Parameters
targetthe target
selthe selector that should be called on the target
argthe arguments

Definition at line 70 of file CPInvocationOperation.j.

- (CPInvocation) invocation
implementation

Returns the receiver’s invocation object.

Definition at line 83 of file CPInvocationOperation.j.

- (void) main
implementation

Reimplemented from CPOperation.

Definition at line 33 of file CPInvocationOperation.j.

- (id) result
implementation

Returns the result of the invocation or method.

Definition at line 91 of file CPInvocationOperation.j.


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