API  1.0.0
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:
 
(void) - performSelector:withObject:afterDelay:
 
(void) - performSelector:withObject:afterDelay:inModes:
 
(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:
 
(void) + cancelPreviousPerformRequestsWithTarget:
 
(void) + cancelPreviousPerformRequestsWithTarget:selector:object:
 
(Class) + class
 
(BOOL) + conformsToProtocol:
 
(void) + exposeBinding:
 
(void) + initialize
 
(IMP) + instanceMethodForSelector:
 
(BOOL) + instancesImplementSelector:
 
(BOOL) + instancesRespondToSelector:
 
(BOOL) + isBindingExclusive:
 
(BOOL) + isSubclassOfClass:
 
(CPSet) + keyPathsForValuesAffectingValueForKey:
 
(void) + load
 
(id) + new
 
(void) + object:performSelector:withObject:afterDelay:inModes:
 
(void) + setVersion:
 
(Class) + superclass
 
(int) + version
 
- 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

◆ init()

- (id) init
implementation

Initializes the receiver

Returns
the initialized receiver

Reimplemented from CPOperation.

Definition at line 40 of file CPInvocationOperation.j.

◆ initWithInvocation:()

- (id) initWithInvocation: (CPInvocation inv
implementation

Returns a CPInvocationOperation object initialized with the specified invocation object.

Parameters
invthe invocation

Definition at line 53 of file CPInvocationOperation.j.

◆ initWithTarget:selector:object:()

- (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 69 of file CPInvocationOperation.j.

◆ invocation()

- (CPInvocation) invocation
implementation

Returns the receiver’s invocation object.

Definition at line 82 of file CPInvocationOperation.j.

◆ main()

- (void) main
implementation

Reimplemented from CPOperation.

Definition at line 32 of file CPInvocationOperation.j.

◆ result()

- (id) result
implementation

Returns the result of the invocation or method.

Definition at line 90 of file CPInvocationOperation.j.


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