00001
00002 #ifndef ASEBAROS_SERVICE_GETVARIABLELIST_H
00003 #define ASEBAROS_SERVICE_GETVARIABLELIST_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 GetVariableListRequest_ : public ros::Message
00022 {
00023 typedef GetVariableListRequest_<ContainerAllocator> Type;
00024
00025 GetVariableListRequest_()
00026 : nodeName()
00027 {
00028 }
00029
00030 GetVariableListRequest_(const ContainerAllocator& _alloc)
00031 : nodeName(_alloc)
00032 {
00033 }
00034
00035 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _nodeName_type;
00036 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > nodeName;
00037
00038
00039 private:
00040 static const char* __s_getDataType_() { return "asebaros/GetVariableListRequest"; }
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 "fa90f177c62ffd4f5a57999c98f4104f"; }
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 "bccdf745d8963e9979e76a539db07510"; }
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 nodeName\n\
00062 \n\
00063 "; }
00064 public:
00065 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00066
00067 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00068
00069 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00070 {
00071 ros::serialization::OStream stream(write_ptr, 1000000000);
00072 ros::serialization::serialize(stream, nodeName);
00073 return stream.getData();
00074 }
00075
00076 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00077 {
00078 ros::serialization::IStream stream(read_ptr, 1000000000);
00079 ros::serialization::deserialize(stream, nodeName);
00080 return stream.getData();
00081 }
00082
00083 ROS_DEPRECATED virtual uint32_t serializationLength() const
00084 {
00085 uint32_t size = 0;
00086 size += ros::serialization::serializationLength(nodeName);
00087 return size;
00088 }
00089
00090 typedef boost::shared_ptr< ::asebaros::GetVariableListRequest_<ContainerAllocator> > Ptr;
00091 typedef boost::shared_ptr< ::asebaros::GetVariableListRequest_<ContainerAllocator> const> ConstPtr;
00092 };
00093 typedef ::asebaros::GetVariableListRequest_<std::allocator<void> > GetVariableListRequest;
00094
00095 typedef boost::shared_ptr< ::asebaros::GetVariableListRequest> GetVariableListRequestPtr;
00096 typedef boost::shared_ptr< ::asebaros::GetVariableListRequest const> GetVariableListRequestConstPtr;
00097
00098
00099 template <class ContainerAllocator>
00100 struct GetVariableListResponse_ : public ros::Message
00101 {
00102 typedef GetVariableListResponse_<ContainerAllocator> Type;
00103
00104 GetVariableListResponse_()
00105 : variableList()
00106 {
00107 }
00108
00109 GetVariableListResponse_(const ContainerAllocator& _alloc)
00110 : variableList(_alloc)
00111 {
00112 }
00113
00114 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _variableList_type;
00115 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > variableList;
00116
00117
00118 ROS_DEPRECATED uint32_t get_variableList_size() const { return (uint32_t)variableList.size(); }
00119 ROS_DEPRECATED void set_variableList_size(uint32_t size) { variableList.resize((size_t)size); }
00120 ROS_DEPRECATED void get_variableList_vec(std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) const { vec = this->variableList; }
00121 ROS_DEPRECATED void set_variableList_vec(const std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) { this->variableList = vec; }
00122 private:
00123 static const char* __s_getDataType_() { return "asebaros/GetVariableListResponse"; }
00124 public:
00125 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00126
00127 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00128
00129 private:
00130 static const char* __s_getMD5Sum_() { return "6c666378e8148a6cac76c346bed2c609"; }
00131 public:
00132 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00133
00134 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00135
00136 private:
00137 static const char* __s_getServerMD5Sum_() { return "bccdf745d8963e9979e76a539db07510"; }
00138 public:
00139 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00140
00141 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00142
00143 private:
00144 static const char* __s_getMessageDefinition_() { return "string[] variableList\n\
00145 \n\
00146 \n\
00147 "; }
00148 public:
00149 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00150
00151 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00152
00153 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00154 {
00155 ros::serialization::OStream stream(write_ptr, 1000000000);
00156 ros::serialization::serialize(stream, variableList);
00157 return stream.getData();
00158 }
00159
00160 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00161 {
00162 ros::serialization::IStream stream(read_ptr, 1000000000);
00163 ros::serialization::deserialize(stream, variableList);
00164 return stream.getData();
00165 }
00166
00167 ROS_DEPRECATED virtual uint32_t serializationLength() const
00168 {
00169 uint32_t size = 0;
00170 size += ros::serialization::serializationLength(variableList);
00171 return size;
00172 }
00173
00174 typedef boost::shared_ptr< ::asebaros::GetVariableListResponse_<ContainerAllocator> > Ptr;
00175 typedef boost::shared_ptr< ::asebaros::GetVariableListResponse_<ContainerAllocator> const> ConstPtr;
00176 };
00177 typedef ::asebaros::GetVariableListResponse_<std::allocator<void> > GetVariableListResponse;
00178
00179 typedef boost::shared_ptr< ::asebaros::GetVariableListResponse> GetVariableListResponsePtr;
00180 typedef boost::shared_ptr< ::asebaros::GetVariableListResponse const> GetVariableListResponseConstPtr;
00181
00182 struct GetVariableList
00183 {
00184
00185 typedef GetVariableListRequest Request;
00186 typedef GetVariableListResponse Response;
00187 Request request;
00188 Response response;
00189
00190 typedef Request RequestType;
00191 typedef Response ResponseType;
00192 };
00193 }
00194
00195 namespace ros
00196 {
00197 namespace message_traits
00198 {
00199 template<class ContainerAllocator>
00200 struct MD5Sum< ::asebaros::GetVariableListRequest_<ContainerAllocator> > {
00201 static const char* value()
00202 {
00203 return "fa90f177c62ffd4f5a57999c98f4104f";
00204 }
00205
00206 static const char* value(const ::asebaros::GetVariableListRequest_<ContainerAllocator> &) { return value(); }
00207 static const uint64_t static_value1 = 0xfa90f177c62ffd4fULL;
00208 static const uint64_t static_value2 = 0x5a57999c98f4104fULL;
00209 };
00210
00211 template<class ContainerAllocator>
00212 struct DataType< ::asebaros::GetVariableListRequest_<ContainerAllocator> > {
00213 static const char* value()
00214 {
00215 return "asebaros/GetVariableListRequest";
00216 }
00217
00218 static const char* value(const ::asebaros::GetVariableListRequest_<ContainerAllocator> &) { return value(); }
00219 };
00220
00221 template<class ContainerAllocator>
00222 struct Definition< ::asebaros::GetVariableListRequest_<ContainerAllocator> > {
00223 static const char* value()
00224 {
00225 return "string nodeName\n\
00226 \n\
00227 ";
00228 }
00229
00230 static const char* value(const ::asebaros::GetVariableListRequest_<ContainerAllocator> &) { return value(); }
00231 };
00232
00233 }
00234 }
00235
00236
00237 namespace ros
00238 {
00239 namespace message_traits
00240 {
00241 template<class ContainerAllocator>
00242 struct MD5Sum< ::asebaros::GetVariableListResponse_<ContainerAllocator> > {
00243 static const char* value()
00244 {
00245 return "6c666378e8148a6cac76c346bed2c609";
00246 }
00247
00248 static const char* value(const ::asebaros::GetVariableListResponse_<ContainerAllocator> &) { return value(); }
00249 static const uint64_t static_value1 = 0x6c666378e8148a6cULL;
00250 static const uint64_t static_value2 = 0xac76c346bed2c609ULL;
00251 };
00252
00253 template<class ContainerAllocator>
00254 struct DataType< ::asebaros::GetVariableListResponse_<ContainerAllocator> > {
00255 static const char* value()
00256 {
00257 return "asebaros/GetVariableListResponse";
00258 }
00259
00260 static const char* value(const ::asebaros::GetVariableListResponse_<ContainerAllocator> &) { return value(); }
00261 };
00262
00263 template<class ContainerAllocator>
00264 struct Definition< ::asebaros::GetVariableListResponse_<ContainerAllocator> > {
00265 static const char* value()
00266 {
00267 return "string[] variableList\n\
00268 \n\
00269 \n\
00270 ";
00271 }
00272
00273 static const char* value(const ::asebaros::GetVariableListResponse_<ContainerAllocator> &) { return value(); }
00274 };
00275
00276 }
00277 }
00278
00279 namespace ros
00280 {
00281 namespace serialization
00282 {
00283
00284 template<class ContainerAllocator> struct Serializer< ::asebaros::GetVariableListRequest_<ContainerAllocator> >
00285 {
00286 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00287 {
00288 stream.next(m.nodeName);
00289 }
00290
00291 ROS_DECLARE_ALLINONE_SERIALIZER;
00292 };
00293 }
00294 }
00295
00296
00297 namespace ros
00298 {
00299 namespace serialization
00300 {
00301
00302 template<class ContainerAllocator> struct Serializer< ::asebaros::GetVariableListResponse_<ContainerAllocator> >
00303 {
00304 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00305 {
00306 stream.next(m.variableList);
00307 }
00308
00309 ROS_DECLARE_ALLINONE_SERIALIZER;
00310 };
00311 }
00312 }
00313
00314 namespace ros
00315 {
00316 namespace service_traits
00317 {
00318 template<>
00319 struct MD5Sum<asebaros::GetVariableList> {
00320 static const char* value()
00321 {
00322 return "bccdf745d8963e9979e76a539db07510";
00323 }
00324
00325 static const char* value(const asebaros::GetVariableList&) { return value(); }
00326 };
00327
00328 template<>
00329 struct DataType<asebaros::GetVariableList> {
00330 static const char* value()
00331 {
00332 return "asebaros/GetVariableList";
00333 }
00334
00335 static const char* value(const asebaros::GetVariableList&) { return value(); }
00336 };
00337
00338 template<class ContainerAllocator>
00339 struct MD5Sum<asebaros::GetVariableListRequest_<ContainerAllocator> > {
00340 static const char* value()
00341 {
00342 return "bccdf745d8963e9979e76a539db07510";
00343 }
00344
00345 static const char* value(const asebaros::GetVariableListRequest_<ContainerAllocator> &) { return value(); }
00346 };
00347
00348 template<class ContainerAllocator>
00349 struct DataType<asebaros::GetVariableListRequest_<ContainerAllocator> > {
00350 static const char* value()
00351 {
00352 return "asebaros/GetVariableList";
00353 }
00354
00355 static const char* value(const asebaros::GetVariableListRequest_<ContainerAllocator> &) { return value(); }
00356 };
00357
00358 template<class ContainerAllocator>
00359 struct MD5Sum<asebaros::GetVariableListResponse_<ContainerAllocator> > {
00360 static const char* value()
00361 {
00362 return "bccdf745d8963e9979e76a539db07510";
00363 }
00364
00365 static const char* value(const asebaros::GetVariableListResponse_<ContainerAllocator> &) { return value(); }
00366 };
00367
00368 template<class ContainerAllocator>
00369 struct DataType<asebaros::GetVariableListResponse_<ContainerAllocator> > {
00370 static const char* value()
00371 {
00372 return "asebaros/GetVariableList";
00373 }
00374
00375 static const char* value(const asebaros::GetVariableListResponse_<ContainerAllocator> &) { return value(); }
00376 };
00377
00378 }
00379 }
00380
00381 #endif // ASEBAROS_SERVICE_GETVARIABLELIST_H
00382