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