Module vcr4j.core
Package org.mbari.vcr4j.decorators
Class VCRSyncDecorator<S extends VideoState,E extends VideoError>
java.lang.Object
org.mbari.vcr4j.decorators.VCRSyncDecorator<S,E>
- All Implemented Interfaces:
Decorator
public class VCRSyncDecorator<S extends VideoState,E extends VideoError>
extends Object
implements Decorator
This decorator keeps the state, timecodes, and timestamps up to date by scheduling requests
frequently. This is particularly one is handy for keeping UI's up to date with the VCR and
is designed for devices that use timecode as their primary index.
- Since:
- 2016-02-02T14:03:00
- Author:
- Brian Schlining
-
Constructor Summary
ConstructorsConstructorDescriptionVCRSyncDecorator(VideoIO<S, E> io) VCRSyncDecorator(VideoIO<S, E> io, long statusInterval, long timecodeInterval, long timestampInterval) -
Method Summary
-
Constructor Details
-
VCRSyncDecorator
-
VCRSyncDecorator
-
-
Method Details
-
getTimer
-
unsubscribe
public void unsubscribe()Description copied from interface:DecoratorTells the decorator to unsubscribe from all Observables that it is watching.- Specified by:
unsubscribein interfaceDecorator
-