Objective-CclassHealthKit
HKStateMachine
@interface HKStateMachine : NSObject
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
Members 26
- method
+ (id)nameForOwner:(id)arg0 UUID:(id)arg1 tag:(id)arg2; - ivar
HKStateMachineState *_currentState;+0x18 - ivar
id <HKStateMachineDelegate> _delegate;+0x38 - ivar
BOOL _isProcessingEvent;+0x20 - ivar
NSString *_name;+0x30 - ivar
NSMutableArray *_pendingEvents;+0x28 - ivar
NSMutableDictionary *_statesByIndex;+0x8 - ivar
NSMutableArray *_transitions;+0x10 - method
- (void).cxx_destruct; - method
- (void)_dequeueEvent; - method
- (void)_handleEvent:(long long)arg0 date:(id)arg1 error:(id)arg2 completion:(id /* block */)arg3; - method
- (id)addStateTransitionFrom:(id)arg0 to:(id)arg1 event:(long long)arg2 label:(id)arg3; - method
- (id)addStateWithIndex:(long long)arg0 label:(id)arg1; - method
- (id)currentState; - method
- (id)delegate; - method
- (void)enqueueEvent:(long long)arg0 date:(id)arg1 error:(id)arg2 completion:(id /* block */)arg3; - method
- (void)enterAtState:(long long)arg0; - method
- (id)graphDescription; - method
- (id)init; - method
- (id)initWithName:(id)arg0; - method
- (id)name; - method
- (void)setDelegate:(id)arg0; - method
- (id)stateWithIndex:(long long)arg0; - property
@property(readonly, nonatomic) HKStateMachineState *currentState; - property
@property(weak, nonatomic) id <HKStateMachineDelegate> delegate; - property
@property(readonly, copy, nonatomic) NSString *name;
Header
@interface HKStateMachine : NSObject { NSMutableDictionary *_statesByIndex; NSMutableArray *_transitions; HKStateMachineState *_currentState; BOOL _isProcessingEvent; NSMutableArray *_pendingEvents; NSString *_name; id<HKStateMachineDelegate> _delegate; } @property (nonatomic, copy, readonly) NSString *name; @property (nonatomic, weak) id<HKStateMachineDelegate> delegate; @property (nonatomic, readonly) HKStateMachineState *currentState; + (id)nameForOwner:(id)owner UUID:(id)uUID tag:(id)tag; - (void)setDelegate:(id)delegate; - (id)name; - (id)currentState; - (void).cxx_destruct; - (id)initWithName:(id)name; - (id)init; - (id)delegate; - (id)graphDescription; - (id)stateWithIndex:(long long)index; - (void)_dequeueEvent; - (void)_handleEvent:(long long)_handleEvent date:(id)date error:(id)error completion:(id /* block */)completion; - (id)addStateTransitionFrom:(id)addStateTransitionFrom to:(id)to event:(long long)event label:(id)label; - (id)addStateWithIndex:(long long)index label:(id)label; - (void)enqueueEvent:(long long)enqueueEvent date:(id)date error:(id)error completion:(id /* block */)completion; - (void)enterAtState:(long long)state; @end