jp.digitalmuseum.mr.resource
クラス WheelsAbstractImpl

java.lang.Object
  上位を拡張 jp.digitalmuseum.mr.entity.ResourceAbstractImpl
      上位を拡張 jp.digitalmuseum.mr.entity.PhysicalResourceAbstractImpl
          上位を拡張 jp.digitalmuseum.mr.resource.WheelsAbstractImpl
すべての実装されたインタフェース:
java.io.Serializable, ExclusiveResource, Resource, Wheels, WheelsController
直系の既知のサブクラス:
Noopy.NoopyWheels

public abstract class WheelsAbstractImpl
extends PhysicalResourceAbstractImpl
implements WheelsController
関連項目:
直列化された形式

入れ子のクラスの概要
 
インタフェース jp.digitalmuseum.mr.resource.Wheels から継承された入れ子のクラス/インタフェース
Wheels.Spin, Wheels.WheelsStatus
 
コンストラクタの概要
WheelsAbstractImpl(Connector connector)
           
WheelsAbstractImpl(PhysicalRobotAbstractImpl robot)
           
 
メソッドの概要
protected abstract  void doGoBackward()
           
protected abstract  void doGoForward()
           
protected abstract  void doSpinLeft()
           
protected abstract  void doSpinRight()
           
protected abstract  void doStopWheels()
           
 Wheels.WheelsStatus getStatus()
          Get status of the wheels.
 void goBackward()
          Go backward.
 void goForward()
          Go forward.
protected  void onFree()
          Called when disposing this resource.
Caution: This method should not be called outside this class.
 void spin(Wheels.Spin direction)
          Spin left/right.
 void spinLeft()
          Spin left.
 void spinRight()
          Spin right.
 void stopWheels()
          Stop.
 
クラス jp.digitalmuseum.mr.entity.PhysicalResourceAbstractImpl から継承されたメソッド
getConnector, setConnector
 
クラス jp.digitalmuseum.mr.entity.ResourceAbstractImpl から継承されたメソッド
getConfigurationComponent, getReaders, getRobot, getWriter, isWritable, toString
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
インタフェース jp.digitalmuseum.mr.entity.ExclusiveResource から継承されたメソッド
getWriter, isWritable
 
インタフェース jp.digitalmuseum.mr.entity.Resource から継承されたメソッド
getConfigurationComponent, getReaders, getRobot
 
コンストラクタの詳細

WheelsAbstractImpl

public WheelsAbstractImpl(PhysicalRobotAbstractImpl robot)

WheelsAbstractImpl

public WheelsAbstractImpl(Connector connector)
メソッドの詳細

onFree

protected void onFree()
クラス ResourceAbstractImpl の記述:
Called when disposing this resource.
Caution: This method should not be called outside this class.
オーバーライド:
クラス ResourceAbstractImpl 内の onFree
関連項目:
ResourceAbstractImpl.free(Object)

goForward

public void goForward()
インタフェース WheelsController の記述:
Go forward.
定義:
インタフェース WheelsController 内の goForward

goBackward

public void goBackward()
インタフェース WheelsController の記述:
Go backward.
定義:
インタフェース WheelsController 内の goBackward

spin

public void spin(Wheels.Spin direction)
インタフェース WheelsController の記述:
Spin left/right.
定義:
インタフェース WheelsController 内の spin

spinLeft

public void spinLeft()
インタフェース WheelsController の記述:
Spin left.
定義:
インタフェース WheelsController 内の spinLeft

spinRight

public void spinRight()
インタフェース WheelsController の記述:
Spin right.
定義:
インタフェース WheelsController 内の spinRight

stopWheels

public void stopWheels()
インタフェース WheelsController の記述:
Stop.
定義:
インタフェース WheelsController 内の stopWheels

getStatus

public Wheels.WheelsStatus getStatus()
インタフェース Wheels の記述:
Get status of the wheels.
定義:
インタフェース Wheels 内の getStatus

doGoForward

protected abstract void doGoForward()

doGoBackward

protected abstract void doGoBackward()

doSpinLeft

protected abstract void doSpinLeft()

doSpinRight

protected abstract void doSpinRight()

doStopWheels

protected abstract void doStopWheels()


Copyright by Jun KATO (arc@dmz) at https://mr.digitalmuseum.jp/