org.robokind.impl.motion.messaging
Class PortableRobotDefinitionResponse
java.lang.Object
org.robokind.impl.motion.messaging.PortableRobotDefinitionResponse
- All Implemented Interfaces:
- org.robokind.api.motion.protocol.RobotDefinitionResponse, org.robokind.api.motion.protocol.RobotResponse
public class PortableRobotDefinitionResponse
- extends Object
- implements org.robokind.api.motion.protocol.RobotDefinitionResponse
- Author:
- Matthew Stevenson
Nested classes/interfaces inherited from interface org.robokind.api.motion.protocol.RobotDefinitionResponse |
org.robokind.api.motion.protocol.RobotDefinitionResponse.JointDefinition, org.robokind.api.motion.protocol.RobotDefinitionResponse.JointPropDefinition |
Nested classes/interfaces inherited from interface org.robokind.api.motion.protocol.RobotResponse |
org.robokind.api.motion.protocol.RobotResponse.RobotPositionResponse, org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader, org.robokind.api.motion.protocol.RobotResponse.RobotStatusResponse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortableRobotDefinitionResponse
public PortableRobotDefinitionResponse(org.robokind.avrogen.motion.RobotDefinitionResponseRecord record)
PortableRobotDefinitionResponse
public PortableRobotDefinitionResponse(org.robokind.api.motion.protocol.RobotDefinitionResponse response)
PortableRobotDefinitionResponse
public PortableRobotDefinitionResponse(org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader header,
boolean connected,
boolean enabled,
List<org.robokind.api.motion.protocol.RobotDefinitionResponse.JointDefinition> jointDefs)
PortableRobotDefinitionResponse
public PortableRobotDefinitionResponse(org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader header,
org.robokind.api.motion.Robot<? extends org.robokind.api.motion.Joint> robot)
getConnected
public boolean getConnected()
- Specified by:
getConnected
in interface org.robokind.api.motion.protocol.RobotDefinitionResponse
getEnabled
public boolean getEnabled()
- Specified by:
getEnabled
in interface org.robokind.api.motion.protocol.RobotDefinitionResponse
getJointDefinitions
public List<org.robokind.api.motion.protocol.RobotDefinitionResponse.JointDefinition> getJointDefinitions()
- Specified by:
getJointDefinitions
in interface org.robokind.api.motion.protocol.RobotDefinitionResponse
getResponseHeader
public org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader getResponseHeader()
- Specified by:
getResponseHeader
in interface org.robokind.api.motion.protocol.RobotResponse
getRecord
public org.robokind.avrogen.motion.RobotDefinitionResponseRecord getRecord()
Copyright © 2011-2013. All Rights Reserved.