org.jactr.modules.pm.motor.managers
Class Movement
java.lang.Object
org.jactr.modules.pm.motor.managers.Movement
- All Implemented Interfaces:
- IMovement
public class Movement
- extends java.lang.Object
- implements IMovement
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Movement
public Movement(ChunkTypeRequest pattern,
org.commonreality.identifier.IIdentifier muscleId,
AbstractMotorModule module)
getChunkTypeRequest
public ChunkTypeRequest getChunkTypeRequest()
- Description copied from interface:
IMovement
- The defining chunk pattern
- Specified by:
getChunkTypeRequest in interface IMovement
- Returns:
getCommandIdentifier
public org.commonreality.identifier.IIdentifier getCommandIdentifier()
- Specified by:
getCommandIdentifier in interface IMovement
getMuscleState
public MuscleState getMuscleState()
getMuscleIdentifier
public org.commonreality.identifier.IIdentifier getMuscleIdentifier()
- Description copied from interface:
IMovement
- the actual muscle that the command will be executed for
- Specified by:
getMuscleIdentifier in interface IMovement
- Returns:
setState
public void setState(IMovement.State state,
boolean updateNow)
getState
public IMovement.State getState()
- Specified by:
getState in interface IMovement
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object