luxlabs header browser preview


@class _PASLock, NSString, NSOrderedSet, BMFrameStore, BMFileManager, BMStreamMetadata, BMStoreConfig;
@protocol BMSegmentManagerDelegate;

@interface BMSegmentManager : NSObject <BMFileManagerDelegate> {
    BMFileManager *_fileManager;
    unsigned long long _permission;
    BMStreamMetadata *_metadata;
    Class _eventDataClass;
    BMStoreConfig *_config;
    void *_deviceLockStateRegistration;
    _PASLock *_protectedState;
}

@property (readonly, nonatomic) BOOL isDataAccessible;
@property (readonly, nonatomic) NSString *path;
@property (readonly, nonatomic) BMFrameStore *currentFrameStore;
@property (readonly, nonatomic) NSOrderedSet *segmentNames;
@property (readonly, nonatomic) NSString *lastSegmentName;
@property (weak, nonatomic) id<BMSegmentManagerDelegate> delegate;
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (readonly, copy) NSString *description;
@property (readonly, copy) NSString *debugDescription;

+ (double)timestampFromSegmentName:(id)a0;
+ (id)segmentNameFromTimestamp:(double)a0;
+ (unsigned long long)sizeOfNewFrameStoreInBytesFromNonPagedSize:(unsigned long long)a0 isTombstoneSegment:(BOOL)a1;
+ (unsigned long long)indexOfSegmentContainingEventTime:(double)a0 fromSegments:(id)a1;

- (id)segmentWithFilename:(id)a0 error:(id *)a1;
- (long long)cachingOptionsForFileHandleWithAttributes:(id)a0;
- (id)segmentContainingTimestamp:(double)a0;
- (void)_updateSegments;
- (void)dealloc;
- (void)handleDeviceLocking;
- (void)pruneSegmentsToMaxAge:(double)a0;
- (void)enumerateSegmentsFrom:(double)a0 to:(double)a1 withBlock:(id /* block */)a2;
- (id)newFramestoreWithTimestamp:(double)a0 segmentNames:(id)a1 segmentFileHandles:(id)a2;
- (void)handleDeviceUnlock;
- (void)reverseEnumerateSegmentsNamesFrom:(double)a0 to:(double)a1 withBlock:(id /* block */)a2;
- (id)_segmentAfterFrameStore:(id)a0 orCreateSegmentWithTimestamp:(id)a1 direction:(unsigned long long)a2;
- (id)nextSegmentAfterFrameStore:(id)a0 segmentNames:(id)a1 segmentFileHandles:(id)a2 direction:(unsigned long long)a3;
- (void)refreshSegmentsList;
- (id)lastFrameStoreOrCreateWithTimestamp:(double)a0;
- (id)fileHandleForFile:(id)a0 error:(id *)a1;
- (void)reverseEnumerateSegmentsFrom:(double)a0 to:(double)a1 withBlock:(id /* block */)a2;
- (void).cxx_destruct;
- (id)orderedSegmentsInDirectory:(id)a0;
- (void)enumerateSegmentsNamesFrom:(double)a0 to:(double)a1 withBlock:(id /* block */)a2;
- (id)segmentAfterFrameStore:(id)a0 orCreateSegmentWithTimestamp:(double)a1;
- (id)segmentAfterFrameStore:(id)a0 direction:(unsigned long long)a1;
- (void)handleDeviceLockingCX;
- (BOOL)removeSegmentNamed:(id)a0;
- (id)segmentWithFilename:(id)a0 segmentNames:(id)a1 segmentFileHandles:(id)a2 error:(id *)a3;
- (BOOL)shouldCacheFileDescriptors;
- (id)initWithDirectory:(id)a0 fileManager:(id)a1 permission:(unsigned long long)a2 config:(id)a3;
- (void)pruneSegmentsToMaxSizeInBytes:(unsigned long long)a0;
- (void)openFiles:(id)a0 saveToOpenFiles:(id)a1;
- (void)updateSegmentsWithGuardedDeviceLockStateData:(id)a0;

@end