org.robokind.impl.motion.messaging
Class PortableRobotDefinitionResponse

java.lang.Object
  extended by 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 Class Summary
static class PortableRobotDefinitionResponse.MessageRecordAdapter
           
static class PortableRobotDefinitionResponse.RecordMessageAdapter
           
 
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
 
Constructor Summary
PortableRobotDefinitionResponse(org.robokind.api.motion.protocol.RobotDefinitionResponse response)
           
PortableRobotDefinitionResponse(org.robokind.avrogen.motion.RobotDefinitionResponseRecord record)
           
PortableRobotDefinitionResponse(org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader header, boolean connected, boolean enabled, List<org.robokind.api.motion.protocol.RobotDefinitionResponse.JointDefinition> jointDefs)
           
PortableRobotDefinitionResponse(org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader header, org.robokind.api.motion.Robot<? extends org.robokind.api.motion.Joint> robot)
           
 
Method Summary
 boolean getConnected()
           
 boolean getEnabled()
           
 List<org.robokind.api.motion.protocol.RobotDefinitionResponse.JointDefinition> getJointDefinitions()
           
 org.robokind.avrogen.motion.RobotDefinitionResponseRecord getRecord()
           
 org.robokind.api.motion.protocol.RobotResponse.RobotResponseHeader getResponseHeader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.