org.android.activityminer.logic.timeseries
Class ObservableCutoutCreator
java.lang.Object
java.lang.Thread
de.unikassel.android.sdcframework.util.AbstractWorkerThread
de.unikassel.android.sdcframework.util.AbstractEventDispatcherImpl<SensorObservation<D,T>,SensorObservationCutout<D,T>>
org.android.activityminer.logic.timeseries.GenericObservableCutoutCreator<SensorObservationDimensions,Double>
org.android.activityminer.logic.timeseries.ObservableCutoutCreator
- All Implemented Interfaces:
- EventDispatcher<SensorObservation<SensorObservationDimensions,Double>,SensorObservationCutout<SensorObservationDimensions,Double>>, ObservableEventSource<SensorObservationCutout<SensorObservationDimensions,Double>>, ObserverRegistration<SensorObservationCutout<SensorObservationDimensions,Double>>, WorkerThread, Runnable, ActivatableComponent
public class ObservableCutoutCreator
- extends GenericObservableCutoutCreator<SensorObservationDimensions,Double>
The implementation of the generic GenericObservableCutoutCreator
for the dimension type SensorObservationDimensions and numeric
data with double precision.
- See Also:
GenericObservableCutoutCreator
Methods inherited from class org.android.activityminer.logic.timeseries.GenericObservableCutoutCreator |
attachSensorObservationSource, detachSensorObservationSource, doWork, getAvgSampleUpdateRate, getCurrentCutOutDuration, getLastCutout, getOverlapSize, getQueuedObservationCount, getWindowSize, isActive, newCutoutInstance, nextTimeStamp, onActivationStateChange, setActivationState, setOverlap, setWindowSize |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield |
ObservableCutoutCreator
public ObservableCutoutCreator(int frameSize,
int overlapSize,
Context context)
throws InvalidParameterException
- Constructor
- Parameters:
frameSize
- the size of the frames to create from the raw time series streamoverlapSize
- the count of samples by which the frames will overlapcontext
- the context
- Throws:
InvalidParameterException