org.android.activityminer.logic.timeseries
Class ObservableAccCutoutCreator
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<AccSensorObservationDimensions,Double>
org.android.activityminer.logic.timeseries.ObservableAccCutoutCreator
- All Implemented Interfaces:
- EventDispatcher<SensorObservation<AccSensorObservationDimensions,Double>,SensorObservationCutout<AccSensorObservationDimensions,Double>>, ObservableEventSource<SensorObservationCutout<AccSensorObservationDimensions,Double>>, ObserverRegistration<SensorObservationCutout<AccSensorObservationDimensions,Double>>, WorkerThread, Runnable, ActivatableComponent
public class ObservableAccCutoutCreator
- extends GenericObservableCutoutCreator<AccSensorObservationDimensions,Double>
The implementation of the generic
GenericObservableCutoutCreator for the dimension type
AccSensorObservationDimensions 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, 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 |
ObservableAccCutoutCreator
public ObservableAccCutoutCreator(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
newCutoutInstance
protected SensorObservationCutout<AccSensorObservationDimensions,Double> newCutoutInstance()
- Description copied from class:
GenericObservableCutoutCreator
- Does create a new cut-out instance of the concrete type.
- Overrides:
newCutoutInstance
in class GenericObservableCutoutCreator<AccSensorObservationDimensions,Double>
- Returns:
- a new cut-out instance