Project: engagement_test License: BSD Dependencies:
Used by:
None |
engagement_test/srv_gen/java/ros/pkg/engagement_srvs/srv/RobotMutualFacialGaze.javaGo to the documentation of this file.00001 /* Auto-generated by genmsg_cpp for file /home/mel/workspace/ros_stacks/engagement/engagement_srvs/srv/RobotMutualFacialGaze.srv */ 00002 00003 package ros.pkg.engagement_srvs.srv; 00004 00005 import java.nio.ByteBuffer; 00006 00007 00008 public class RobotMutualFacialGaze extends ros.communication.Service<RobotMutualFacialGaze.Request, RobotMutualFacialGaze.Response> { 00009 00010 public static java.lang.String __s_getDataType() { return "engagement_srvs/RobotMutualFacialGaze"; } 00011 public static java.lang.String __s_getMD5Sum() { return "5a075e0b28412d0fdcd147745539d9d6"; } 00012 00013 public java.lang.String getDataType() { return RobotMutualFacialGaze.__s_getDataType(); } 00014 public java.lang.String getMD5Sum() { return RobotMutualFacialGaze.__s_getMD5Sum(); } 00015 00016 public RobotMutualFacialGaze.Request createRequest() { 00017 return new RobotMutualFacialGaze.Request(); 00018 } 00019 00020 public RobotMutualFacialGaze.Response createResponse() { 00021 return new RobotMutualFacialGaze.Response(); 00022 } 00023 00024 static public class Request extends ros.communication.Message { 00025 00026 public ros.pkg.engagement_msgs.msg.ActorID actor = new ros.pkg.engagement_msgs.msg.ActorID(); 00027 00028 public Request() { 00029 } 00030 00031 public static java.lang.String __s_getDataType() { return "engagement_srvs/RobotMutualFacialGazeRequest"; } 00032 public java.lang.String getDataType() { return __s_getDataType(); } 00033 public static java.lang.String __s_getMD5Sum() { return "b4e383113a12f607c76653c5e3d26ce7"; } 00034 public java.lang.String getMD5Sum() { return __s_getMD5Sum(); } 00035 public static java.lang.String __s_getServerMD5Sum() { return "5a075e0b28412d0fdcd147745539d9d6"; } 00036 public java.lang.String getServerMD5Sum() { return __s_getServerMD5Sum(); } 00037 public static java.lang.String __s_getMessageDefinition() { return "\n" + 00038 "engagement_msgs/ActorID actor\n" + 00039 "\n" + 00040 "================================================================================\n" + 00041 "MSG: engagement_msgs/ActorID\n" + 00042 "# Unique string identifier for the actor\n" + 00043 "string id\n" + 00044 "\n" + 00045 "# Constant to identify the Robot as the actor\n" + 00046 "string ROBOT=ROBOT\n" + 00047 ""; } 00048 public java.lang.String getMessageDefinition() { return __s_getMessageDefinition(); } 00049 00050 public Request clone() { 00051 Request c = new Request(); 00052 c.deserialize(serialize(0)); 00053 return c; 00054 } 00055 00056 public void setTo(ros.communication.Message m) { 00057 deserialize(m.serialize(0)); 00058 } 00059 00060 public int serializationLength() { 00061 int __l = 0; 00062 __l += actor.serializationLength(); 00063 return __l; 00064 } 00065 00066 public void serialize(ByteBuffer bb, int seq) { 00067 actor.serialize(bb, seq); 00068 } 00069 00070 public void deserialize(ByteBuffer bb) { 00071 actor.deserialize(bb); 00072 } 00073 00074 @SuppressWarnings("all") 00075 public boolean equals(Object o) { 00076 if(!(o instanceof Request)) 00077 return false; 00078 Request other = (Request) o; 00079 return 00080 actor.equals(other.actor) && 00081 true; 00082 } 00083 00084 @SuppressWarnings("all") 00085 public int hashCode() { 00086 final int prime = 31; 00087 int result = 1; 00088 long tmp; 00089 result = prime * result + (this.actor == null ? 0 : this.actor.hashCode()); 00090 return result; 00091 } 00092 } // class Request 00093 00094 static public class Response extends ros.communication.Message { 00095 00096 public ros.pkg.bml_msgs.msg.Flag result = new ros.pkg.bml_msgs.msg.Flag(); 00097 00098 public Response() { 00099 } 00100 00101 public static java.lang.String __s_getDataType() { return "engagement_srvs/RobotMutualFacialGazeResponse"; } 00102 public java.lang.String getDataType() { return __s_getDataType(); } 00103 public static java.lang.String __s_getMD5Sum() { return "5116f0488e7c1f6fcb4e31d94a2b9cfb"; } 00104 public java.lang.String getMD5Sum() { return __s_getMD5Sum(); } 00105 public static java.lang.String __s_getServerMD5Sum() { return "5a075e0b28412d0fdcd147745539d9d6"; } 00106 public java.lang.String getServerMD5Sum() { return __s_getServerMD5Sum(); } 00107 public static java.lang.String __s_getMessageDefinition() { return "\n" + 00108 "bml_msgs/Flag result\n" + 00109 "\n" + 00110 "================================================================================\n" + 00111 "MSG: bml_msgs/Flag\n" + 00112 "# A flag which determines between TRUE and FALSE\n" + 00113 "int8 value\n" + 00114 "\n" + 00115 "# Constant for an invalid value\n" + 00116 "int8 INVALID=-1\n" + 00117 "\n" + 00118 "# Constants which define the values for true\n" + 00119 "int8 TRUE=1\n" + 00120 "int8 START=1\n" + 00121 "int8 BEGIN=1\n" + 00122 "int8 SUCCESS=1\n" + 00123 "int8 DONE=1\n" + 00124 "\n" + 00125 "# Constants which define the values for false\n" + 00126 "int8 FALSE=0\n" + 00127 "int8 STOP=0\n" + 00128 "int8 END=0\n" + 00129 "int8 FAILURE=0\n" + 00130 "int8 NOT_DONE=0\n" + 00131 "\n" + 00132 "# Constants for response types\n" + 00133 "int8 OPTIONAL_RESPONSE=0\n" + 00134 "int8 IS_A_RESPONSE=1\n" + 00135 "int8 REQUIRES_RESPONSE=2\n" + 00136 "int8 BACKCHANNEL=3\n" + 00137 "\n" + 00138 "# Constants which define the values for the side to use\n" + 00139 "int8 NEITHER=0\n" + 00140 "int8 LEFT=1\n" + 00141 "int8 RIGHT=2\n" + 00142 "int8 EITHER=3\n" + 00143 "\n" + 00144 ""; } 00145 public java.lang.String getMessageDefinition() { return __s_getMessageDefinition(); } 00146 00147 public Response clone() { 00148 Response c = new Response(); 00149 c.deserialize(serialize(0)); 00150 return c; 00151 } 00152 00153 public void setTo(ros.communication.Message m) { 00154 deserialize(m.serialize(0)); 00155 } 00156 00157 public int serializationLength() { 00158 int __l = 0; 00159 __l += result.serializationLength(); 00160 return __l; 00161 } 00162 00163 public void serialize(ByteBuffer bb, int seq) { 00164 result.serialize(bb, seq); 00165 } 00166 00167 public void deserialize(ByteBuffer bb) { 00168 result.deserialize(bb); 00169 } 00170 00171 @SuppressWarnings("all") 00172 public boolean equals(Object o) { 00173 if(!(o instanceof Response)) 00174 return false; 00175 Response other = (Response) o; 00176 return 00177 result.equals(other.result) && 00178 true; 00179 } 00180 00181 @SuppressWarnings("all") 00182 public int hashCode() { 00183 final int prime = 31; 00184 int result = 1; 00185 long tmp; 00186 result = prime * result + (this.result == null ? 0 : this.result.hashCode()); 00187 return result; 00188 } 00189 } // class Response 00190 00191 } //class 00192 |