Objective-CclassGPUToolsCore
DYFuture
@interface DYFuture : NSOperation
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSOperation
Members 59
- method
+ (BOOL)automaticallyNotifiesObserversForKey:(id)arg0; - method
+ (BOOL)enableAssertMainThread; - method
+ (id)future; - method
+ (id)futureWithResult:(id)arg0 error:(id)arg1; - method
+ (BOOL)logPerformance; - ivar
BOOL _cancelled;+0x109 - ivar
id /* block */ _completion;+0x138 - ivar
NSCondition *_condition;+0x100 - ivar
NSError *_error;+0x118 - ivar
NSMutableArray *_inflightDependencies;+0x128 - ivar
NSMutableArray *_notifyList;+0x120 - ivar
long long _priority;+0x140 - ivar
BOOL _resolved;+0x108 - ivar
id _result;+0x110 - ivar
BOOL _started;+0x130 - ivar
NSTimer *_timeout;+0xf8 - method
- (void)_addDependency_REQUIRESLOCK:(id)arg0; - method
- (id)_dependencies_NOLOCK; - method
- (void)_setResult:(id)arg0 error:(id)arg1 notify_NOLOCK:(BOOL)arg2; - method
- (void)_start_NOLOCK; - method
- (BOOL)_waitForDependencies_REQUIRESLOCK; - method
- (void)addDependency:(id)arg0; - method
- (void)addResultHandler:(id /* block */)arg0; - method
- (BOOL)boolResult; - method
- (void)cancel; - method
- (id /* block */)completionBlock; - method
- (void)dealloc; - method
- (id)dependencies; - method
- (id)error; - method
- (id)init; - method
- (int)intResult; - method
- (BOOL)isAsynchronous; - method
- (BOOL)isCancelled; - method
- (BOOL)isExecuting; - method
- (BOOL)isFinished; - method
- (void)notifyGroup:(id)arg0; - method
- (void)notifyOnQueue:(id)arg0 handler:(id /* block */)arg1; - method
- (void)observeValueForKeyPath:(id)arg0 ofObject:(id)arg1 change:(id)arg2 context:(void *)arg3; - method
- (long long)queuePriority; - method
- (void)requestResult:(id /* block */)arg0; - method
- (void)resolveWithFuture:(id)arg0; - method
- (BOOL)resolved; - method
- (id)resolvedError; - method
- (id)resolvedResult; - method
- (id)result; - method
- (void)setCompletionBlock:(id /* block */)arg0; - method
- (void)setError:(id)arg0; - method
- (void)setQueuePriority:(long long)arg0; - method
- (void)setResult:(id)arg0; - method
- (void)start; - method
- (void)timeoutAfter:(double)arg0 label:(id)arg1; - method
- (unsigned int)uint32Result; - method
- (void)waitUntilFinished; - method
- (void)waitUntilResolved; - property
@property(retain, nonatomic) NSError *error; - property
@property(readonly, nonatomic) BOOL resolved; - property
@property(readonly, retain, nonatomic) NSError *resolvedError; - property
@property(readonly, retain, nonatomic) id resolvedResult; - property
@property(retain, nonatomic) id result;
Header
@interface DYFuture : NSOperation { NSTimer *_timeout; NSCondition *_condition; BOOL _resolved; BOOL _cancelled; id _result; NSError *_error; NSMutableArray *_notifyList; NSMutableArray *_inflightDependencies; BOOL _started; id /* block */ _completion; long long _priority; } @property (nonatomic, strong) id result; @property (nonatomic, strong) NSError *error; @property (nonatomic, readonly) BOOL resolved; @property (nonatomic, strong, readonly) id resolvedResult; @property (nonatomic, strong, readonly) NSError *resolvedError; + (id)future; + (BOOL)automaticallyNotifiesObserversForKey:(id)key; + (BOOL)enableAssertMainThread; + (id)futureWithResult:(id)result error:(id)error; + (BOOL)logPerformance; - (BOOL)isFinished; - (void)setCompletionBlock:(id /* block */)completionBlock; - (void)start; - (id /* block */)completionBlock; - (void)observeValueForKeyPath:(id)keyPath ofObject:(id)ofObject change:(id)change context:(void *)context; - (BOOL)isCancelled; - (id)result; - (void)waitUntilFinished; - (void)addDependency:(id)addDependency; - (long long)queuePriority; - (void)setError:(id)error; - (void)dealloc; - (id)error; - (void)setQueuePriority:(long long)queuePriority; - (id)init; - (void)setResult:(id)result; - (BOOL)isAsynchronous; - (void)cancel; - (BOOL)isExecuting; - (id)dependencies; - (void)addResultHandler:(id /* block */)addResultHandler; - (BOOL)resolved; - (void)resolveWithFuture:(id)future; - (BOOL)boolResult; - (void)_setResult:(id)result error:(id)error notify_NOLOCK:(BOOL)notify_NOLOCK; - (void)_addDependency_REQUIRESLOCK:(id)_addDependency_REQUIRESLOCK; - (id)_dependencies_NOLOCK; - (void)_start_NOLOCK; - (BOOL)_waitForDependencies_REQUIRESLOCK; - (int)intResult; - (void)notifyGroup:(id)notifyGroup; - (void)notifyOnQueue:(id)queue handler:(id /* block */)handler; - (void)requestResult:(id /* block */)requestResult; - (id)resolvedError; - (id)resolvedResult; - (void)timeoutAfter:(double)timeoutAfter label:(id)label; - (unsigned int)uint32Result; - (void)waitUntilResolved; @end