mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-27 16:31:31 +00:00
29 lines
628 B
C
29 lines
628 B
C
|
//
|
||
|
// CSBestEffortUpdater.h
|
||
|
// Clock Signal
|
||
|
//
|
||
|
// Created by Thomas Harte on 16/06/2016.
|
||
|
// Copyright © 2016 Thomas Harte. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
@import CoreVideo;
|
||
|
|
||
|
@class CSBestEffortUpdater;
|
||
|
|
||
|
@protocol CSBestEffortUpdaterDelegate <NSObject>
|
||
|
|
||
|
- (void)bestEffortUpdater:(CSBestEffortUpdater *)bestEffortUpdater runForCycles:(NSUInteger)cycles didSkipPreviousUpdate:(BOOL)didSkipPreviousUpdate;
|
||
|
|
||
|
@end
|
||
|
|
||
|
|
||
|
@interface CSBestEffortUpdater : NSObject
|
||
|
|
||
|
@property (nonatomic, assign) double clockRate;
|
||
|
@property (nonatomic, weak) id<CSBestEffortUpdaterDelegate> delegate;
|
||
|
|
||
|
- (void)update;
|
||
|
|
||
|
@end
|