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