jp.digitalmuseum.mr.task
クラス Push

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.Push
すべての実装されたインタフェース:
java.io.Serializable, java.lang.Runnable, EventProvider, Service, LocationBasedTask, MobileTask, Task, VectorField

public class Push
extends VectorFieldTask
Task: Push
Push an object to a certain position. (A Dipole Field for Object Delivery by Pushing on a Flat Surface)
作成者:
Jun KATO
関連項目:
直列化された形式

フィールドの概要
 
クラス jp.digitalmuseum.mr.task.VectorFieldTask から継承されたフィールド
defaultAllowedDeviationAngle
 
クラス jp.digitalmuseum.mr.service.ServiceAbstractImpl から継承されたフィールド
DEFAULT_INTERVAL
 
コンストラクタの概要
Push(Entity entity, double x, double y)
          Push the specified entity to the specified position.
Push(Entity entity, Position destination)
          Push the specified entity to the specified position.
 
メソッドの概要
 double getAllowedDistance()
           
 Position getDestination()
           
 void getDestinationOut(Position position)
           
 java.lang.String getName()
           
 void getUniqueVectorOut(Position position, Vector2D vector)
           
protected  void onStart()
          Try to find and bind a proper location provider with this task on starting.
 void run()
           
 void setAllowedDistance(double allowedNorm)
           
 
クラス 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, getRequirements, getRotationSpeed, getSpeed, getWheels, onAssigned, onPause, setRotationSpeed, setSpeed
 
クラス jp.digitalmuseum.mr.task.TaskAbstractImpl から継承されたメソッド
assign, finish, getAssignedRobot, 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.mr.task.MobileTask から継承されたメソッド
getRecommendedRotationSpeed, getRecommendedSpeed, getRotationSpeed, getSpeed, setRotationSpeed, setSpeed
 
インタフェース jp.digitalmuseum.mr.task.Task から継承されたメソッド
assign, getAssignedRobot, getRequirements, getSubflow, hasSubflow, isAssignable, isAssigned
 
インタフェース jp.digitalmuseum.mr.service.Service から継承されたメソッド
dispose, getAliveTime, getConfigurationComponent, getInterval, getServiceGroup, isDisposed, isPaused, isStarted, pause, resume, setInterval, setServiceGroup, start, start, stop
 
インタフェース jp.digitalmuseum.mr.message.EventProvider から継承されたメソッド
addEventListener, removeEventListener
 
コンストラクタの詳細

Push

public Push(Entity entity,
            double x,
            double y)
Push the specified entity to the specified position.
パラメータ:
entity -
x -
y -

Push

public Push(Entity entity,
            Position destination)
Push the specified entity to the specified position.
パラメータ:
entity -
destination -
メソッドの詳細

getName

public java.lang.String getName()
定義:
インタフェース Service 内の getName
定義:
インタフェース VectorField 内の getName
オーバーライド:
クラス TaskAbstractImpl 内の getName
戻り値:
Returns the name of this service.

getDestination

public Position getDestination()

getDestinationOut

public void getDestinationOut(Position position)

setAllowedDistance

public void setAllowedDistance(double allowedNorm)

getAllowedDistance

public double getAllowedDistance()

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/