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