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