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
- 関連項目:
- 直列化された形式
コンストラクタの概要 |
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. |
クラス 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.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.service.Service から継承されたメソッド |
dispose, getAliveTime, getConfigurationComponent, getInterval, getServiceGroup, isDisposed, isPaused, isStarted, pause, resume, setInterval, setServiceGroup, start, start, stop |
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/