00001
00002 #ifndef VREP_COMMON_SERVICE_SIMROSDISPLAYDIALOG_H
00003 #define VREP_COMMON_SERVICE_SIMROSDISPLAYDIALOG_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 vrep_common
00023 {
00024 template <class ContainerAllocator>
00025 struct simRosDisplayDialogRequest_ {
00026 typedef simRosDisplayDialogRequest_<ContainerAllocator> Type;
00027
00028 simRosDisplayDialogRequest_()
00029 : titleText()
00030 , mainText()
00031 , dialogType(0)
00032 , initialText()
00033 , titleColors()
00034 , dialogColors()
00035 {
00036 }
00037
00038 simRosDisplayDialogRequest_(const ContainerAllocator& _alloc)
00039 : titleText(_alloc)
00040 , mainText(_alloc)
00041 , dialogType(0)
00042 , initialText(_alloc)
00043 , titleColors(_alloc)
00044 , dialogColors(_alloc)
00045 {
00046 }
00047
00048 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _titleText_type;
00049 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > titleText;
00050
00051 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _mainText_type;
00052 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > mainText;
00053
00054 typedef int32_t _dialogType_type;
00055 int32_t dialogType;
00056
00057 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _initialText_type;
00058 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > initialText;
00059
00060 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _titleColors_type;
00061 std::vector<float, typename ContainerAllocator::template rebind<float>::other > titleColors;
00062
00063 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _dialogColors_type;
00064 std::vector<float, typename ContainerAllocator::template rebind<float>::other > dialogColors;
00065
00066
00067 typedef boost::shared_ptr< ::vrep_common::simRosDisplayDialogRequest_<ContainerAllocator> > Ptr;
00068 typedef boost::shared_ptr< ::vrep_common::simRosDisplayDialogRequest_<ContainerAllocator> const> ConstPtr;
00069 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00070 };
00071 typedef ::vrep_common::simRosDisplayDialogRequest_<std::allocator<void> > simRosDisplayDialogRequest;
00072
00073 typedef boost::shared_ptr< ::vrep_common::simRosDisplayDialogRequest> simRosDisplayDialogRequestPtr;
00074 typedef boost::shared_ptr< ::vrep_common::simRosDisplayDialogRequest const> simRosDisplayDialogRequestConstPtr;
00075
00076
00077 template <class ContainerAllocator>
00078 struct simRosDisplayDialogResponse_ {
00079 typedef simRosDisplayDialogResponse_<ContainerAllocator> Type;
00080
00081 simRosDisplayDialogResponse_()
00082 : dialogHandle(0)
00083 , uiHandle(0)
00084 {
00085 }
00086
00087 simRosDisplayDialogResponse_(const ContainerAllocator& _alloc)
00088 : dialogHandle(0)
00089 , uiHandle(0)
00090 {
00091 }
00092
00093 typedef int32_t _dialogHandle_type;
00094 int32_t dialogHandle;
00095
00096 typedef int32_t _uiHandle_type;
00097 int32_t uiHandle;
00098
00099
00100 typedef boost::shared_ptr< ::vrep_common::simRosDisplayDialogResponse_<ContainerAllocator> > Ptr;
00101 typedef boost::shared_ptr< ::vrep_common::simRosDisplayDialogResponse_<ContainerAllocator> const> ConstPtr;
00102 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00103 };
00104 typedef ::vrep_common::simRosDisplayDialogResponse_<std::allocator<void> > simRosDisplayDialogResponse;
00105
00106 typedef boost::shared_ptr< ::vrep_common::simRosDisplayDialogResponse> simRosDisplayDialogResponsePtr;
00107 typedef boost::shared_ptr< ::vrep_common::simRosDisplayDialogResponse const> simRosDisplayDialogResponseConstPtr;
00108
00109 struct simRosDisplayDialog
00110 {
00111
00112 typedef simRosDisplayDialogRequest Request;
00113 typedef simRosDisplayDialogResponse Response;
00114 Request request;
00115 Response response;
00116
00117 typedef Request RequestType;
00118 typedef Response ResponseType;
00119 };
00120 }
00121
00122 namespace ros
00123 {
00124 namespace message_traits
00125 {
00126 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosDisplayDialogRequest_<ContainerAllocator> > : public TrueType {};
00127 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosDisplayDialogRequest_<ContainerAllocator> const> : public TrueType {};
00128 template<class ContainerAllocator>
00129 struct MD5Sum< ::vrep_common::simRosDisplayDialogRequest_<ContainerAllocator> > {
00130 static const char* value()
00131 {
00132 return "3f2ff91d637ffb37230ccc9727e2857e";
00133 }
00134
00135 static const char* value(const ::vrep_common::simRosDisplayDialogRequest_<ContainerAllocator> &) { return value(); }
00136 static const uint64_t static_value1 = 0x3f2ff91d637ffb37ULL;
00137 static const uint64_t static_value2 = 0x230ccc9727e2857eULL;
00138 };
00139
00140 template<class ContainerAllocator>
00141 struct DataType< ::vrep_common::simRosDisplayDialogRequest_<ContainerAllocator> > {
00142 static const char* value()
00143 {
00144 return "vrep_common/simRosDisplayDialogRequest";
00145 }
00146
00147 static const char* value(const ::vrep_common::simRosDisplayDialogRequest_<ContainerAllocator> &) { return value(); }
00148 };
00149
00150 template<class ContainerAllocator>
00151 struct Definition< ::vrep_common::simRosDisplayDialogRequest_<ContainerAllocator> > {
00152 static const char* value()
00153 {
00154 return "\n\
00155 \n\
00156 \n\
00157 \n\
00158 string titleText\n\
00159 string mainText\n\
00160 int32 dialogType\n\
00161 string initialText\n\
00162 float32[] titleColors\n\
00163 float32[] dialogColors\n\
00164 \n\
00165 ";
00166 }
00167
00168 static const char* value(const ::vrep_common::simRosDisplayDialogRequest_<ContainerAllocator> &) { return value(); }
00169 };
00170
00171 }
00172 }
00173
00174
00175 namespace ros
00176 {
00177 namespace message_traits
00178 {
00179 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosDisplayDialogResponse_<ContainerAllocator> > : public TrueType {};
00180 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosDisplayDialogResponse_<ContainerAllocator> const> : public TrueType {};
00181 template<class ContainerAllocator>
00182 struct MD5Sum< ::vrep_common::simRosDisplayDialogResponse_<ContainerAllocator> > {
00183 static const char* value()
00184 {
00185 return "ccb73bed17cccbeda47eabda11f7b01f";
00186 }
00187
00188 static const char* value(const ::vrep_common::simRosDisplayDialogResponse_<ContainerAllocator> &) { return value(); }
00189 static const uint64_t static_value1 = 0xccb73bed17cccbedULL;
00190 static const uint64_t static_value2 = 0xa47eabda11f7b01fULL;
00191 };
00192
00193 template<class ContainerAllocator>
00194 struct DataType< ::vrep_common::simRosDisplayDialogResponse_<ContainerAllocator> > {
00195 static const char* value()
00196 {
00197 return "vrep_common/simRosDisplayDialogResponse";
00198 }
00199
00200 static const char* value(const ::vrep_common::simRosDisplayDialogResponse_<ContainerAllocator> &) { return value(); }
00201 };
00202
00203 template<class ContainerAllocator>
00204 struct Definition< ::vrep_common::simRosDisplayDialogResponse_<ContainerAllocator> > {
00205 static const char* value()
00206 {
00207 return "int32 dialogHandle\n\
00208 int32 uiHandle\n\
00209 \n\
00210 \n\
00211 ";
00212 }
00213
00214 static const char* value(const ::vrep_common::simRosDisplayDialogResponse_<ContainerAllocator> &) { return value(); }
00215 };
00216
00217 template<class ContainerAllocator> struct IsFixedSize< ::vrep_common::simRosDisplayDialogResponse_<ContainerAllocator> > : public TrueType {};
00218 }
00219 }
00220
00221 namespace ros
00222 {
00223 namespace serialization
00224 {
00225
00226 template<class ContainerAllocator> struct Serializer< ::vrep_common::simRosDisplayDialogRequest_<ContainerAllocator> >
00227 {
00228 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00229 {
00230 stream.next(m.titleText);
00231 stream.next(m.mainText);
00232 stream.next(m.dialogType);
00233 stream.next(m.initialText);
00234 stream.next(m.titleColors);
00235 stream.next(m.dialogColors);
00236 }
00237
00238 ROS_DECLARE_ALLINONE_SERIALIZER;
00239 };
00240 }
00241 }
00242
00243
00244 namespace ros
00245 {
00246 namespace serialization
00247 {
00248
00249 template<class ContainerAllocator> struct Serializer< ::vrep_common::simRosDisplayDialogResponse_<ContainerAllocator> >
00250 {
00251 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00252 {
00253 stream.next(m.dialogHandle);
00254 stream.next(m.uiHandle);
00255 }
00256
00257 ROS_DECLARE_ALLINONE_SERIALIZER;
00258 };
00259 }
00260 }
00261
00262 namespace ros
00263 {
00264 namespace service_traits
00265 {
00266 template<>
00267 struct MD5Sum<vrep_common::simRosDisplayDialog> {
00268 static const char* value()
00269 {
00270 return "948197fff5a2d242998cebb95fb8cae1";
00271 }
00272
00273 static const char* value(const vrep_common::simRosDisplayDialog&) { return value(); }
00274 };
00275
00276 template<>
00277 struct DataType<vrep_common::simRosDisplayDialog> {
00278 static const char* value()
00279 {
00280 return "vrep_common/simRosDisplayDialog";
00281 }
00282
00283 static const char* value(const vrep_common::simRosDisplayDialog&) { return value(); }
00284 };
00285
00286 template<class ContainerAllocator>
00287 struct MD5Sum<vrep_common::simRosDisplayDialogRequest_<ContainerAllocator> > {
00288 static const char* value()
00289 {
00290 return "948197fff5a2d242998cebb95fb8cae1";
00291 }
00292
00293 static const char* value(const vrep_common::simRosDisplayDialogRequest_<ContainerAllocator> &) { return value(); }
00294 };
00295
00296 template<class ContainerAllocator>
00297 struct DataType<vrep_common::simRosDisplayDialogRequest_<ContainerAllocator> > {
00298 static const char* value()
00299 {
00300 return "vrep_common/simRosDisplayDialog";
00301 }
00302
00303 static const char* value(const vrep_common::simRosDisplayDialogRequest_<ContainerAllocator> &) { return value(); }
00304 };
00305
00306 template<class ContainerAllocator>
00307 struct MD5Sum<vrep_common::simRosDisplayDialogResponse_<ContainerAllocator> > {
00308 static const char* value()
00309 {
00310 return "948197fff5a2d242998cebb95fb8cae1";
00311 }
00312
00313 static const char* value(const vrep_common::simRosDisplayDialogResponse_<ContainerAllocator> &) { return value(); }
00314 };
00315
00316 template<class ContainerAllocator>
00317 struct DataType<vrep_common::simRosDisplayDialogResponse_<ContainerAllocator> > {
00318 static const char* value()
00319 {
00320 return "vrep_common/simRosDisplayDialog";
00321 }
00322
00323 static const char* value(const vrep_common::simRosDisplayDialogResponse_<ContainerAllocator> &) { return value(); }
00324 };
00325
00326 }
00327 }
00328
00329 #endif // VREP_COMMON_SERVICE_SIMROSDISPLAYDIALOG_H
00330