Go to the documentation of this file.00001
00002 #ifndef ROBOFRAMENET_MSGS_SERVICE_REGISTERWITHFRAME_H
00003 #define ROBOFRAMENET_MSGS_SERVICE_REGISTERWITHFRAME_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 roboframenet_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct RegisterWithFrameRequest_ {
00026 typedef RegisterWithFrameRequest_<ContainerAllocator> Type;
00027
00028 RegisterWithFrameRequest_()
00029 : frame_name()
00030 , callback_topic()
00031 {
00032 }
00033
00034 RegisterWithFrameRequest_(const ContainerAllocator& _alloc)
00035 : frame_name(_alloc)
00036 , callback_topic(_alloc)
00037 {
00038 }
00039
00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _frame_name_type;
00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > frame_name;
00042
00043 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _callback_topic_type;
00044 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > callback_topic;
00045
00046
00047 typedef boost::shared_ptr< ::roboframenet_msgs::RegisterWithFrameRequest_<ContainerAllocator> > Ptr;
00048 typedef boost::shared_ptr< ::roboframenet_msgs::RegisterWithFrameRequest_<ContainerAllocator> const> ConstPtr;
00049 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00050 };
00051 typedef ::roboframenet_msgs::RegisterWithFrameRequest_<std::allocator<void> > RegisterWithFrameRequest;
00052
00053 typedef boost::shared_ptr< ::roboframenet_msgs::RegisterWithFrameRequest> RegisterWithFrameRequestPtr;
00054 typedef boost::shared_ptr< ::roboframenet_msgs::RegisterWithFrameRequest const> RegisterWithFrameRequestConstPtr;
00055
00056
00057 template <class ContainerAllocator>
00058 struct RegisterWithFrameResponse_ {
00059 typedef RegisterWithFrameResponse_<ContainerAllocator> Type;
00060
00061 RegisterWithFrameResponse_()
00062 : success(false)
00063 , error()
00064 {
00065 }
00066
00067 RegisterWithFrameResponse_(const ContainerAllocator& _alloc)
00068 : success(false)
00069 , error(_alloc)
00070 {
00071 }
00072
00073 typedef uint8_t _success_type;
00074 uint8_t success;
00075
00076 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _error_type;
00077 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > error;
00078
00079
00080 typedef boost::shared_ptr< ::roboframenet_msgs::RegisterWithFrameResponse_<ContainerAllocator> > Ptr;
00081 typedef boost::shared_ptr< ::roboframenet_msgs::RegisterWithFrameResponse_<ContainerAllocator> const> ConstPtr;
00082 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00083 };
00084 typedef ::roboframenet_msgs::RegisterWithFrameResponse_<std::allocator<void> > RegisterWithFrameResponse;
00085
00086 typedef boost::shared_ptr< ::roboframenet_msgs::RegisterWithFrameResponse> RegisterWithFrameResponsePtr;
00087 typedef boost::shared_ptr< ::roboframenet_msgs::RegisterWithFrameResponse const> RegisterWithFrameResponseConstPtr;
00088
00089 struct RegisterWithFrame
00090 {
00091
00092 typedef RegisterWithFrameRequest Request;
00093 typedef RegisterWithFrameResponse Response;
00094 Request request;
00095 Response response;
00096
00097 typedef Request RequestType;
00098 typedef Response ResponseType;
00099 };
00100 }
00101
00102 namespace ros
00103 {
00104 namespace message_traits
00105 {
00106 template<class ContainerAllocator> struct IsMessage< ::roboframenet_msgs::RegisterWithFrameRequest_<ContainerAllocator> > : public TrueType {};
00107 template<class ContainerAllocator> struct IsMessage< ::roboframenet_msgs::RegisterWithFrameRequest_<ContainerAllocator> const> : public TrueType {};
00108 template<class ContainerAllocator>
00109 struct MD5Sum< ::roboframenet_msgs::RegisterWithFrameRequest_<ContainerAllocator> > {
00110 static const char* value()
00111 {
00112 return "0d6d3e4a7ab16fd0b073948a00b7b9d3";
00113 }
00114
00115 static const char* value(const ::roboframenet_msgs::RegisterWithFrameRequest_<ContainerAllocator> &) { return value(); }
00116 static const uint64_t static_value1 = 0x0d6d3e4a7ab16fd0ULL;
00117 static const uint64_t static_value2 = 0xb073948a00b7b9d3ULL;
00118 };
00119
00120 template<class ContainerAllocator>
00121 struct DataType< ::roboframenet_msgs::RegisterWithFrameRequest_<ContainerAllocator> > {
00122 static const char* value()
00123 {
00124 return "roboframenet_msgs/RegisterWithFrameRequest";
00125 }
00126
00127 static const char* value(const ::roboframenet_msgs::RegisterWithFrameRequest_<ContainerAllocator> &) { return value(); }
00128 };
00129
00130 template<class ContainerAllocator>
00131 struct Definition< ::roboframenet_msgs::RegisterWithFrameRequest_<ContainerAllocator> > {
00132 static const char* value()
00133 {
00134 return "\n\
00135 \n\
00136 string frame_name\n\
00137 string callback_topic\n\
00138 \n\
00139 ";
00140 }
00141
00142 static const char* value(const ::roboframenet_msgs::RegisterWithFrameRequest_<ContainerAllocator> &) { return value(); }
00143 };
00144
00145 }
00146 }
00147
00148
00149 namespace ros
00150 {
00151 namespace message_traits
00152 {
00153 template<class ContainerAllocator> struct IsMessage< ::roboframenet_msgs::RegisterWithFrameResponse_<ContainerAllocator> > : public TrueType {};
00154 template<class ContainerAllocator> struct IsMessage< ::roboframenet_msgs::RegisterWithFrameResponse_<ContainerAllocator> const> : public TrueType {};
00155 template<class ContainerAllocator>
00156 struct MD5Sum< ::roboframenet_msgs::RegisterWithFrameResponse_<ContainerAllocator> > {
00157 static const char* value()
00158 {
00159 return "07ba0ed4b6974b74b528c4cab8b77bff";
00160 }
00161
00162 static const char* value(const ::roboframenet_msgs::RegisterWithFrameResponse_<ContainerAllocator> &) { return value(); }
00163 static const uint64_t static_value1 = 0x07ba0ed4b6974b74ULL;
00164 static const uint64_t static_value2 = 0xb528c4cab8b77bffULL;
00165 };
00166
00167 template<class ContainerAllocator>
00168 struct DataType< ::roboframenet_msgs::RegisterWithFrameResponse_<ContainerAllocator> > {
00169 static const char* value()
00170 {
00171 return "roboframenet_msgs/RegisterWithFrameResponse";
00172 }
00173
00174 static const char* value(const ::roboframenet_msgs::RegisterWithFrameResponse_<ContainerAllocator> &) { return value(); }
00175 };
00176
00177 template<class ContainerAllocator>
00178 struct Definition< ::roboframenet_msgs::RegisterWithFrameResponse_<ContainerAllocator> > {
00179 static const char* value()
00180 {
00181 return "bool success\n\
00182 string[] error\n\
00183 \n\
00184 \n\
00185 \n\
00186 ";
00187 }
00188
00189 static const char* value(const ::roboframenet_msgs::RegisterWithFrameResponse_<ContainerAllocator> &) { return value(); }
00190 };
00191
00192 }
00193 }
00194
00195 namespace ros
00196 {
00197 namespace serialization
00198 {
00199
00200 template<class ContainerAllocator> struct Serializer< ::roboframenet_msgs::RegisterWithFrameRequest_<ContainerAllocator> >
00201 {
00202 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00203 {
00204 stream.next(m.frame_name);
00205 stream.next(m.callback_topic);
00206 }
00207
00208 ROS_DECLARE_ALLINONE_SERIALIZER;
00209 };
00210 }
00211 }
00212
00213
00214 namespace ros
00215 {
00216 namespace serialization
00217 {
00218
00219 template<class ContainerAllocator> struct Serializer< ::roboframenet_msgs::RegisterWithFrameResponse_<ContainerAllocator> >
00220 {
00221 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00222 {
00223 stream.next(m.success);
00224 stream.next(m.error);
00225 }
00226
00227 ROS_DECLARE_ALLINONE_SERIALIZER;
00228 };
00229 }
00230 }
00231
00232 namespace ros
00233 {
00234 namespace service_traits
00235 {
00236 template<>
00237 struct MD5Sum<roboframenet_msgs::RegisterWithFrame> {
00238 static const char* value()
00239 {
00240 return "d8348aca95ebc2a23cee1717f1fa3def";
00241 }
00242
00243 static const char* value(const roboframenet_msgs::RegisterWithFrame&) { return value(); }
00244 };
00245
00246 template<>
00247 struct DataType<roboframenet_msgs::RegisterWithFrame> {
00248 static const char* value()
00249 {
00250 return "roboframenet_msgs/RegisterWithFrame";
00251 }
00252
00253 static const char* value(const roboframenet_msgs::RegisterWithFrame&) { return value(); }
00254 };
00255
00256 template<class ContainerAllocator>
00257 struct MD5Sum<roboframenet_msgs::RegisterWithFrameRequest_<ContainerAllocator> > {
00258 static const char* value()
00259 {
00260 return "d8348aca95ebc2a23cee1717f1fa3def";
00261 }
00262
00263 static const char* value(const roboframenet_msgs::RegisterWithFrameRequest_<ContainerAllocator> &) { return value(); }
00264 };
00265
00266 template<class ContainerAllocator>
00267 struct DataType<roboframenet_msgs::RegisterWithFrameRequest_<ContainerAllocator> > {
00268 static const char* value()
00269 {
00270 return "roboframenet_msgs/RegisterWithFrame";
00271 }
00272
00273 static const char* value(const roboframenet_msgs::RegisterWithFrameRequest_<ContainerAllocator> &) { return value(); }
00274 };
00275
00276 template<class ContainerAllocator>
00277 struct MD5Sum<roboframenet_msgs::RegisterWithFrameResponse_<ContainerAllocator> > {
00278 static const char* value()
00279 {
00280 return "d8348aca95ebc2a23cee1717f1fa3def";
00281 }
00282
00283 static const char* value(const roboframenet_msgs::RegisterWithFrameResponse_<ContainerAllocator> &) { return value(); }
00284 };
00285
00286 template<class ContainerAllocator>
00287 struct DataType<roboframenet_msgs::RegisterWithFrameResponse_<ContainerAllocator> > {
00288 static const char* value()
00289 {
00290 return "roboframenet_msgs/RegisterWithFrame";
00291 }
00292
00293 static const char* value(const roboframenet_msgs::RegisterWithFrameResponse_<ContainerAllocator> &) { return value(); }
00294 };
00295
00296 }
00297 }
00298
00299 #endif // ROBOFRAMENET_MSGS_SERVICE_REGISTERWITHFRAME_H
00300