Project: engagement_generation License: BSD Dependencies:
Used by:
None |
engagement_generation/srv_gen/java/ros/pkg/roscpp/srv/SetLoggerLevel.javaGo to the documentation of this file.00001 /* Auto-generated by genmsg_cpp for file /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp/srv/SetLoggerLevel.srv */ 00002 00003 package ros.pkg.roscpp.srv; 00004 00005 import java.nio.ByteBuffer; 00006 00007 00008 public class SetLoggerLevel extends ros.communication.Service<SetLoggerLevel.Request, SetLoggerLevel.Response> { 00009 00010 public static java.lang.String __s_getDataType() { return "roscpp/SetLoggerLevel"; } 00011 public static java.lang.String __s_getMD5Sum() { return "51da076440d78ca1684d36c868df61ea"; } 00012 00013 public java.lang.String getDataType() { return SetLoggerLevel.__s_getDataType(); } 00014 public java.lang.String getMD5Sum() { return SetLoggerLevel.__s_getMD5Sum(); } 00015 00016 public SetLoggerLevel.Request createRequest() { 00017 return new SetLoggerLevel.Request(); 00018 } 00019 00020 public SetLoggerLevel.Response createResponse() { 00021 return new SetLoggerLevel.Response(); 00022 } 00023 00024 static public class Request extends ros.communication.Message { 00025 00026 public java.lang.String logger = new java.lang.String(); 00027 public java.lang.String level = new java.lang.String(); 00028 00029 public Request() { 00030 } 00031 00032 public static java.lang.String __s_getDataType() { return "roscpp/SetLoggerLevelRequest"; } 00033 public java.lang.String getDataType() { return __s_getDataType(); } 00034 public static java.lang.String __s_getMD5Sum() { return "51da076440d78ca1684d36c868df61ea"; } 00035 public java.lang.String getMD5Sum() { return __s_getMD5Sum(); } 00036 public static java.lang.String __s_getServerMD5Sum() { return "51da076440d78ca1684d36c868df61ea"; } 00037 public java.lang.String getServerMD5Sum() { return __s_getServerMD5Sum(); } 00038 public static java.lang.String __s_getMessageDefinition() { return "string logger\n" + 00039 "string level\n" + 00040 "\n" + 00041 ""; } 00042 public java.lang.String getMessageDefinition() { return __s_getMessageDefinition(); } 00043 00044 public Request clone() { 00045 Request c = new Request(); 00046 c.deserialize(serialize(0)); 00047 return c; 00048 } 00049 00050 public void setTo(ros.communication.Message m) { 00051 deserialize(m.serialize(0)); 00052 } 00053 00054 public int serializationLength() { 00055 int __l = 0; 00056 __l += 4 + logger.length(); 00057 __l += 4 + level.length(); 00058 return __l; 00059 } 00060 00061 public void serialize(ByteBuffer bb, int seq) { 00062 Serialization.writeString(bb, logger); 00063 Serialization.writeString(bb, level); 00064 } 00065 00066 public void deserialize(ByteBuffer bb) { 00067 logger = Serialization.readString(bb); 00068 level = Serialization.readString(bb); 00069 } 00070 00071 @SuppressWarnings("all") 00072 public boolean equals(Object o) { 00073 if(!(o instanceof Request)) 00074 return false; 00075 Request other = (Request) o; 00076 return 00077 logger.equals(other.logger) && 00078 level.equals(other.level) && 00079 true; 00080 } 00081 00082 @SuppressWarnings("all") 00083 public int hashCode() { 00084 final int prime = 31; 00085 int result = 1; 00086 long tmp; 00087 result = prime * result + (this.logger == null ? 0 : this.logger.hashCode()); 00088 result = prime * result + (this.level == null ? 0 : this.level.hashCode()); 00089 return result; 00090 } 00091 } // class Request 00092 00093 static public class Response extends ros.communication.Message { 00094 00095 00096 public Response() { 00097 } 00098 00099 public static java.lang.String __s_getDataType() { return "roscpp/SetLoggerLevelResponse"; } 00100 public java.lang.String getDataType() { return __s_getDataType(); } 00101 public static java.lang.String __s_getMD5Sum() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00102 public java.lang.String getMD5Sum() { return __s_getMD5Sum(); } 00103 public static java.lang.String __s_getServerMD5Sum() { return "51da076440d78ca1684d36c868df61ea"; } 00104 public java.lang.String getServerMD5Sum() { return __s_getServerMD5Sum(); } 00105 public static java.lang.String __s_getMessageDefinition() { return "\n" + 00106 ""; } 00107 public java.lang.String getMessageDefinition() { return __s_getMessageDefinition(); } 00108 00109 public Response clone() { 00110 Response c = new Response(); 00111 c.deserialize(serialize(0)); 00112 return c; 00113 } 00114 00115 public void setTo(ros.communication.Message m) { 00116 deserialize(m.serialize(0)); 00117 } 00118 00119 public int serializationLength() { 00120 int __l = 0; 00121 return __l; 00122 } 00123 00124 public void serialize(ByteBuffer bb, int seq) { 00125 } 00126 00127 public void deserialize(ByteBuffer bb) { 00128 } 00129 00130 @SuppressWarnings("all") 00131 public boolean equals(Object o) { 00132 if(!(o instanceof Response)) 00133 return false; 00134 Response other = (Response) o; 00135 return 00136 true; 00137 } 00138 00139 @SuppressWarnings("all") 00140 public int hashCode() { 00141 final int prime = 31; 00142 int result = 1; 00143 long tmp; 00144 return result; 00145 } 00146 } // class Response 00147 00148 } //class 00149 |