2016-06-16 18:04:54 -04:00
|
|
|
//
|
|
|
|
// CSBestEffortUpdater.h
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 16/06/2016.
|
2018-05-13 15:19:52 -04:00
|
|
|
// Copyright 2016 Thomas Harte. All rights reserved.
|
2016-06-16 18:04:54 -04:00
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
2016-08-31 20:43:29 -04:00
|
|
|
#import <CoreVideo/CoreVideo.h>
|
2016-06-16 18:04:54 -04:00
|
|
|
|
|
|
|
@class CSBestEffortUpdater;
|
|
|
|
|
|
|
|
@protocol CSBestEffortUpdaterDelegate <NSObject>
|
|
|
|
|
2018-03-21 22:18:13 -04:00
|
|
|
- (void)bestEffortUpdater:(CSBestEffortUpdater *)bestEffortUpdater runForInterval:(NSTimeInterval)interval didSkipPreviousUpdate:(BOOL)didSkipPreviousUpdate;
|
2016-06-16 18:04:54 -04:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
|
|
@interface CSBestEffortUpdater : NSObject
|
|
|
|
|
2017-10-05 18:09:58 -04:00
|
|
|
@property (nonatomic, weak) id<CSBestEffortUpdaterDelegate> delegate;
|
2016-06-16 18:04:54 -04:00
|
|
|
|
|
|
|
- (void)update;
|
2016-10-16 22:14:47 -04:00
|
|
|
- (void)flush;
|
2016-06-16 18:04:54 -04:00
|
|
|
|
|
|
|
@end
|