00001
00002 #ifndef ASEBAROS_SERVICE_LOADSCRIPTS_H
00003 #define ASEBAROS_SERVICE_LOADSCRIPTS_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/service_traits.h"
00014
00015
00016
00017
00018 namespace asebaros
00019 {
00020 template <class ContainerAllocator>
00021 struct LoadScriptsRequest_ : public ros::Message
00022 {
00023 typedef LoadScriptsRequest_<ContainerAllocator> Type;
00024
00025 LoadScriptsRequest_()
00026 : fileName()
00027 {
00028 }
00029
00030 LoadScriptsRequest_(const ContainerAllocator& _alloc)
00031 : fileName(_alloc)
00032 {
00033 }
00034
00035 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _fileName_type;
00036 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > fileName;
00037
00038
00039 private:
00040 static const char* __s_getDataType_() { return "asebaros/LoadScriptsRequest"; }
00041 public:
00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00043
00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00045
00046 private:
00047 static const char* __s_getMD5Sum_() { return "0c96d4662a80949a4927729271153923"; }
00048 public:
00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00050
00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00052
00053 private:
00054 static const char* __s_getServerMD5Sum_() { return "0c96d4662a80949a4927729271153923"; }
00055 public:
00056 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00057
00058 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00059
00060 private:
00061 static const char* __s_getMessageDefinition_() { return "string fileName\n\
00062 \n\
00063 \n\
00064 "; }
00065 public:
00066 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00067
00068 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00069
00070 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00071 {
00072 ros::serialization::OStream stream(write_ptr, 1000000000);
00073 ros::serialization::serialize(stream, fileName);
00074 return stream.getData();
00075 }
00076
00077 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00078 {
00079 ros::serialization::IStream stream(read_ptr, 1000000000);
00080 ros::serialization::deserialize(stream, fileName);
00081 return stream.getData();
00082 }
00083
00084 ROS_DEPRECATED virtual uint32_t serializationLength() const
00085 {
00086 uint32_t size = 0;
00087 size += ros::serialization::serializationLength(fileName);
00088 return size;
00089 }
00090
00091 typedef boost::shared_ptr< ::asebaros::LoadScriptsRequest_<ContainerAllocator> > Ptr;
00092 typedef boost::shared_ptr< ::asebaros::LoadScriptsRequest_<ContainerAllocator> const> ConstPtr;
00093 };
00094 typedef ::asebaros::LoadScriptsRequest_<std::allocator<void> > LoadScriptsRequest;
00095
00096 typedef boost::shared_ptr< ::asebaros::LoadScriptsRequest> LoadScriptsRequestPtr;
00097 typedef boost::shared_ptr< ::asebaros::LoadScriptsRequest const> LoadScriptsRequestConstPtr;
00098
00099
00100 template <class ContainerAllocator>
00101 struct LoadScriptsResponse_ : public ros::Message
00102 {
00103 typedef LoadScriptsResponse_<ContainerAllocator> Type;
00104
00105 LoadScriptsResponse_()
00106 {
00107 }
00108
00109 LoadScriptsResponse_(const ContainerAllocator& _alloc)
00110 {
00111 }
00112
00113
00114 private:
00115 static const char* __s_getDataType_() { return "asebaros/LoadScriptsResponse"; }
00116 public:
00117 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00118
00119 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00120
00121 private:
00122 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; }
00123 public:
00124 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00125
00126 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00127
00128 private:
00129 static const char* __s_getServerMD5Sum_() { return "0c96d4662a80949a4927729271153923"; }
00130 public:
00131 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00132
00133 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00134
00135 private:
00136 static const char* __s_getMessageDefinition_() { return "\n\
00137 "; }
00138 public:
00139 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00140
00141 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00142
00143 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00144 {
00145 ros::serialization::OStream stream(write_ptr, 1000000000);
00146 return stream.getData();
00147 }
00148
00149 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00150 {
00151 ros::serialization::IStream stream(read_ptr, 1000000000);
00152 return stream.getData();
00153 }
00154
00155 ROS_DEPRECATED virtual uint32_t serializationLength() const
00156 {
00157 uint32_t size = 0;
00158 return size;
00159 }
00160
00161 typedef boost::shared_ptr< ::asebaros::LoadScriptsResponse_<ContainerAllocator> > Ptr;
00162 typedef boost::shared_ptr< ::asebaros::LoadScriptsResponse_<ContainerAllocator> const> ConstPtr;
00163 };
00164 typedef ::asebaros::LoadScriptsResponse_<std::allocator<void> > LoadScriptsResponse;
00165
00166 typedef boost::shared_ptr< ::asebaros::LoadScriptsResponse> LoadScriptsResponsePtr;
00167 typedef boost::shared_ptr< ::asebaros::LoadScriptsResponse const> LoadScriptsResponseConstPtr;
00168
00169 struct LoadScripts
00170 {
00171
00172 typedef LoadScriptsRequest Request;
00173 typedef LoadScriptsResponse Response;
00174 Request request;
00175 Response response;
00176
00177 typedef Request RequestType;
00178 typedef Response ResponseType;
00179 };
00180 }
00181
00182 namespace ros
00183 {
00184 namespace message_traits
00185 {
00186 template<class ContainerAllocator>
00187 struct MD5Sum< ::asebaros::LoadScriptsRequest_<ContainerAllocator> > {
00188 static const char* value()
00189 {
00190 return "0c96d4662a80949a4927729271153923";
00191 }
00192
00193 static const char* value(const ::asebaros::LoadScriptsRequest_<ContainerAllocator> &) { return value(); }
00194 static const uint64_t static_value1 = 0x0c96d4662a80949aULL;
00195 static const uint64_t static_value2 = 0x4927729271153923ULL;
00196 };
00197
00198 template<class ContainerAllocator>
00199 struct DataType< ::asebaros::LoadScriptsRequest_<ContainerAllocator> > {
00200 static const char* value()
00201 {
00202 return "asebaros/LoadScriptsRequest";
00203 }
00204
00205 static const char* value(const ::asebaros::LoadScriptsRequest_<ContainerAllocator> &) { return value(); }
00206 };
00207
00208 template<class ContainerAllocator>
00209 struct Definition< ::asebaros::LoadScriptsRequest_<ContainerAllocator> > {
00210 static const char* value()
00211 {
00212 return "string fileName\n\
00213 \n\
00214 \n\
00215 ";
00216 }
00217
00218 static const char* value(const ::asebaros::LoadScriptsRequest_<ContainerAllocator> &) { return value(); }
00219 };
00220
00221 }
00222 }
00223
00224
00225 namespace ros
00226 {
00227 namespace message_traits
00228 {
00229 template<class ContainerAllocator>
00230 struct MD5Sum< ::asebaros::LoadScriptsResponse_<ContainerAllocator> > {
00231 static const char* value()
00232 {
00233 return "d41d8cd98f00b204e9800998ecf8427e";
00234 }
00235
00236 static const char* value(const ::asebaros::LoadScriptsResponse_<ContainerAllocator> &) { return value(); }
00237 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00238 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00239 };
00240
00241 template<class ContainerAllocator>
00242 struct DataType< ::asebaros::LoadScriptsResponse_<ContainerAllocator> > {
00243 static const char* value()
00244 {
00245 return "asebaros/LoadScriptsResponse";
00246 }
00247
00248 static const char* value(const ::asebaros::LoadScriptsResponse_<ContainerAllocator> &) { return value(); }
00249 };
00250
00251 template<class ContainerAllocator>
00252 struct Definition< ::asebaros::LoadScriptsResponse_<ContainerAllocator> > {
00253 static const char* value()
00254 {
00255 return "\n\
00256 ";
00257 }
00258
00259 static const char* value(const ::asebaros::LoadScriptsResponse_<ContainerAllocator> &) { return value(); }
00260 };
00261
00262 template<class ContainerAllocator> struct IsFixedSize< ::asebaros::LoadScriptsResponse_<ContainerAllocator> > : public TrueType {};
00263 }
00264 }
00265
00266 namespace ros
00267 {
00268 namespace serialization
00269 {
00270
00271 template<class ContainerAllocator> struct Serializer< ::asebaros::LoadScriptsRequest_<ContainerAllocator> >
00272 {
00273 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00274 {
00275 stream.next(m.fileName);
00276 }
00277
00278 ROS_DECLARE_ALLINONE_SERIALIZER;
00279 };
00280 }
00281 }
00282
00283
00284 namespace ros
00285 {
00286 namespace serialization
00287 {
00288
00289 template<class ContainerAllocator> struct Serializer< ::asebaros::LoadScriptsResponse_<ContainerAllocator> >
00290 {
00291 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00292 {
00293 }
00294
00295 ROS_DECLARE_ALLINONE_SERIALIZER;
00296 };
00297 }
00298 }
00299
00300 namespace ros
00301 {
00302 namespace service_traits
00303 {
00304 template<>
00305 struct MD5Sum<asebaros::LoadScripts> {
00306 static const char* value()
00307 {
00308 return "0c96d4662a80949a4927729271153923";
00309 }
00310
00311 static const char* value(const asebaros::LoadScripts&) { return value(); }
00312 };
00313
00314 template<>
00315 struct DataType<asebaros::LoadScripts> {
00316 static const char* value()
00317 {
00318 return "asebaros/LoadScripts";
00319 }
00320
00321 static const char* value(const asebaros::LoadScripts&) { return value(); }
00322 };
00323
00324 template<class ContainerAllocator>
00325 struct MD5Sum<asebaros::LoadScriptsRequest_<ContainerAllocator> > {
00326 static const char* value()
00327 {
00328 return "0c96d4662a80949a4927729271153923";
00329 }
00330
00331 static const char* value(const asebaros::LoadScriptsRequest_<ContainerAllocator> &) { return value(); }
00332 };
00333
00334 template<class ContainerAllocator>
00335 struct DataType<asebaros::LoadScriptsRequest_<ContainerAllocator> > {
00336 static const char* value()
00337 {
00338 return "asebaros/LoadScripts";
00339 }
00340
00341 static const char* value(const asebaros::LoadScriptsRequest_<ContainerAllocator> &) { return value(); }
00342 };
00343
00344 template<class ContainerAllocator>
00345 struct MD5Sum<asebaros::LoadScriptsResponse_<ContainerAllocator> > {
00346 static const char* value()
00347 {
00348 return "0c96d4662a80949a4927729271153923";
00349 }
00350
00351 static const char* value(const asebaros::LoadScriptsResponse_<ContainerAllocator> &) { return value(); }
00352 };
00353
00354 template<class ContainerAllocator>
00355 struct DataType<asebaros::LoadScriptsResponse_<ContainerAllocator> > {
00356 static const char* value()
00357 {
00358 return "asebaros/LoadScripts";
00359 }
00360
00361 static const char* value(const asebaros::LoadScriptsResponse_<ContainerAllocator> &) { return value(); }
00362 };
00363
00364 }
00365 }
00366
00367 #endif // ASEBAROS_SERVICE_LOADSCRIPTS_H
00368