Go to the documentation of this file.00001
00002 #ifndef OPENRAVEROS_SERVICE_ENV_CREATEROBOT_H
00003 #define OPENRAVEROS_SERVICE_ENV_CREATEROBOT_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 env_createrobotRequest_ {
00026 typedef env_createrobotRequest_<ContainerAllocator> Type;
00027
00028 env_createrobotRequest_()
00029 : name()
00030 , file()
00031 , type()
00032 {
00033 }
00034
00035 env_createrobotRequest_(const ContainerAllocator& _alloc)
00036 : name(_alloc)
00037 , file(_alloc)
00038 , type(_alloc)
00039 {
00040 }
00041
00042 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type;
00043 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > name;
00044
00045 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _file_type;
00046 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > file;
00047
00048 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _type_type;
00049 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > type;
00050
00051
00052 typedef boost::shared_ptr< ::openraveros::env_createrobotRequest_<ContainerAllocator> > Ptr;
00053 typedef boost::shared_ptr< ::openraveros::env_createrobotRequest_<ContainerAllocator> const> ConstPtr;
00054 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00055 };
00056 typedef ::openraveros::env_createrobotRequest_<std::allocator<void> > env_createrobotRequest;
00057
00058 typedef boost::shared_ptr< ::openraveros::env_createrobotRequest> env_createrobotRequestPtr;
00059 typedef boost::shared_ptr< ::openraveros::env_createrobotRequest const> env_createrobotRequestConstPtr;
00060
00061
00062 template <class ContainerAllocator>
00063 struct env_createrobotResponse_ {
00064 typedef env_createrobotResponse_<ContainerAllocator> Type;
00065
00066 env_createrobotResponse_()
00067 : bodyid(0)
00068 {
00069 }
00070
00071 env_createrobotResponse_(const ContainerAllocator& _alloc)
00072 : bodyid(0)
00073 {
00074 }
00075
00076 typedef int32_t _bodyid_type;
00077 int32_t bodyid;
00078
00079
00080 typedef boost::shared_ptr< ::openraveros::env_createrobotResponse_<ContainerAllocator> > Ptr;
00081 typedef boost::shared_ptr< ::openraveros::env_createrobotResponse_<ContainerAllocator> const> ConstPtr;
00082 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00083 };
00084 typedef ::openraveros::env_createrobotResponse_<std::allocator<void> > env_createrobotResponse;
00085
00086 typedef boost::shared_ptr< ::openraveros::env_createrobotResponse> env_createrobotResponsePtr;
00087 typedef boost::shared_ptr< ::openraveros::env_createrobotResponse const> env_createrobotResponseConstPtr;
00088
00089 struct env_createrobot
00090 {
00091
00092 typedef env_createrobotRequest Request;
00093 typedef env_createrobotResponse Response;
00094 Request request;
00095 Response response;
00096
00097 typedef Request RequestType;
00098 typedef Response ResponseType;
00099 };
00100 }
00101
00102 namespace ros
00103 {
00104 namespace message_traits
00105 {
00106 template<class ContainerAllocator> struct IsMessage< ::openraveros::env_createrobotRequest_<ContainerAllocator> > : public TrueType {};
00107 template<class ContainerAllocator> struct IsMessage< ::openraveros::env_createrobotRequest_<ContainerAllocator> const> : public TrueType {};
00108 template<class ContainerAllocator>
00109 struct MD5Sum< ::openraveros::env_createrobotRequest_<ContainerAllocator> > {
00110 static const char* value()
00111 {
00112 return "6df21077c6010e7bb39bf8b17fae1f51";
00113 }
00114
00115 static const char* value(const ::openraveros::env_createrobotRequest_<ContainerAllocator> &) { return value(); }
00116 static const uint64_t static_value1 = 0x6df21077c6010e7bULL;
00117 static const uint64_t static_value2 = 0xb39bf8b17fae1f51ULL;
00118 };
00119
00120 template<class ContainerAllocator>
00121 struct DataType< ::openraveros::env_createrobotRequest_<ContainerAllocator> > {
00122 static const char* value()
00123 {
00124 return "openraveros/env_createrobotRequest";
00125 }
00126
00127 static const char* value(const ::openraveros::env_createrobotRequest_<ContainerAllocator> &) { return value(); }
00128 };
00129
00130 template<class ContainerAllocator>
00131 struct Definition< ::openraveros::env_createrobotRequest_<ContainerAllocator> > {
00132 static const char* value()
00133 {
00134 return "\n\
00135 \n\
00136 \n\
00137 string name\n\
00138 \n\
00139 \n\
00140 string file\n\
00141 \n\
00142 \n\
00143 string type\n\
00144 \n\
00145 ";
00146 }
00147
00148 static const char* value(const ::openraveros::env_createrobotRequest_<ContainerAllocator> &) { return value(); }
00149 };
00150
00151 }
00152 }
00153
00154
00155 namespace ros
00156 {
00157 namespace message_traits
00158 {
00159 template<class ContainerAllocator> struct IsMessage< ::openraveros::env_createrobotResponse_<ContainerAllocator> > : public TrueType {};
00160 template<class ContainerAllocator> struct IsMessage< ::openraveros::env_createrobotResponse_<ContainerAllocator> const> : public TrueType {};
00161 template<class ContainerAllocator>
00162 struct MD5Sum< ::openraveros::env_createrobotResponse_<ContainerAllocator> > {
00163 static const char* value()
00164 {
00165 return "10fe673987681b8f34c92bca56d3c517";
00166 }
00167
00168 static const char* value(const ::openraveros::env_createrobotResponse_<ContainerAllocator> &) { return value(); }
00169 static const uint64_t static_value1 = 0x10fe673987681b8fULL;
00170 static const uint64_t static_value2 = 0x34c92bca56d3c517ULL;
00171 };
00172
00173 template<class ContainerAllocator>
00174 struct DataType< ::openraveros::env_createrobotResponse_<ContainerAllocator> > {
00175 static const char* value()
00176 {
00177 return "openraveros/env_createrobotResponse";
00178 }
00179
00180 static const char* value(const ::openraveros::env_createrobotResponse_<ContainerAllocator> &) { return value(); }
00181 };
00182
00183 template<class ContainerAllocator>
00184 struct Definition< ::openraveros::env_createrobotResponse_<ContainerAllocator> > {
00185 static const char* value()
00186 {
00187 return "int32 bodyid\n\
00188 \n\
00189 \n\
00190 ";
00191 }
00192
00193 static const char* value(const ::openraveros::env_createrobotResponse_<ContainerAllocator> &) { return value(); }
00194 };
00195
00196 template<class ContainerAllocator> struct IsFixedSize< ::openraveros::env_createrobotResponse_<ContainerAllocator> > : public TrueType {};
00197 }
00198 }
00199
00200 namespace ros
00201 {
00202 namespace serialization
00203 {
00204
00205 template<class ContainerAllocator> struct Serializer< ::openraveros::env_createrobotRequest_<ContainerAllocator> >
00206 {
00207 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00208 {
00209 stream.next(m.name);
00210 stream.next(m.file);
00211 stream.next(m.type);
00212 }
00213
00214 ROS_DECLARE_ALLINONE_SERIALIZER;
00215 };
00216 }
00217 }
00218
00219
00220 namespace ros
00221 {
00222 namespace serialization
00223 {
00224
00225 template<class ContainerAllocator> struct Serializer< ::openraveros::env_createrobotResponse_<ContainerAllocator> >
00226 {
00227 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00228 {
00229 stream.next(m.bodyid);
00230 }
00231
00232 ROS_DECLARE_ALLINONE_SERIALIZER;
00233 };
00234 }
00235 }
00236
00237 namespace ros
00238 {
00239 namespace service_traits
00240 {
00241 template<>
00242 struct MD5Sum<openraveros::env_createrobot> {
00243 static const char* value()
00244 {
00245 return "c0f4b0da0dd4b122340b9785bdf9b747";
00246 }
00247
00248 static const char* value(const openraveros::env_createrobot&) { return value(); }
00249 };
00250
00251 template<>
00252 struct DataType<openraveros::env_createrobot> {
00253 static const char* value()
00254 {
00255 return "openraveros/env_createrobot";
00256 }
00257
00258 static const char* value(const openraveros::env_createrobot&) { return value(); }
00259 };
00260
00261 template<class ContainerAllocator>
00262 struct MD5Sum<openraveros::env_createrobotRequest_<ContainerAllocator> > {
00263 static const char* value()
00264 {
00265 return "c0f4b0da0dd4b122340b9785bdf9b747";
00266 }
00267
00268 static const char* value(const openraveros::env_createrobotRequest_<ContainerAllocator> &) { return value(); }
00269 };
00270
00271 template<class ContainerAllocator>
00272 struct DataType<openraveros::env_createrobotRequest_<ContainerAllocator> > {
00273 static const char* value()
00274 {
00275 return "openraveros/env_createrobot";
00276 }
00277
00278 static const char* value(const openraveros::env_createrobotRequest_<ContainerAllocator> &) { return value(); }
00279 };
00280
00281 template<class ContainerAllocator>
00282 struct MD5Sum<openraveros::env_createrobotResponse_<ContainerAllocator> > {
00283 static const char* value()
00284 {
00285 return "c0f4b0da0dd4b122340b9785bdf9b747";
00286 }
00287
00288 static const char* value(const openraveros::env_createrobotResponse_<ContainerAllocator> &) { return value(); }
00289 };
00290
00291 template<class ContainerAllocator>
00292 struct DataType<openraveros::env_createrobotResponse_<ContainerAllocator> > {
00293 static const char* value()
00294 {
00295 return "openraveros/env_createrobot";
00296 }
00297
00298 static const char* value(const openraveros::env_createrobotResponse_<ContainerAllocator> &) { return value(); }
00299 };
00300
00301 }
00302 }
00303
00304 #endif // OPENRAVEROS_SERVICE_ENV_CREATEROBOT_H
00305