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