jp.digitalmuseum.mr.task
クラス DrawPath

java.lang.Object
  上位を拡張 jp.digitalmuseum.mr.service.ServiceAbstractImpl
      上位を拡張 jp.digitalmuseum.mr.task.TaskAbstractImpl
          上位を拡張 jp.digitalmuseum.mr.task.MobileTaskAbstractImpl
              上位を拡張 jp.digitalmuseum.mr.task.LocationBasedTaskAbstractImpl
                  上位を拡張 jp.digitalmuseum.mr.task.VectorFieldTask
                      上位を拡張 jp.digitalmuseum.mr.task.DrawPath
すべての実装されたインタフェース:
java.io.Serializable, java.lang.Runnable, EventProvider, Service, LocationBasedTask, MobileTask, Task, VectorField

public class DrawPath
extends VectorFieldTask
関連項目:
直列化された形式

フィールドの概要
 
クラス jp.digitalmuseum.mr.task.VectorFieldTask から継承されたフィールド
defaultAllowedDeviationAngle
 
クラス jp.digitalmuseum.mr.service.ServiceAbstractImpl から継承されたフィールド
DEFAULT_INTERVAL
 
コンストラクタの概要
DrawPath(java.util.List<Position> path)
           
 
メソッドの概要
 java.util.List<java.lang.Class<? extends Resource>> getRequirements()
           
 void getUniqueVectorOut(Position position, Vector2D vector)
           
protected  void onAssigned()
          Called when this task is assigned to a robot.
protected  void onStart()
          Try to find and bind a proper location provider with this task on starting.
 void run()
           
 
クラス jp.digitalmuseum.mr.task.VectorFieldTask から継承されたメソッド
add, getAllowedDeviationAngle, getLastVector, getLastVectorOut, getVector, getVectorOut, remove, setAllowedDeviationAngle
 
クラス jp.digitalmuseum.mr.task.LocationBasedTaskAbstractImpl から継承されたメソッド
getLocation, getLocation, getLocationOut, getLocationOut, getLocationProvider, getPosition, getPosition, getPositionOut, getPositionOut, getRotation, getRotation, getX, getX, getY, getY, setLocationProvider
 
クラス jp.digitalmuseum.mr.task.MobileTaskAbstractImpl から継承されたメソッド
getRecommendedRotationSpeed, getRecommendedSpeed, getRotationSpeed, getSpeed, getWheels, onPause, setRotationSpeed, setSpeed
 
クラス jp.digitalmuseum.mr.task.TaskAbstractImpl から継承されたメソッド
assign, finish, getAssignedRobot, getName, getResourceMap, getSubflow, hasSubflow, initialize, isAssignable, isAssigned, requirementsSuppliable, setSubflow, start, stop
 
クラス jp.digitalmuseum.mr.service.ServiceAbstractImpl から継承されたメソッド
addEventListener, dispose, distributeEvent, getAliveTime, getConfigurationComponent, getInterval, getServiceGroup, isDisposed, isPaused, isStarted, onResume, onStop, pause, removeEventListener, resume, setInterval, setServiceGroup, start, toString
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
インタフェース jp.digitalmuseum.utils.VectorField から継承されたメソッド
getName
 
インタフェース jp.digitalmuseum.mr.task.MobileTask から継承されたメソッド
getRecommendedRotationSpeed, getRecommendedSpeed, getRotationSpeed, getSpeed, setRotationSpeed, setSpeed
 
インタフェース jp.digitalmuseum.mr.task.Task から継承されたメソッド
assign, getAssignedRobot, getSubflow, hasSubflow, isAssignable, isAssigned
 
インタフェース jp.digitalmuseum.mr.service.Service から継承されたメソッド
dispose, getAliveTime, getConfigurationComponent, getInterval, getName, getServiceGroup, isDisposed, isPaused, isStarted, pause, resume, setInterval, setServiceGroup, start, start, stop
 
インタフェース jp.digitalmuseum.mr.message.EventProvider から継承されたメソッド
addEventListener, removeEventListener
 
コンストラクタの詳細

DrawPath

public DrawPath(java.util.List<Position> path)
メソッドの詳細

getRequirements

public java.util.List<java.lang.Class<? extends Resource>> getRequirements()
定義:
インタフェース Task 内の getRequirements
オーバーライド:
クラス MobileTaskAbstractImpl 内の getRequirements
戻り値:
Returns a set of required interfaces (including Wheels) for this task.

onAssigned

protected void onAssigned()
クラス TaskAbstractImpl の記述:
Called when this task is assigned to a robot. This method is usually used for getting a resource object and saving it to a instance field.
オーバーライド:
クラス MobileTaskAbstractImpl 内の onAssigned

onStart

protected void onStart()
クラス LocationBasedTaskAbstractImpl の記述:
Try to find and bind a proper location provider with this task on starting. Subclasses should call super.onStart() when overriding this method.
オーバーライド:
クラス LocationBasedTaskAbstractImpl 内の onStart
関連項目:
LocationProviderAbstractImpl.findProperLocationProvider(jp.digitalmuseum.mr.entity.Entity)

run

public void run()
定義:
インタフェース java.lang.Runnable 内の run
オーバーライド:
クラス VectorFieldTask 内の run

getUniqueVectorOut

public void getUniqueVectorOut(Position position,
                               Vector2D vector)
定義:
クラス VectorFieldTask 内の getUniqueVectorOut


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