Go to the documentation of this file.00001
00002 #ifndef OPENRAVEROS_SERVICE_ROBOT_SENSORSEND_H
00003 #define OPENRAVEROS_SERVICE_ROBOT_SENSORSEND_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/macros.h"
00014
00015 #include "ros/assert.h"
00016
00017 #include "ros/service_traits.h"
00018
00019
00020
00021
00022 namespace openraveros
00023 {
00024 template <class ContainerAllocator>
00025 struct robot_sensorsendRequest_ {
00026 typedef robot_sensorsendRequest_<ContainerAllocator> Type;
00027
00028 robot_sensorsendRequest_()
00029 : robotid(0)
00030 , sensorindex(0)
00031 , cmd()
00032 , args()
00033 {
00034 }
00035
00036 robot_sensorsendRequest_(const ContainerAllocator& _alloc)
00037 : robotid(0)
00038 , sensorindex(0)
00039 , cmd(_alloc)
00040 , args(_alloc)
00041 {
00042 }
00043
00044 typedef int32_t _robotid_type;
00045 int32_t robotid;
00046
00047 typedef uint8_t _sensorindex_type;
00048 uint8_t sensorindex;
00049
00050 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _cmd_type;
00051 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > cmd;
00052
00053 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _args_type;
00054 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > args;
00055
00056
00057 typedef boost::shared_ptr< ::openraveros::robot_sensorsendRequest_<ContainerAllocator> > Ptr;
00058 typedef boost::shared_ptr< ::openraveros::robot_sensorsendRequest_<ContainerAllocator> const> ConstPtr;
00059 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00060 };
00061 typedef ::openraveros::robot_sensorsendRequest_<std::allocator<void> > robot_sensorsendRequest;
00062
00063 typedef boost::shared_ptr< ::openraveros::robot_sensorsendRequest> robot_sensorsendRequestPtr;
00064 typedef boost::shared_ptr< ::openraveros::robot_sensorsendRequest const> robot_sensorsendRequestConstPtr;
00065
00066
00067 template <class ContainerAllocator>
00068 struct robot_sensorsendResponse_ {
00069 typedef robot_sensorsendResponse_<ContainerAllocator> Type;
00070
00071 robot_sensorsendResponse_()
00072 : out()
00073 {
00074 }
00075
00076 robot_sensorsendResponse_(const ContainerAllocator& _alloc)
00077 : out(_alloc)
00078 {
00079 }
00080
00081 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _out_type;
00082 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > out;
00083
00084
00085 typedef boost::shared_ptr< ::openraveros::robot_sensorsendResponse_<ContainerAllocator> > Ptr;
00086 typedef boost::shared_ptr< ::openraveros::robot_sensorsendResponse_<ContainerAllocator> const> ConstPtr;
00087 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00088 };
00089 typedef ::openraveros::robot_sensorsendResponse_<std::allocator<void> > robot_sensorsendResponse;
00090
00091 typedef boost::shared_ptr< ::openraveros::robot_sensorsendResponse> robot_sensorsendResponsePtr;
00092 typedef boost::shared_ptr< ::openraveros::robot_sensorsendResponse const> robot_sensorsendResponseConstPtr;
00093
00094 struct robot_sensorsend
00095 {
00096
00097 typedef robot_sensorsendRequest Request;
00098 typedef robot_sensorsendResponse Response;
00099 Request request;
00100 Response response;
00101
00102 typedef Request RequestType;
00103 typedef Response ResponseType;
00104 };
00105 }
00106
00107 namespace ros
00108 {
00109 namespace message_traits
00110 {
00111 template<class ContainerAllocator> struct IsMessage< ::openraveros::robot_sensorsendRequest_<ContainerAllocator> > : public TrueType {};
00112 template<class ContainerAllocator> struct IsMessage< ::openraveros::robot_sensorsendRequest_<ContainerAllocator> const> : public TrueType {};
00113 template<class ContainerAllocator>
00114 struct MD5Sum< ::openraveros::robot_sensorsendRequest_<ContainerAllocator> > {
00115 static const char* value()
00116 {
00117 return "4a2a28356bc3453c57cfacd020faf53f";
00118 }
00119
00120 static const char* value(const ::openraveros::robot_sensorsendRequest_<ContainerAllocator> &) { return value(); }
00121 static const uint64_t static_value1 = 0x4a2a28356bc3453cULL;
00122 static const uint64_t static_value2 = 0x57cfacd020faf53fULL;
00123 };
00124
00125 template<class ContainerAllocator>
00126 struct DataType< ::openraveros::robot_sensorsendRequest_<ContainerAllocator> > {
00127 static const char* value()
00128 {
00129 return "openraveros/robot_sensorsendRequest";
00130 }
00131
00132 static const char* value(const ::openraveros::robot_sensorsendRequest_<ContainerAllocator> &) { return value(); }
00133 };
00134
00135 template<class ContainerAllocator>
00136 struct Definition< ::openraveros::robot_sensorsendRequest_<ContainerAllocator> > {
00137 static const char* value()
00138 {
00139 return "\n\
00140 \n\
00141 \n\
00142 \n\
00143 int32 robotid\n\
00144 \n\
00145 \n\
00146 uint8 sensorindex\n\
00147 string cmd\n\
00148 string args\n\
00149 \n\
00150 \n\
00151 ";
00152 }
00153
00154 static const char* value(const ::openraveros::robot_sensorsendRequest_<ContainerAllocator> &) { return value(); }
00155 };
00156
00157 }
00158 }
00159
00160
00161 namespace ros
00162 {
00163 namespace message_traits
00164 {
00165 template<class ContainerAllocator> struct IsMessage< ::openraveros::robot_sensorsendResponse_<ContainerAllocator> > : public TrueType {};
00166 template<class ContainerAllocator> struct IsMessage< ::openraveros::robot_sensorsendResponse_<ContainerAllocator> const> : public TrueType {};
00167 template<class ContainerAllocator>
00168 struct MD5Sum< ::openraveros::robot_sensorsendResponse_<ContainerAllocator> > {
00169 static const char* value()
00170 {
00171 return "da0977a72deba269ef1a5e91941513be";
00172 }
00173
00174 static const char* value(const ::openraveros::robot_sensorsendResponse_<ContainerAllocator> &) { return value(); }
00175 static const uint64_t static_value1 = 0xda0977a72deba269ULL;
00176 static const uint64_t static_value2 = 0xef1a5e91941513beULL;
00177 };
00178
00179 template<class ContainerAllocator>
00180 struct DataType< ::openraveros::robot_sensorsendResponse_<ContainerAllocator> > {
00181 static const char* value()
00182 {
00183 return "openraveros/robot_sensorsendResponse";
00184 }
00185
00186 static const char* value(const ::openraveros::robot_sensorsendResponse_<ContainerAllocator> &) { return value(); }
00187 };
00188
00189 template<class ContainerAllocator>
00190 struct Definition< ::openraveros::robot_sensorsendResponse_<ContainerAllocator> > {
00191 static const char* value()
00192 {
00193 return "\n\
00194 string out\n\
00195 \n\
00196 \n\
00197 ";
00198 }
00199
00200 static const char* value(const ::openraveros::robot_sensorsendResponse_<ContainerAllocator> &) { return value(); }
00201 };
00202
00203 }
00204 }
00205
00206 namespace ros
00207 {
00208 namespace serialization
00209 {
00210
00211 template<class ContainerAllocator> struct Serializer< ::openraveros::robot_sensorsendRequest_<ContainerAllocator> >
00212 {
00213 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00214 {
00215 stream.next(m.robotid);
00216 stream.next(m.sensorindex);
00217 stream.next(m.cmd);
00218 stream.next(m.args);
00219 }
00220
00221 ROS_DECLARE_ALLINONE_SERIALIZER;
00222 };
00223 }
00224 }
00225
00226
00227 namespace ros
00228 {
00229 namespace serialization
00230 {
00231
00232 template<class ContainerAllocator> struct Serializer< ::openraveros::robot_sensorsendResponse_<ContainerAllocator> >
00233 {
00234 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00235 {
00236 stream.next(m.out);
00237 }
00238
00239 ROS_DECLARE_ALLINONE_SERIALIZER;
00240 };
00241 }
00242 }
00243
00244 namespace ros
00245 {
00246 namespace service_traits
00247 {
00248 template<>
00249 struct MD5Sum<openraveros::robot_sensorsend> {
00250 static const char* value()
00251 {
00252 return "47e4a30c69341b798a179a61f6b59ad7";
00253 }
00254
00255 static const char* value(const openraveros::robot_sensorsend&) { return value(); }
00256 };
00257
00258 template<>
00259 struct DataType<openraveros::robot_sensorsend> {
00260 static const char* value()
00261 {
00262 return "openraveros/robot_sensorsend";
00263 }
00264
00265 static const char* value(const openraveros::robot_sensorsend&) { return value(); }
00266 };
00267
00268 template<class ContainerAllocator>
00269 struct MD5Sum<openraveros::robot_sensorsendRequest_<ContainerAllocator> > {
00270 static const char* value()
00271 {
00272 return "47e4a30c69341b798a179a61f6b59ad7";
00273 }
00274
00275 static const char* value(const openraveros::robot_sensorsendRequest_<ContainerAllocator> &) { return value(); }
00276 };
00277
00278 template<class ContainerAllocator>
00279 struct DataType<openraveros::robot_sensorsendRequest_<ContainerAllocator> > {
00280 static const char* value()
00281 {
00282 return "openraveros/robot_sensorsend";
00283 }
00284
00285 static const char* value(const openraveros::robot_sensorsendRequest_<ContainerAllocator> &) { return value(); }
00286 };
00287
00288 template<class ContainerAllocator>
00289 struct MD5Sum<openraveros::robot_sensorsendResponse_<ContainerAllocator> > {
00290 static const char* value()
00291 {
00292 return "47e4a30c69341b798a179a61f6b59ad7";
00293 }
00294
00295 static const char* value(const openraveros::robot_sensorsendResponse_<ContainerAllocator> &) { return value(); }
00296 };
00297
00298 template<class ContainerAllocator>
00299 struct DataType<openraveros::robot_sensorsendResponse_<ContainerAllocator> > {
00300 static const char* value()
00301 {
00302 return "openraveros/robot_sensorsend";
00303 }
00304
00305 static const char* value(const openraveros::robot_sensorsendResponse_<ContainerAllocator> &) { return value(); }
00306 };
00307
00308 }
00309 }
00310
00311 #endif // OPENRAVEROS_SERVICE_ROBOT_SENSORSEND_H
00312