00001
00002 #ifndef VREP_COMMON_SERVICE_SIMROSSYNCHRONOUSTRIGGER_H
00003 #define VREP_COMMON_SERVICE_SIMROSSYNCHRONOUSTRIGGER_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 simRosSynchronousTriggerRequest_ {
00026 typedef simRosSynchronousTriggerRequest_<ContainerAllocator> Type;
00027
00028 simRosSynchronousTriggerRequest_()
00029 {
00030 }
00031
00032 simRosSynchronousTriggerRequest_(const ContainerAllocator& _alloc)
00033 {
00034 }
00035
00036
00037 typedef boost::shared_ptr< ::vrep_common::simRosSynchronousTriggerRequest_<ContainerAllocator> > Ptr;
00038 typedef boost::shared_ptr< ::vrep_common::simRosSynchronousTriggerRequest_<ContainerAllocator> const> ConstPtr;
00039 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00040 };
00041 typedef ::vrep_common::simRosSynchronousTriggerRequest_<std::allocator<void> > simRosSynchronousTriggerRequest;
00042
00043 typedef boost::shared_ptr< ::vrep_common::simRosSynchronousTriggerRequest> simRosSynchronousTriggerRequestPtr;
00044 typedef boost::shared_ptr< ::vrep_common::simRosSynchronousTriggerRequest const> simRosSynchronousTriggerRequestConstPtr;
00045
00046
00047 template <class ContainerAllocator>
00048 struct simRosSynchronousTriggerResponse_ {
00049 typedef simRosSynchronousTriggerResponse_<ContainerAllocator> Type;
00050
00051 simRosSynchronousTriggerResponse_()
00052 : result(0)
00053 {
00054 }
00055
00056 simRosSynchronousTriggerResponse_(const ContainerAllocator& _alloc)
00057 : result(0)
00058 {
00059 }
00060
00061 typedef int32_t _result_type;
00062 int32_t result;
00063
00064
00065 typedef boost::shared_ptr< ::vrep_common::simRosSynchronousTriggerResponse_<ContainerAllocator> > Ptr;
00066 typedef boost::shared_ptr< ::vrep_common::simRosSynchronousTriggerResponse_<ContainerAllocator> const> ConstPtr;
00067 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00068 };
00069 typedef ::vrep_common::simRosSynchronousTriggerResponse_<std::allocator<void> > simRosSynchronousTriggerResponse;
00070
00071 typedef boost::shared_ptr< ::vrep_common::simRosSynchronousTriggerResponse> simRosSynchronousTriggerResponsePtr;
00072 typedef boost::shared_ptr< ::vrep_common::simRosSynchronousTriggerResponse const> simRosSynchronousTriggerResponseConstPtr;
00073
00074 struct simRosSynchronousTrigger
00075 {
00076
00077 typedef simRosSynchronousTriggerRequest Request;
00078 typedef simRosSynchronousTriggerResponse Response;
00079 Request request;
00080 Response response;
00081
00082 typedef Request RequestType;
00083 typedef Response ResponseType;
00084 };
00085 }
00086
00087 namespace ros
00088 {
00089 namespace message_traits
00090 {
00091 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosSynchronousTriggerRequest_<ContainerAllocator> > : public TrueType {};
00092 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosSynchronousTriggerRequest_<ContainerAllocator> const> : public TrueType {};
00093 template<class ContainerAllocator>
00094 struct MD5Sum< ::vrep_common::simRosSynchronousTriggerRequest_<ContainerAllocator> > {
00095 static const char* value()
00096 {
00097 return "d41d8cd98f00b204e9800998ecf8427e";
00098 }
00099
00100 static const char* value(const ::vrep_common::simRosSynchronousTriggerRequest_<ContainerAllocator> &) { return value(); }
00101 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00102 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00103 };
00104
00105 template<class ContainerAllocator>
00106 struct DataType< ::vrep_common::simRosSynchronousTriggerRequest_<ContainerAllocator> > {
00107 static const char* value()
00108 {
00109 return "vrep_common/simRosSynchronousTriggerRequest";
00110 }
00111
00112 static const char* value(const ::vrep_common::simRosSynchronousTriggerRequest_<ContainerAllocator> &) { return value(); }
00113 };
00114
00115 template<class ContainerAllocator>
00116 struct Definition< ::vrep_common::simRosSynchronousTriggerRequest_<ContainerAllocator> > {
00117 static const char* value()
00118 {
00119 return "\n\
00120 \n\
00121 \n\
00122 \n\
00123 \n\
00124 ";
00125 }
00126
00127 static const char* value(const ::vrep_common::simRosSynchronousTriggerRequest_<ContainerAllocator> &) { return value(); }
00128 };
00129
00130 template<class ContainerAllocator> struct IsFixedSize< ::vrep_common::simRosSynchronousTriggerRequest_<ContainerAllocator> > : public TrueType {};
00131 }
00132 }
00133
00134
00135 namespace ros
00136 {
00137 namespace message_traits
00138 {
00139 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosSynchronousTriggerResponse_<ContainerAllocator> > : public TrueType {};
00140 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosSynchronousTriggerResponse_<ContainerAllocator> const> : public TrueType {};
00141 template<class ContainerAllocator>
00142 struct MD5Sum< ::vrep_common::simRosSynchronousTriggerResponse_<ContainerAllocator> > {
00143 static const char* value()
00144 {
00145 return "034a8e20d6a306665e3a5b340fab3f09";
00146 }
00147
00148 static const char* value(const ::vrep_common::simRosSynchronousTriggerResponse_<ContainerAllocator> &) { return value(); }
00149 static const uint64_t static_value1 = 0x034a8e20d6a30666ULL;
00150 static const uint64_t static_value2 = 0x5e3a5b340fab3f09ULL;
00151 };
00152
00153 template<class ContainerAllocator>
00154 struct DataType< ::vrep_common::simRosSynchronousTriggerResponse_<ContainerAllocator> > {
00155 static const char* value()
00156 {
00157 return "vrep_common/simRosSynchronousTriggerResponse";
00158 }
00159
00160 static const char* value(const ::vrep_common::simRosSynchronousTriggerResponse_<ContainerAllocator> &) { return value(); }
00161 };
00162
00163 template<class ContainerAllocator>
00164 struct Definition< ::vrep_common::simRosSynchronousTriggerResponse_<ContainerAllocator> > {
00165 static const char* value()
00166 {
00167 return "int32 result\n\
00168 \n\
00169 \n\
00170 ";
00171 }
00172
00173 static const char* value(const ::vrep_common::simRosSynchronousTriggerResponse_<ContainerAllocator> &) { return value(); }
00174 };
00175
00176 template<class ContainerAllocator> struct IsFixedSize< ::vrep_common::simRosSynchronousTriggerResponse_<ContainerAllocator> > : public TrueType {};
00177 }
00178 }
00179
00180 namespace ros
00181 {
00182 namespace serialization
00183 {
00184
00185 template<class ContainerAllocator> struct Serializer< ::vrep_common::simRosSynchronousTriggerRequest_<ContainerAllocator> >
00186 {
00187 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00188 {
00189 }
00190
00191 ROS_DECLARE_ALLINONE_SERIALIZER;
00192 };
00193 }
00194 }
00195
00196
00197 namespace ros
00198 {
00199 namespace serialization
00200 {
00201
00202 template<class ContainerAllocator> struct Serializer< ::vrep_common::simRosSynchronousTriggerResponse_<ContainerAllocator> >
00203 {
00204 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00205 {
00206 stream.next(m.result);
00207 }
00208
00209 ROS_DECLARE_ALLINONE_SERIALIZER;
00210 };
00211 }
00212 }
00213
00214 namespace ros
00215 {
00216 namespace service_traits
00217 {
00218 template<>
00219 struct MD5Sum<vrep_common::simRosSynchronousTrigger> {
00220 static const char* value()
00221 {
00222 return "034a8e20d6a306665e3a5b340fab3f09";
00223 }
00224
00225 static const char* value(const vrep_common::simRosSynchronousTrigger&) { return value(); }
00226 };
00227
00228 template<>
00229 struct DataType<vrep_common::simRosSynchronousTrigger> {
00230 static const char* value()
00231 {
00232 return "vrep_common/simRosSynchronousTrigger";
00233 }
00234
00235 static const char* value(const vrep_common::simRosSynchronousTrigger&) { return value(); }
00236 };
00237
00238 template<class ContainerAllocator>
00239 struct MD5Sum<vrep_common::simRosSynchronousTriggerRequest_<ContainerAllocator> > {
00240 static const char* value()
00241 {
00242 return "034a8e20d6a306665e3a5b340fab3f09";
00243 }
00244
00245 static const char* value(const vrep_common::simRosSynchronousTriggerRequest_<ContainerAllocator> &) { return value(); }
00246 };
00247
00248 template<class ContainerAllocator>
00249 struct DataType<vrep_common::simRosSynchronousTriggerRequest_<ContainerAllocator> > {
00250 static const char* value()
00251 {
00252 return "vrep_common/simRosSynchronousTrigger";
00253 }
00254
00255 static const char* value(const vrep_common::simRosSynchronousTriggerRequest_<ContainerAllocator> &) { return value(); }
00256 };
00257
00258 template<class ContainerAllocator>
00259 struct MD5Sum<vrep_common::simRosSynchronousTriggerResponse_<ContainerAllocator> > {
00260 static const char* value()
00261 {
00262 return "034a8e20d6a306665e3a5b340fab3f09";
00263 }
00264
00265 static const char* value(const vrep_common::simRosSynchronousTriggerResponse_<ContainerAllocator> &) { return value(); }
00266 };
00267
00268 template<class ContainerAllocator>
00269 struct DataType<vrep_common::simRosSynchronousTriggerResponse_<ContainerAllocator> > {
00270 static const char* value()
00271 {
00272 return "vrep_common/simRosSynchronousTrigger";
00273 }
00274
00275 static const char* value(const vrep_common::simRosSynchronousTriggerResponse_<ContainerAllocator> &) { return value(); }
00276 };
00277
00278 }
00279 }
00280
00281 #endif // VREP_COMMON_SERVICE_SIMROSSYNCHRONOUSTRIGGER_H
00282