00001
00002 #ifndef VREP_COMMON_SERVICE_SIMROSENABLESUBSCRIBER_H
00003 #define VREP_COMMON_SERVICE_SIMROSENABLESUBSCRIBER_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 simRosEnableSubscriberRequest_ {
00026 typedef simRosEnableSubscriberRequest_<ContainerAllocator> Type;
00027
00028 simRosEnableSubscriberRequest_()
00029 : topicName()
00030 , queueSize(0)
00031 , streamCmd(0)
00032 , auxInt1(0)
00033 , auxInt2(0)
00034 , auxString()
00035 {
00036 }
00037
00038 simRosEnableSubscriberRequest_(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::simRosEnableSubscriberRequest_<ContainerAllocator> > Ptr;
00068 typedef boost::shared_ptr< ::vrep_common::simRosEnableSubscriberRequest_<ContainerAllocator> const> ConstPtr;
00069 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00070 };
00071 typedef ::vrep_common::simRosEnableSubscriberRequest_<std::allocator<void> > simRosEnableSubscriberRequest;
00072
00073 typedef boost::shared_ptr< ::vrep_common::simRosEnableSubscriberRequest> simRosEnableSubscriberRequestPtr;
00074 typedef boost::shared_ptr< ::vrep_common::simRosEnableSubscriberRequest const> simRosEnableSubscriberRequestConstPtr;
00075
00076
00077 template <class ContainerAllocator>
00078 struct simRosEnableSubscriberResponse_ {
00079 typedef simRosEnableSubscriberResponse_<ContainerAllocator> Type;
00080
00081 simRosEnableSubscriberResponse_()
00082 : subscriberID(0)
00083 {
00084 }
00085
00086 simRosEnableSubscriberResponse_(const ContainerAllocator& _alloc)
00087 : subscriberID(0)
00088 {
00089 }
00090
00091 typedef int32_t _subscriberID_type;
00092 int32_t subscriberID;
00093
00094
00095 typedef boost::shared_ptr< ::vrep_common::simRosEnableSubscriberResponse_<ContainerAllocator> > Ptr;
00096 typedef boost::shared_ptr< ::vrep_common::simRosEnableSubscriberResponse_<ContainerAllocator> const> ConstPtr;
00097 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00098 };
00099 typedef ::vrep_common::simRosEnableSubscriberResponse_<std::allocator<void> > simRosEnableSubscriberResponse;
00100
00101 typedef boost::shared_ptr< ::vrep_common::simRosEnableSubscriberResponse> simRosEnableSubscriberResponsePtr;
00102 typedef boost::shared_ptr< ::vrep_common::simRosEnableSubscriberResponse const> simRosEnableSubscriberResponseConstPtr;
00103
00104 struct simRosEnableSubscriber
00105 {
00106
00107 typedef simRosEnableSubscriberRequest Request;
00108 typedef simRosEnableSubscriberResponse 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::simRosEnableSubscriberRequest_<ContainerAllocator> > : public TrueType {};
00122 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosEnableSubscriberRequest_<ContainerAllocator> const> : public TrueType {};
00123 template<class ContainerAllocator>
00124 struct MD5Sum< ::vrep_common::simRosEnableSubscriberRequest_<ContainerAllocator> > {
00125 static const char* value()
00126 {
00127 return "e7df7c248dc5801f9f5b98f61f3741b8";
00128 }
00129
00130 static const char* value(const ::vrep_common::simRosEnableSubscriberRequest_<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::simRosEnableSubscriberRequest_<ContainerAllocator> > {
00137 static const char* value()
00138 {
00139 return "vrep_common/simRosEnableSubscriberRequest";
00140 }
00141
00142 static const char* value(const ::vrep_common::simRosEnableSubscriberRequest_<ContainerAllocator> &) { return value(); }
00143 };
00144
00145 template<class ContainerAllocator>
00146 struct Definition< ::vrep_common::simRosEnableSubscriberRequest_<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::simRosEnableSubscriberRequest_<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::simRosEnableSubscriberResponse_<ContainerAllocator> > : public TrueType {};
00175 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosEnableSubscriberResponse_<ContainerAllocator> const> : public TrueType {};
00176 template<class ContainerAllocator>
00177 struct MD5Sum< ::vrep_common::simRosEnableSubscriberResponse_<ContainerAllocator> > {
00178 static const char* value()
00179 {
00180 return "62d69ecf284a2ca70f446f9db0533ca8";
00181 }
00182
00183 static const char* value(const ::vrep_common::simRosEnableSubscriberResponse_<ContainerAllocator> &) { return value(); }
00184 static const uint64_t static_value1 = 0x62d69ecf284a2ca7ULL;
00185 static const uint64_t static_value2 = 0x0f446f9db0533ca8ULL;
00186 };
00187
00188 template<class ContainerAllocator>
00189 struct DataType< ::vrep_common::simRosEnableSubscriberResponse_<ContainerAllocator> > {
00190 static const char* value()
00191 {
00192 return "vrep_common/simRosEnableSubscriberResponse";
00193 }
00194
00195 static const char* value(const ::vrep_common::simRosEnableSubscriberResponse_<ContainerAllocator> &) { return value(); }
00196 };
00197
00198 template<class ContainerAllocator>
00199 struct Definition< ::vrep_common::simRosEnableSubscriberResponse_<ContainerAllocator> > {
00200 static const char* value()
00201 {
00202 return "int32 subscriberID\n\
00203 \n\
00204 \n\
00205 ";
00206 }
00207
00208 static const char* value(const ::vrep_common::simRosEnableSubscriberResponse_<ContainerAllocator> &) { return value(); }
00209 };
00210
00211 template<class ContainerAllocator> struct IsFixedSize< ::vrep_common::simRosEnableSubscriberResponse_<ContainerAllocator> > : public TrueType {};
00212 }
00213 }
00214
00215 namespace ros
00216 {
00217 namespace serialization
00218 {
00219
00220 template<class ContainerAllocator> struct Serializer< ::vrep_common::simRosEnableSubscriberRequest_<ContainerAllocator> >
00221 {
00222 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00223 {
00224 stream.next(m.topicName);
00225 stream.next(m.queueSize);
00226 stream.next(m.streamCmd);
00227 stream.next(m.auxInt1);
00228 stream.next(m.auxInt2);
00229 stream.next(m.auxString);
00230 }
00231
00232 ROS_DECLARE_ALLINONE_SERIALIZER;
00233 };
00234 }
00235 }
00236
00237
00238 namespace ros
00239 {
00240 namespace serialization
00241 {
00242
00243 template<class ContainerAllocator> struct Serializer< ::vrep_common::simRosEnableSubscriberResponse_<ContainerAllocator> >
00244 {
00245 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00246 {
00247 stream.next(m.subscriberID);
00248 }
00249
00250 ROS_DECLARE_ALLINONE_SERIALIZER;
00251 };
00252 }
00253 }
00254
00255 namespace ros
00256 {
00257 namespace service_traits
00258 {
00259 template<>
00260 struct MD5Sum<vrep_common::simRosEnableSubscriber> {
00261 static const char* value()
00262 {
00263 return "61a23a6c623cfe11fb9eae842a1893b7";
00264 }
00265
00266 static const char* value(const vrep_common::simRosEnableSubscriber&) { return value(); }
00267 };
00268
00269 template<>
00270 struct DataType<vrep_common::simRosEnableSubscriber> {
00271 static const char* value()
00272 {
00273 return "vrep_common/simRosEnableSubscriber";
00274 }
00275
00276 static const char* value(const vrep_common::simRosEnableSubscriber&) { return value(); }
00277 };
00278
00279 template<class ContainerAllocator>
00280 struct MD5Sum<vrep_common::simRosEnableSubscriberRequest_<ContainerAllocator> > {
00281 static const char* value()
00282 {
00283 return "61a23a6c623cfe11fb9eae842a1893b7";
00284 }
00285
00286 static const char* value(const vrep_common::simRosEnableSubscriberRequest_<ContainerAllocator> &) { return value(); }
00287 };
00288
00289 template<class ContainerAllocator>
00290 struct DataType<vrep_common::simRosEnableSubscriberRequest_<ContainerAllocator> > {
00291 static const char* value()
00292 {
00293 return "vrep_common/simRosEnableSubscriber";
00294 }
00295
00296 static const char* value(const vrep_common::simRosEnableSubscriberRequest_<ContainerAllocator> &) { return value(); }
00297 };
00298
00299 template<class ContainerAllocator>
00300 struct MD5Sum<vrep_common::simRosEnableSubscriberResponse_<ContainerAllocator> > {
00301 static const char* value()
00302 {
00303 return "61a23a6c623cfe11fb9eae842a1893b7";
00304 }
00305
00306 static const char* value(const vrep_common::simRosEnableSubscriberResponse_<ContainerAllocator> &) { return value(); }
00307 };
00308
00309 template<class ContainerAllocator>
00310 struct DataType<vrep_common::simRosEnableSubscriberResponse_<ContainerAllocator> > {
00311 static const char* value()
00312 {
00313 return "vrep_common/simRosEnableSubscriber";
00314 }
00315
00316 static const char* value(const vrep_common::simRosEnableSubscriberResponse_<ContainerAllocator> &) { return value(); }
00317 };
00318
00319 }
00320 }
00321
00322 #endif // VREP_COMMON_SERVICE_SIMROSENABLESUBSCRIBER_H
00323