00001
00002 #ifndef VREP_COMMON_SERVICE_SIMROSSETUIBUTTONLABEL_H
00003 #define VREP_COMMON_SERVICE_SIMROSSETUIBUTTONLABEL_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 simRosSetUIButtonLabelRequest_ {
00026 typedef simRosSetUIButtonLabelRequest_<ContainerAllocator> Type;
00027
00028 simRosSetUIButtonLabelRequest_()
00029 : uiHandle(0)
00030 , buttonID(0)
00031 , upStateLabel()
00032 , downStateLabel()
00033 {
00034 }
00035
00036 simRosSetUIButtonLabelRequest_(const ContainerAllocator& _alloc)
00037 : uiHandle(0)
00038 , buttonID(0)
00039 , upStateLabel(_alloc)
00040 , downStateLabel(_alloc)
00041 {
00042 }
00043
00044 typedef int32_t _uiHandle_type;
00045 int32_t uiHandle;
00046
00047 typedef int32_t _buttonID_type;
00048 int32_t buttonID;
00049
00050 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _upStateLabel_type;
00051 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > upStateLabel;
00052
00053 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _downStateLabel_type;
00054 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > downStateLabel;
00055
00056
00057 typedef boost::shared_ptr< ::vrep_common::simRosSetUIButtonLabelRequest_<ContainerAllocator> > Ptr;
00058 typedef boost::shared_ptr< ::vrep_common::simRosSetUIButtonLabelRequest_<ContainerAllocator> const> ConstPtr;
00059 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00060 };
00061 typedef ::vrep_common::simRosSetUIButtonLabelRequest_<std::allocator<void> > simRosSetUIButtonLabelRequest;
00062
00063 typedef boost::shared_ptr< ::vrep_common::simRosSetUIButtonLabelRequest> simRosSetUIButtonLabelRequestPtr;
00064 typedef boost::shared_ptr< ::vrep_common::simRosSetUIButtonLabelRequest const> simRosSetUIButtonLabelRequestConstPtr;
00065
00066
00067 template <class ContainerAllocator>
00068 struct simRosSetUIButtonLabelResponse_ {
00069 typedef simRosSetUIButtonLabelResponse_<ContainerAllocator> Type;
00070
00071 simRosSetUIButtonLabelResponse_()
00072 : result(0)
00073 {
00074 }
00075
00076 simRosSetUIButtonLabelResponse_(const ContainerAllocator& _alloc)
00077 : result(0)
00078 {
00079 }
00080
00081 typedef int32_t _result_type;
00082 int32_t result;
00083
00084
00085 typedef boost::shared_ptr< ::vrep_common::simRosSetUIButtonLabelResponse_<ContainerAllocator> > Ptr;
00086 typedef boost::shared_ptr< ::vrep_common::simRosSetUIButtonLabelResponse_<ContainerAllocator> const> ConstPtr;
00087 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00088 };
00089 typedef ::vrep_common::simRosSetUIButtonLabelResponse_<std::allocator<void> > simRosSetUIButtonLabelResponse;
00090
00091 typedef boost::shared_ptr< ::vrep_common::simRosSetUIButtonLabelResponse> simRosSetUIButtonLabelResponsePtr;
00092 typedef boost::shared_ptr< ::vrep_common::simRosSetUIButtonLabelResponse const> simRosSetUIButtonLabelResponseConstPtr;
00093
00094 struct simRosSetUIButtonLabel
00095 {
00096
00097 typedef simRosSetUIButtonLabelRequest Request;
00098 typedef simRosSetUIButtonLabelResponse 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< ::vrep_common::simRosSetUIButtonLabelRequest_<ContainerAllocator> > : public TrueType {};
00112 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosSetUIButtonLabelRequest_<ContainerAllocator> const> : public TrueType {};
00113 template<class ContainerAllocator>
00114 struct MD5Sum< ::vrep_common::simRosSetUIButtonLabelRequest_<ContainerAllocator> > {
00115 static const char* value()
00116 {
00117 return "3e1ad0cb5a7e9bfb5b83bdbdf550ecc4";
00118 }
00119
00120 static const char* value(const ::vrep_common::simRosSetUIButtonLabelRequest_<ContainerAllocator> &) { return value(); }
00121 static const uint64_t static_value1 = 0x3e1ad0cb5a7e9bfbULL;
00122 static const uint64_t static_value2 = 0x5b83bdbdf550ecc4ULL;
00123 };
00124
00125 template<class ContainerAllocator>
00126 struct DataType< ::vrep_common::simRosSetUIButtonLabelRequest_<ContainerAllocator> > {
00127 static const char* value()
00128 {
00129 return "vrep_common/simRosSetUIButtonLabelRequest";
00130 }
00131
00132 static const char* value(const ::vrep_common::simRosSetUIButtonLabelRequest_<ContainerAllocator> &) { return value(); }
00133 };
00134
00135 template<class ContainerAllocator>
00136 struct Definition< ::vrep_common::simRosSetUIButtonLabelRequest_<ContainerAllocator> > {
00137 static const char* value()
00138 {
00139 return "\n\
00140 \n\
00141 \n\
00142 \n\
00143 int32 uiHandle\n\
00144 int32 buttonID\n\
00145 string upStateLabel\n\
00146 string downStateLabel\n\
00147 \n\
00148 ";
00149 }
00150
00151 static const char* value(const ::vrep_common::simRosSetUIButtonLabelRequest_<ContainerAllocator> &) { return value(); }
00152 };
00153
00154 }
00155 }
00156
00157
00158 namespace ros
00159 {
00160 namespace message_traits
00161 {
00162 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosSetUIButtonLabelResponse_<ContainerAllocator> > : public TrueType {};
00163 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosSetUIButtonLabelResponse_<ContainerAllocator> const> : public TrueType {};
00164 template<class ContainerAllocator>
00165 struct MD5Sum< ::vrep_common::simRosSetUIButtonLabelResponse_<ContainerAllocator> > {
00166 static const char* value()
00167 {
00168 return "034a8e20d6a306665e3a5b340fab3f09";
00169 }
00170
00171 static const char* value(const ::vrep_common::simRosSetUIButtonLabelResponse_<ContainerAllocator> &) { return value(); }
00172 static const uint64_t static_value1 = 0x034a8e20d6a30666ULL;
00173 static const uint64_t static_value2 = 0x5e3a5b340fab3f09ULL;
00174 };
00175
00176 template<class ContainerAllocator>
00177 struct DataType< ::vrep_common::simRosSetUIButtonLabelResponse_<ContainerAllocator> > {
00178 static const char* value()
00179 {
00180 return "vrep_common/simRosSetUIButtonLabelResponse";
00181 }
00182
00183 static const char* value(const ::vrep_common::simRosSetUIButtonLabelResponse_<ContainerAllocator> &) { return value(); }
00184 };
00185
00186 template<class ContainerAllocator>
00187 struct Definition< ::vrep_common::simRosSetUIButtonLabelResponse_<ContainerAllocator> > {
00188 static const char* value()
00189 {
00190 return "int32 result\n\
00191 \n\
00192 \n\
00193 ";
00194 }
00195
00196 static const char* value(const ::vrep_common::simRosSetUIButtonLabelResponse_<ContainerAllocator> &) { return value(); }
00197 };
00198
00199 template<class ContainerAllocator> struct IsFixedSize< ::vrep_common::simRosSetUIButtonLabelResponse_<ContainerAllocator> > : public TrueType {};
00200 }
00201 }
00202
00203 namespace ros
00204 {
00205 namespace serialization
00206 {
00207
00208 template<class ContainerAllocator> struct Serializer< ::vrep_common::simRosSetUIButtonLabelRequest_<ContainerAllocator> >
00209 {
00210 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00211 {
00212 stream.next(m.uiHandle);
00213 stream.next(m.buttonID);
00214 stream.next(m.upStateLabel);
00215 stream.next(m.downStateLabel);
00216 }
00217
00218 ROS_DECLARE_ALLINONE_SERIALIZER;
00219 };
00220 }
00221 }
00222
00223
00224 namespace ros
00225 {
00226 namespace serialization
00227 {
00228
00229 template<class ContainerAllocator> struct Serializer< ::vrep_common::simRosSetUIButtonLabelResponse_<ContainerAllocator> >
00230 {
00231 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00232 {
00233 stream.next(m.result);
00234 }
00235
00236 ROS_DECLARE_ALLINONE_SERIALIZER;
00237 };
00238 }
00239 }
00240
00241 namespace ros
00242 {
00243 namespace service_traits
00244 {
00245 template<>
00246 struct MD5Sum<vrep_common::simRosSetUIButtonLabel> {
00247 static const char* value()
00248 {
00249 return "43f15cd21d5f9887f83532420e4a3463";
00250 }
00251
00252 static const char* value(const vrep_common::simRosSetUIButtonLabel&) { return value(); }
00253 };
00254
00255 template<>
00256 struct DataType<vrep_common::simRosSetUIButtonLabel> {
00257 static const char* value()
00258 {
00259 return "vrep_common/simRosSetUIButtonLabel";
00260 }
00261
00262 static const char* value(const vrep_common::simRosSetUIButtonLabel&) { return value(); }
00263 };
00264
00265 template<class ContainerAllocator>
00266 struct MD5Sum<vrep_common::simRosSetUIButtonLabelRequest_<ContainerAllocator> > {
00267 static const char* value()
00268 {
00269 return "43f15cd21d5f9887f83532420e4a3463";
00270 }
00271
00272 static const char* value(const vrep_common::simRosSetUIButtonLabelRequest_<ContainerAllocator> &) { return value(); }
00273 };
00274
00275 template<class ContainerAllocator>
00276 struct DataType<vrep_common::simRosSetUIButtonLabelRequest_<ContainerAllocator> > {
00277 static const char* value()
00278 {
00279 return "vrep_common/simRosSetUIButtonLabel";
00280 }
00281
00282 static const char* value(const vrep_common::simRosSetUIButtonLabelRequest_<ContainerAllocator> &) { return value(); }
00283 };
00284
00285 template<class ContainerAllocator>
00286 struct MD5Sum<vrep_common::simRosSetUIButtonLabelResponse_<ContainerAllocator> > {
00287 static const char* value()
00288 {
00289 return "43f15cd21d5f9887f83532420e4a3463";
00290 }
00291
00292 static const char* value(const vrep_common::simRosSetUIButtonLabelResponse_<ContainerAllocator> &) { return value(); }
00293 };
00294
00295 template<class ContainerAllocator>
00296 struct DataType<vrep_common::simRosSetUIButtonLabelResponse_<ContainerAllocator> > {
00297 static const char* value()
00298 {
00299 return "vrep_common/simRosSetUIButtonLabel";
00300 }
00301
00302 static const char* value(const vrep_common::simRosSetUIButtonLabelResponse_<ContainerAllocator> &) { return value(); }
00303 };
00304
00305 }
00306 }
00307
00308 #endif // VREP_COMMON_SERVICE_SIMROSSETUIBUTTONLABEL_H
00309