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