org.robokind.api.sensor.imu
Class RemoteGyroscopeServiceClient<T extends SensorEventHeader>

java.lang.Object
  extended by org.jflux.api.core.util.DefaultNotifier<FilteredVector3Event>
      extended by org.robokind.api.sensor.imu.RemoteGyroscopeServiceClient<T>
All Implemented Interfaces:
org.jflux.api.core.Notifier<FilteredVector3Event>, GyroscopeService<T>

public class RemoteGyroscopeServiceClient<T extends SensorEventHeader>
extends org.jflux.api.core.util.DefaultNotifier<FilteredVector3Event>
implements GyroscopeService<T>

Author:
Jason G. Pallack

Field Summary
 
Fields inherited from class org.jflux.api.core.util.DefaultNotifier
myListeners
 
Constructor Summary
RemoteGyroscopeServiceClient(org.jflux.api.core.Notifier<GyroConfigEvent<T>> configSender, org.jflux.api.core.Notifier<DeviceReadPeriodEvent<T>> readPeriodSender, org.jflux.api.core.Notifier<FilteredVector3Event> inputValueReceiver)
           
 
Method Summary
 void sendConfig(GyroConfigEvent<T> config)
           
 void setReadPeriod(DeviceReadPeriodEvent<T> readPeriod)
           
 
Methods inherited from class org.jflux.api.core.util.DefaultNotifier
addListener, notifyListeners, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jflux.api.core.Notifier
addListener, notifyListeners, removeListener
 

Constructor Detail

RemoteGyroscopeServiceClient

public RemoteGyroscopeServiceClient(org.jflux.api.core.Notifier<GyroConfigEvent<T>> configSender,
                                    org.jflux.api.core.Notifier<DeviceReadPeriodEvent<T>> readPeriodSender,
                                    org.jflux.api.core.Notifier<FilteredVector3Event> inputValueReceiver)
Method Detail

sendConfig

public void sendConfig(GyroConfigEvent<T> config)
Specified by:
sendConfig in interface GyroscopeService<T extends SensorEventHeader>

setReadPeriod

public void setReadPeriod(DeviceReadPeriodEvent<T> readPeriod)
Specified by:
setReadPeriod in interface GyroscopeService<T extends SensorEventHeader>


Copyright © 2011-2013. All Rights Reserved.