public class FixedPositioningAction extends java.lang.Object implements IActuatorAction
コンストラクタと説明 |
---|
FixedPositioningAction() |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
execute(ActuatorComponent<?> component)
アクション実行します。
|
int |
getPosition()
固定位置を取得します。
|
void |
onStart(ActuatorComponent<?> component)
コンポーネントstart時に呼び出されます。
|
void |
onStop(ActuatorComponent<?> component)
コンポーネントstop時に呼び出されます。
|
void |
setPosition(int targetPosition)
固定位置設定します。
|
public void onStart(ActuatorComponent<?> component) throws java.lang.Exception
IActuatorAction
onStart
インタフェース内 IActuatorAction
component
- コンポーネントjava.lang.Exception
- 処理に失敗するとスローされます。public void onStop(ActuatorComponent<?> component) throws java.lang.Exception
IActuatorAction
onStop
インタフェース内 IActuatorAction
component
- コンポーネントjava.lang.Exception
- 処理に失敗するとスローされます。public void execute(ActuatorComponent<?> component) throws java.lang.Exception
IActuatorAction
execute
インタフェース内 IActuatorAction
component
- コンポーネントjava.lang.Exception
- 処理に失敗するとスローされます。public int getPosition()
public void setPosition(int targetPosition)
targetPosition
- 位置情報(0-100)