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