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