Go to the documentation of this file.00001
00002 #ifndef MOD_SEMANTIC_MAP_SERVICE_GENERATESEMANTICMAPOWL_H
00003 #define MOD_SEMANTIC_MAP_SERVICE_GENERATESEMANTICMAPOWL_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 #include "mod_semantic_map/SemMap.h"
00020
00021
00022
00023 namespace mod_semantic_map
00024 {
00025 template <class ContainerAllocator>
00026 struct GenerateSemanticMapOWLRequest_ {
00027 typedef GenerateSemanticMapOWLRequest_<ContainerAllocator> Type;
00028
00029 GenerateSemanticMapOWLRequest_()
00030 : map()
00031 {
00032 }
00033
00034 GenerateSemanticMapOWLRequest_(const ContainerAllocator& _alloc)
00035 : map(_alloc)
00036 {
00037 }
00038
00039 typedef ::mod_semantic_map::SemMap_<ContainerAllocator> _map_type;
00040 ::mod_semantic_map::SemMap_<ContainerAllocator> map;
00041
00042
00043 typedef boost::shared_ptr< ::mod_semantic_map::GenerateSemanticMapOWLRequest_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::mod_semantic_map::GenerateSemanticMapOWLRequest_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::mod_semantic_map::GenerateSemanticMapOWLRequest_<std::allocator<void> > GenerateSemanticMapOWLRequest;
00048
00049 typedef boost::shared_ptr< ::mod_semantic_map::GenerateSemanticMapOWLRequest> GenerateSemanticMapOWLRequestPtr;
00050 typedef boost::shared_ptr< ::mod_semantic_map::GenerateSemanticMapOWLRequest const> GenerateSemanticMapOWLRequestConstPtr;
00051
00052
00053 template <class ContainerAllocator>
00054 struct GenerateSemanticMapOWLResponse_ {
00055 typedef GenerateSemanticMapOWLResponse_<ContainerAllocator> Type;
00056
00057 GenerateSemanticMapOWLResponse_()
00058 : owlmap()
00059 {
00060 }
00061
00062 GenerateSemanticMapOWLResponse_(const ContainerAllocator& _alloc)
00063 : owlmap(_alloc)
00064 {
00065 }
00066
00067 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _owlmap_type;
00068 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > owlmap;
00069
00070
00071 typedef boost::shared_ptr< ::mod_semantic_map::GenerateSemanticMapOWLResponse_<ContainerAllocator> > Ptr;
00072 typedef boost::shared_ptr< ::mod_semantic_map::GenerateSemanticMapOWLResponse_<ContainerAllocator> const> ConstPtr;
00073 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 };
00075 typedef ::mod_semantic_map::GenerateSemanticMapOWLResponse_<std::allocator<void> > GenerateSemanticMapOWLResponse;
00076
00077 typedef boost::shared_ptr< ::mod_semantic_map::GenerateSemanticMapOWLResponse> GenerateSemanticMapOWLResponsePtr;
00078 typedef boost::shared_ptr< ::mod_semantic_map::GenerateSemanticMapOWLResponse const> GenerateSemanticMapOWLResponseConstPtr;
00079
00080 struct GenerateSemanticMapOWL
00081 {
00082
00083 typedef GenerateSemanticMapOWLRequest Request;
00084 typedef GenerateSemanticMapOWLResponse Response;
00085 Request request;
00086 Response response;
00087
00088 typedef Request RequestType;
00089 typedef Response ResponseType;
00090 };
00091 }
00092
00093 namespace ros
00094 {
00095 namespace message_traits
00096 {
00097 template<class ContainerAllocator> struct IsMessage< ::mod_semantic_map::GenerateSemanticMapOWLRequest_<ContainerAllocator> > : public TrueType {};
00098 template<class ContainerAllocator> struct IsMessage< ::mod_semantic_map::GenerateSemanticMapOWLRequest_<ContainerAllocator> const> : public TrueType {};
00099 template<class ContainerAllocator>
00100 struct MD5Sum< ::mod_semantic_map::GenerateSemanticMapOWLRequest_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "f60c6df582433e7b1f63324006360c40";
00104 }
00105
00106 static const char* value(const ::mod_semantic_map::GenerateSemanticMapOWLRequest_<ContainerAllocator> &) { return value(); }
00107 static const uint64_t static_value1 = 0xf60c6df582433e7bULL;
00108 static const uint64_t static_value2 = 0x1f63324006360c40ULL;
00109 };
00110
00111 template<class ContainerAllocator>
00112 struct DataType< ::mod_semantic_map::GenerateSemanticMapOWLRequest_<ContainerAllocator> > {
00113 static const char* value()
00114 {
00115 return "mod_semantic_map/GenerateSemanticMapOWLRequest";
00116 }
00117
00118 static const char* value(const ::mod_semantic_map::GenerateSemanticMapOWLRequest_<ContainerAllocator> &) { return value(); }
00119 };
00120
00121 template<class ContainerAllocator>
00122 struct Definition< ::mod_semantic_map::GenerateSemanticMapOWLRequest_<ContainerAllocator> > {
00123 static const char* value()
00124 {
00125 return "SemMap map\n\
00126 \n\
00127 ================================================================================\n\
00128 MSG: mod_semantic_map/SemMap\n\
00129 # Semantic map message type, Moritz Tenorth, tenorth@cs.tum.edu\n\
00130 Header header # Message header\n\
00131 SemMapObject[] objects # List of objects in the map\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: std_msgs/Header\n\
00135 # Standard metadata for higher-level stamped data types.\n\
00136 # This is generally used to communicate timestamped data \n\
00137 # in a particular coordinate frame.\n\
00138 # \n\
00139 # sequence ID: consecutively increasing ID \n\
00140 uint32 seq\n\
00141 #Two-integer timestamp that is expressed as:\n\
00142 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00143 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00144 # time-handling sugar is provided by the client library\n\
00145 time stamp\n\
00146 #Frame this data is associated with\n\
00147 # 0: no frame\n\
00148 # 1: global frame\n\
00149 string frame_id\n\
00150 \n\
00151 ================================================================================\n\
00152 MSG: mod_semantic_map/SemMapObject\n\
00153 # Semantic map object message type, Moritz Tenorth, tenorth@cs.tum.edu\n\
00154 int32 id # unique object identifier\n\
00155 string type # object class: {oven, cupboard, refrigerator, table, countertop, door, hinge, handle, knob, sink}\n\
00156 float32 width # object width\n\
00157 float32 depth # object width\n\
00158 float32 height # object width\n\
00159 float32[] pose # 4x4 pose matrix, row-based\n\
00160 int32 partOf # ID of the parent object (consistent with the ID on the first line)\n\
00161 \n\
00162 ";
00163 }
00164
00165 static const char* value(const ::mod_semantic_map::GenerateSemanticMapOWLRequest_<ContainerAllocator> &) { return value(); }
00166 };
00167
00168 }
00169 }
00170
00171
00172 namespace ros
00173 {
00174 namespace message_traits
00175 {
00176 template<class ContainerAllocator> struct IsMessage< ::mod_semantic_map::GenerateSemanticMapOWLResponse_<ContainerAllocator> > : public TrueType {};
00177 template<class ContainerAllocator> struct IsMessage< ::mod_semantic_map::GenerateSemanticMapOWLResponse_<ContainerAllocator> const> : public TrueType {};
00178 template<class ContainerAllocator>
00179 struct MD5Sum< ::mod_semantic_map::GenerateSemanticMapOWLResponse_<ContainerAllocator> > {
00180 static const char* value()
00181 {
00182 return "dc9efc63bb72e9c68ed58c7eee542724";
00183 }
00184
00185 static const char* value(const ::mod_semantic_map::GenerateSemanticMapOWLResponse_<ContainerAllocator> &) { return value(); }
00186 static const uint64_t static_value1 = 0xdc9efc63bb72e9c6ULL;
00187 static const uint64_t static_value2 = 0x8ed58c7eee542724ULL;
00188 };
00189
00190 template<class ContainerAllocator>
00191 struct DataType< ::mod_semantic_map::GenerateSemanticMapOWLResponse_<ContainerAllocator> > {
00192 static const char* value()
00193 {
00194 return "mod_semantic_map/GenerateSemanticMapOWLResponse";
00195 }
00196
00197 static const char* value(const ::mod_semantic_map::GenerateSemanticMapOWLResponse_<ContainerAllocator> &) { return value(); }
00198 };
00199
00200 template<class ContainerAllocator>
00201 struct Definition< ::mod_semantic_map::GenerateSemanticMapOWLResponse_<ContainerAllocator> > {
00202 static const char* value()
00203 {
00204 return "string owlmap\n\
00205 \n\
00206 ";
00207 }
00208
00209 static const char* value(const ::mod_semantic_map::GenerateSemanticMapOWLResponse_<ContainerAllocator> &) { return value(); }
00210 };
00211
00212 }
00213 }
00214
00215 namespace ros
00216 {
00217 namespace serialization
00218 {
00219
00220 template<class ContainerAllocator> struct Serializer< ::mod_semantic_map::GenerateSemanticMapOWLRequest_<ContainerAllocator> >
00221 {
00222 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00223 {
00224 stream.next(m.map);
00225 }
00226
00227 ROS_DECLARE_ALLINONE_SERIALIZER;
00228 };
00229 }
00230 }
00231
00232
00233 namespace ros
00234 {
00235 namespace serialization
00236 {
00237
00238 template<class ContainerAllocator> struct Serializer< ::mod_semantic_map::GenerateSemanticMapOWLResponse_<ContainerAllocator> >
00239 {
00240 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00241 {
00242 stream.next(m.owlmap);
00243 }
00244
00245 ROS_DECLARE_ALLINONE_SERIALIZER;
00246 };
00247 }
00248 }
00249
00250 namespace ros
00251 {
00252 namespace service_traits
00253 {
00254 template<>
00255 struct MD5Sum<mod_semantic_map::GenerateSemanticMapOWL> {
00256 static const char* value()
00257 {
00258 return "dd015219cdf33d2d8afec37f8e9fc498";
00259 }
00260
00261 static const char* value(const mod_semantic_map::GenerateSemanticMapOWL&) { return value(); }
00262 };
00263
00264 template<>
00265 struct DataType<mod_semantic_map::GenerateSemanticMapOWL> {
00266 static const char* value()
00267 {
00268 return "mod_semantic_map/GenerateSemanticMapOWL";
00269 }
00270
00271 static const char* value(const mod_semantic_map::GenerateSemanticMapOWL&) { return value(); }
00272 };
00273
00274 template<class ContainerAllocator>
00275 struct MD5Sum<mod_semantic_map::GenerateSemanticMapOWLRequest_<ContainerAllocator> > {
00276 static const char* value()
00277 {
00278 return "dd015219cdf33d2d8afec37f8e9fc498";
00279 }
00280
00281 static const char* value(const mod_semantic_map::GenerateSemanticMapOWLRequest_<ContainerAllocator> &) { return value(); }
00282 };
00283
00284 template<class ContainerAllocator>
00285 struct DataType<mod_semantic_map::GenerateSemanticMapOWLRequest_<ContainerAllocator> > {
00286 static const char* value()
00287 {
00288 return "mod_semantic_map/GenerateSemanticMapOWL";
00289 }
00290
00291 static const char* value(const mod_semantic_map::GenerateSemanticMapOWLRequest_<ContainerAllocator> &) { return value(); }
00292 };
00293
00294 template<class ContainerAllocator>
00295 struct MD5Sum<mod_semantic_map::GenerateSemanticMapOWLResponse_<ContainerAllocator> > {
00296 static const char* value()
00297 {
00298 return "dd015219cdf33d2d8afec37f8e9fc498";
00299 }
00300
00301 static const char* value(const mod_semantic_map::GenerateSemanticMapOWLResponse_<ContainerAllocator> &) { return value(); }
00302 };
00303
00304 template<class ContainerAllocator>
00305 struct DataType<mod_semantic_map::GenerateSemanticMapOWLResponse_<ContainerAllocator> > {
00306 static const char* value()
00307 {
00308 return "mod_semantic_map/GenerateSemanticMapOWL";
00309 }
00310
00311 static const char* value(const mod_semantic_map::GenerateSemanticMapOWLResponse_<ContainerAllocator> &) { return value(); }
00312 };
00313
00314 }
00315 }
00316
00317 #endif // MOD_SEMANTIC_MAP_SERVICE_GENERATESEMANTICMAPOWL_H
00318