org.android.activityminer.logic.features
Class FeatureExtractorForAccSensorObservation

Package class diagram package FeatureExtractorForAccSensorObservation
java.lang.Object
  extended by java.lang.Thread
      extended by de.unikassel.android.sdcframework.util.AbstractWorkerThread
          extended by de.unikassel.android.sdcframework.util.AbstractEventDispatcherImpl<SensorObservationCutout<T,Double>,FeatureVector>
              extended by org.android.activityminer.logic.features.AbstractFeatureExtractor<AccSensorObservationDimensions>
                  extended by org.android.activityminer.logic.features.FeatureExtractorForAccSensorObservation
All Implemented Interfaces:
EventDispatcher<SensorObservationCutout<AccSensorObservationDimensions,Double>,FeatureVector>, ObservableEventSource<FeatureVector>, ObserverRegistration<FeatureVector>, WorkerThread, Runnable, ActivatableComponent

public class FeatureExtractorForAccSensorObservation
extends AbstractFeatureExtractor<AccSensorObservationDimensions>

Feature extractor implementation for accelerometer sensor observations


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class de.unikassel.android.sdcframework.util.AbstractEventDispatcherImpl
collector
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
FeatureExtractorForAccSensorObservation(FeatureTypes[] featureTypes, long sampleRate, Context context)
          Constructor
 
Method Summary
protected  AbstractFeatureFactory<AccSensorObservationDimensions> getFactory(Context context)
          Getter for the feature factory
 
Methods inherited from class org.android.activityminer.logic.features.AbstractFeatureExtractor
doWork, featureTypeConfiguration, getExtractionTime, getQueuedCutoutCount, isActive, isEctracting, onActivationStateChange, onDestroy, setActivationState
 
Methods inherited from class de.unikassel.android.sdcframework.util.AbstractEventDispatcherImpl
doCleanUp, getCollector, getEventSource, hasObservers, notify, registerEventObserver, removeAllObservers, unregisterEventObserver
 
Methods inherited from class de.unikassel.android.sdcframework.util.AbstractWorkerThread
doTerminate, hasTerminated, isLogging, isWorking, logMessage, run, setLogging, start, startWork, stopWork
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.unikassel.android.sdcframework.util.facade.ObservableEventSource
hasObservers, notify
 
Methods inherited from interface de.unikassel.android.sdcframework.util.facade.ObserverRegistration
registerEventObserver, removeAllObservers, unregisterEventObserver
 
Methods inherited from interface de.unikassel.android.sdcframework.util.facade.WorkerThread
doTerminate, hasTerminated, isLogging, isWorking, setLogging, startWork, stopWork
 

Constructor Detail

FeatureExtractorForAccSensorObservation

public FeatureExtractorForAccSensorObservation(FeatureTypes[] featureTypes,
                                               long sampleRate,
                                               Context context)
Constructor

Parameters:
featureTypes -
sampleRate - the configured sample rate
context - the context
Method Detail

getFactory

protected final AbstractFeatureFactory<AccSensorObservationDimensions> getFactory(Context context)
Description copied from class: AbstractFeatureExtractor
Getter for the feature factory

Specified by:
getFactory in class AbstractFeatureExtractor<AccSensorObservationDimensions>
Parameters:
context - the context
Returns:
the feature factory to use