API  0.9.6
 All Classes Files Functions Variables Macros Modules 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
 
- Instance Methods inherited from CPObject
(void) - addObserver:forKeyPath:options:context:
 
(void) - applyChange:toKeyPath:
 
(id) - autorelease
 
(id) - awakeAfterUsingCoder:
 
(void) - awakeFromCib
 
(void) - bind:toObject:withKeyPath:options:
 
(Class) - classForCoder
 
(Class) - classForKeyedArchiver
 
(CPString- className
 
(id) - copy
 
(void) - dealloc
 
(CPString- description
 
(CPDictionary- dictionaryWithValuesForKeys:
 
(void) - didChange:valuesAtIndexes:forKey:
 
(void) - didChangeValueForKey:
 
(void) - didChangeValueForKey:withSetMutation:usingObjects:
 
(void) - doesNotRecognizeSelector:
 
(CPArray- exposedBindings
 
(id) - forwardingTargetForSelector:
 
(void) - forwardInvocation:
 
(unsigned) - hash
 
(BOOL) - implementsSelector:
 
(CPDictionary- infoForBinding:
 
(BOOL) - isEqual:
 
(BOOL) - isKindOfClass:
 
(BOOL) - isMemberOfClass:
 
(BOOL) - isProxy
 
(IMP) - methodForSelector:
 
(CPMethodSignature) - methodSignatureForSelector:
 
(id) - mutableArrayValueForKey:
 
(id) - mutableArrayValueForKeyPath:
 
(id) - mutableCopy
 
(id) - mutableSetValueForKey:
 
(id) - mutableSetValueForKeyPath:
 
(id) - performSelector:
 
(id) - performSelector:withObject:
 
(id) - performSelector:withObject:withObject:
 
(id) - performSelector:withObjects:
 
(void) - release
 
(void) - removeObserver:forKeyPath:
 
(id) - replacementObjectForArchiver:
 
(id) - replacementObjectForCoder:
 
(id) - replacementObjectForKeyedArchiver:
 
(BOOL) - respondsToSelector:
 
(id) - retain
 
(id) - self
 
(void) - setValue:forKey:
 
(void) - setValue:forKeyPath:
 
(void) - setValue:forUndefinedKey:
 
(void) - setValuesForKeysWithDictionary:
 
(CPString- UID
 
(void) - unbind:
 
(Class) - valueClassForBinding:
 
(id) - valueForKey:
 
(id) - valueForKeyPath:
 
(id) - valueForUndefinedKey:
 
(void) - willChange:valuesAtIndexes:forKey:
 
(void) - willChangeValueForKey:
 
(void) - willChangeValueForKey:withSetMutation:usingObjects:
 

Additional Inherited Members

- Class Methods inherited from CPObject
(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
 
- Instance Variables inherited from CPOperation
CPArray operations
 
- Instance Variables inherited from CPObject
Class isa
 

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

Initializes the receiver

Returns
the initialized receiver

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: