RawMessage.java
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2011 Google Inc.
00003  * 
00004  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
00005  * use this file except in compliance with the License. You may obtain a copy of
00006  * the License at
00007  * 
00008  * http://www.apache.org/licenses/LICENSE-2.0
00009  * 
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
00012  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
00013  * License for the specific language governing permissions and limitations under
00014  * the License.
00015  */
00016 
00017 package org.ros.internal.message;
00018 
00019 import org.jboss.netty.buffer.ChannelBuffer;
00020 import org.ros.internal.message.field.Field;
00021 import org.ros.message.Duration;
00022 import org.ros.message.MessageIdentifier;
00023 import org.ros.message.Time;
00024 
00025 import java.util.List;
00026 
00030 public interface RawMessage extends Message {
00031 
00032   boolean getBool(String name);
00033 
00034   boolean[] getBoolArray(String name);
00035 
00039   byte getByte(String name);
00040 
00044   byte[] getByteArray(String name);
00045 
00049   short getChar(String name);
00050 
00054   short[] getCharArray(String name);
00055 
00056   String getDefinition();
00057 
00058   Duration getDuration(String name);
00059 
00060   List<Duration> getDurationList(String name);
00061 
00062   List<Field> getFields();
00063 
00064   float getFloat32(String name);
00065 
00066   float[] getFloat32Array(String name);
00067 
00068   double getFloat64(String name);
00069 
00070   double[] getFloat64Array(String name);
00071 
00072   MessageIdentifier getIdentifier();
00073 
00074   short getInt16(String name);
00075 
00076   short[] getInt16Array(String name);
00077 
00078   int getInt32(String name);
00079 
00080   int[] getInt32Array(String name);
00081 
00082   long getInt64(String name);
00083 
00084   long[] getInt64Array(String name);
00085 
00086   byte getInt8(String name);
00087 
00088   byte[] getInt8Array(String name);
00089 
00090   <T extends Message> T getMessage(String name);
00091 
00092   <T extends Message> List<T> getMessageList(String name);
00093 
00094   String getName();
00095 
00096   String getPackage();
00097 
00098   String getString(String name);
00099 
00100   List<String> getStringList(String name);
00101 
00102   Time getTime(String name);
00103 
00104   List<Time> getTimeList(String name);
00105 
00106   String getType();
00107 
00108   short getUInt16(String name);
00109 
00110   short[] getUInt16Array(String name);
00111 
00112   int getUInt32(String name);
00113 
00114   int[] getUInt32Array(String name);
00115 
00116   long getUInt64(String name);
00117 
00118   long[] getUInt64Array(String name);
00119 
00120   short getUInt8(String name);
00121 
00122   short[] getUInt8Array(String name);
00123 
00124   void setBool(String name, boolean value);
00125 
00126   void setBoolArray(String name, boolean[] value);
00127 
00131   void setByte(String name, byte value);
00132 
00136   void setByteArray(String name, byte[] value);
00137 
00141   void setChar(String name, short value);
00142 
00146   void setCharArray(String name, short[] value);
00147 
00148   void setDuration(String name, Duration value);
00149 
00150   void setDurationList(String name, List<Duration> value);
00151 
00152   void setFloat32(String name, float value);
00153 
00154   void setFloat32Array(String name, float[] value);
00155 
00156   void setFloat64(String name, double value);
00157 
00158   void setFloat64Array(String name, double[] value);
00159 
00160   void setInt16(String name, short value);
00161 
00162   void setInt16Array(String name, short[] value);
00163 
00164   void setInt32(String name, int value);
00165 
00166   void setInt32Array(String name, int[] value);
00167 
00168   void setInt64(String name, long value);
00169 
00170   void setInt64Array(String name, long[] value);
00171 
00172   void setInt8(String name, byte value);
00173 
00174   void setInt8Array(String name, byte[] value);
00175 
00176   void setMessage(String name, Message value);
00177 
00178   void setMessageList(String name, List<Message> value);
00179 
00180   void setString(String name, String value);
00181 
00182   void setStringList(String name, List<String> value);
00183 
00184   void setTime(String name, Time value);
00185 
00186   void setTimeList(String name, List<Time> value);
00187 
00188   void setUInt16(String name, short value);
00189 
00190   void setUInt16Array(String name, short[] value);
00191 
00192   void setUInt32(String name, int value);
00193 
00194   void setUInt32Array(String name, int[] value);
00195 
00196   void setUInt64(String name, long value);
00197 
00198   void setUInt64Array(String name, long[] value);
00199 
00200   void setUInt8(String name, byte value);
00201 
00202   void setUInt8Array(String name, byte[] value);
00203 
00204   void setChannelBuffer(String name, ChannelBuffer value);
00205 
00206   ChannelBuffer getChannelBuffer(String name);
00207 }


rosjava_bootstrap
Author(s): Daniel Stonier , Damon Kohler
autogenerated on Fri Aug 28 2015 12:41:44