org.jactr.modules.pm.motor.managers
Class Movement

java.lang.Object
  extended by org.jactr.modules.pm.motor.managers.Movement
All Implemented Interfaces:
IMovement

public class Movement
extends java.lang.Object
implements IMovement


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jactr.modules.pm.motor.command.IMovement
IMovement.State
 
Constructor Summary
Movement(ChunkTypeRequest pattern, org.commonreality.identifier.IIdentifier muscleId, AbstractMotorModule module)
           
 
Method Summary
 ChunkTypeRequest getChunkTypeRequest()
          The defining chunk pattern
 org.commonreality.identifier.IIdentifier getCommandIdentifier()
           
 org.commonreality.identifier.IIdentifier getMuscleIdentifier()
          the actual muscle that the command will be executed for
 MuscleState getMuscleState()
           
 IMovement.State getState()
           
 void setState(IMovement.State state, boolean updateNow)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Movement

public Movement(ChunkTypeRequest pattern,
                org.commonreality.identifier.IIdentifier muscleId,
                AbstractMotorModule module)
Method Detail

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