rp1.simulator
Class SimClient
java.lang.Object
rp1.rossum.RsProtocol
rp1.rossum.RsConnection
rp1.simulator.SimClient
- All Implemented Interfaces:
- java.lang.Runnable, RsLogInterface
public class SimClient
- extends RsConnection
Methods inherited from class rp1.rossum.RsConnection |
addInterlock, exchangeIntroductions, getMaxInterlockSent, isClientSubscribedToEvent, run, sendContactSensorEvent, sendContactSensorEvent, sendEncoderStatusEvent, sendEvent, sendHeartbeatEvent, sendHeartbeatEvent, sendPaintSensorEvent, sendPlacementEvent, sendPlanEvent, sendPositionEvent, sendRangeSensorEvent, sendTargetSelectionEvent, sendTargetSensorEvent, sendTimeoutEvent, setActuatorControlRequestHandler, setBodyHandler, setEncoderStatusRequestHandler, setHaltRequestHandler, setHeartbeatRequestHandler, setMotionRequestHandler, setPainterChangeRequestHandler, setPlacementRequestHandler, setPlanRequestHandler, setPositionRequestHandler, setSensorRequestHandler, setSubscriptionRequestHandler, setSubscriptionTableEntry, setTargetSelectionRequestHandler, setTimeoutRequestHandler |
Methods inherited from class rp1.rossum.RsProtocol |
getVerbosity, isInputSet, isLoggerSet, isOutputSet, log, logIt, setInputOutputStreams, setLogger, setProtocolShutdownHandler, setSocket, setVerbosity, verbose |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimClient
public SimClient(SimSession session)
setBody
public void setBody(RsBody body)
getPaintBoxArray
public SimPaintBox[] getPaintBoxArray()
queueStopMotionTask
public void queueStopMotionTask()
sendMouseClickEvent
public void sendMouseClickEvent(RsMouseClickEvent mce)
- Overrides:
sendMouseClickEvent
in class RsConnection
sendMotionHaltedEvent
public void sendMotionHaltedEvent(RsMotionHaltedEvent event)
- Overrides:
sendMotionHaltedEvent
in class RsConnection
sendMotionStartedEvent
public void sendMotionStartedEvent(RsMotionStartedEvent event)
- Overrides:
sendMotionStartedEvent
in class RsConnection
startHeartbeat
public void startHeartbeat(double interval)
stopHeartbeat
public void stopHeartbeat()
removeStartMotionTask
public void removeStartMotionTask()
processMotion
public double processMotion(double taskTime)
isMotionProcessingRequired
public boolean isMotionProcessingRequired()
setMotionRequest
public void setMotionRequest(RsMotionRequest motionRequest)
setPlacementRequested
public void setPlacementRequested(boolean status)
isMotionEngaged
public boolean isMotionEngaged()
setStartMotionTask
public void setStartMotionTask(SimStartMotionTask task)
getStartMotionTask
public SimStartMotionTask getStartMotionTask()
stopMotionFromTask
public void stopMotionFromTask()