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