GetModelScans.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-object_manipulation/doc_stacks/2013-01-25_14-23-21.619693/object_manipulation/household_objects_database_msgs/srv/GetModelScans.srv */
00002 #ifndef HOUSEHOLD_OBJECTS_DATABASE_MSGS_SERVICE_GETMODELSCANS_H
00003 #define HOUSEHOLD_OBJECTS_DATABASE_MSGS_SERVICE_GETMODELSCANS_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 "household_objects_database_msgs/DatabaseReturnCode.h"
00022 #include "household_objects_database_msgs/DatabaseScan.h"
00023 
00024 namespace household_objects_database_msgs
00025 {
00026 template <class ContainerAllocator>
00027 struct GetModelScansRequest_ {
00028   typedef GetModelScansRequest_<ContainerAllocator> Type;
00029 
00030   GetModelScansRequest_()
00031   : model_id(0)
00032   , scan_source()
00033   {
00034   }
00035 
00036   GetModelScansRequest_(const ContainerAllocator& _alloc)
00037   : model_id(0)
00038   , scan_source(_alloc)
00039   {
00040   }
00041 
00042   typedef int32_t _model_id_type;
00043   int32_t model_id;
00044 
00045   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _scan_source_type;
00046   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  scan_source;
00047 
00048 
00049   typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelScansRequest_<ContainerAllocator> > Ptr;
00050   typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelScansRequest_<ContainerAllocator>  const> ConstPtr;
00051   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 }; // struct GetModelScansRequest
00053 typedef  ::household_objects_database_msgs::GetModelScansRequest_<std::allocator<void> > GetModelScansRequest;
00054 
00055 typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelScansRequest> GetModelScansRequestPtr;
00056 typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelScansRequest const> GetModelScansRequestConstPtr;
00057 
00058 
00059 template <class ContainerAllocator>
00060 struct GetModelScansResponse_ {
00061   typedef GetModelScansResponse_<ContainerAllocator> Type;
00062 
00063   GetModelScansResponse_()
00064   : return_code()
00065   , matching_scans()
00066   {
00067   }
00068 
00069   GetModelScansResponse_(const ContainerAllocator& _alloc)
00070   : return_code(_alloc)
00071   , matching_scans(_alloc)
00072   {
00073   }
00074 
00075   typedef  ::household_objects_database_msgs::DatabaseReturnCode_<ContainerAllocator>  _return_code_type;
00076    ::household_objects_database_msgs::DatabaseReturnCode_<ContainerAllocator>  return_code;
00077 
00078   typedef std::vector< ::household_objects_database_msgs::DatabaseScan_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::household_objects_database_msgs::DatabaseScan_<ContainerAllocator> >::other >  _matching_scans_type;
00079   std::vector< ::household_objects_database_msgs::DatabaseScan_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::household_objects_database_msgs::DatabaseScan_<ContainerAllocator> >::other >  matching_scans;
00080 
00081 
00082   typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelScansResponse_<ContainerAllocator> > Ptr;
00083   typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelScansResponse_<ContainerAllocator>  const> ConstPtr;
00084   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00085 }; // struct GetModelScansResponse
00086 typedef  ::household_objects_database_msgs::GetModelScansResponse_<std::allocator<void> > GetModelScansResponse;
00087 
00088 typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelScansResponse> GetModelScansResponsePtr;
00089 typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelScansResponse const> GetModelScansResponseConstPtr;
00090 
00091 struct GetModelScans
00092 {
00093 
00094 typedef GetModelScansRequest Request;
00095 typedef GetModelScansResponse Response;
00096 Request request;
00097 Response response;
00098 
00099 typedef Request RequestType;
00100 typedef Response ResponseType;
00101 }; // struct GetModelScans
00102 } // namespace household_objects_database_msgs
00103 
00104 namespace ros
00105 {
00106 namespace message_traits
00107 {
00108 template<class ContainerAllocator> struct IsMessage< ::household_objects_database_msgs::GetModelScansRequest_<ContainerAllocator> > : public TrueType {};
00109 template<class ContainerAllocator> struct IsMessage< ::household_objects_database_msgs::GetModelScansRequest_<ContainerAllocator>  const> : public TrueType {};
00110 template<class ContainerAllocator>
00111 struct MD5Sum< ::household_objects_database_msgs::GetModelScansRequest_<ContainerAllocator> > {
00112   static const char* value() 
00113   {
00114     return "4f31b0f27ba251f6d1f17eafced83cb7";
00115   }
00116 
00117   static const char* value(const  ::household_objects_database_msgs::GetModelScansRequest_<ContainerAllocator> &) { return value(); } 
00118   static const uint64_t static_value1 = 0x4f31b0f27ba251f6ULL;
00119   static const uint64_t static_value2 = 0xd1f17eafced83cb7ULL;
00120 };
00121 
00122 template<class ContainerAllocator>
00123 struct DataType< ::household_objects_database_msgs::GetModelScansRequest_<ContainerAllocator> > {
00124   static const char* value() 
00125   {
00126     return "household_objects_database_msgs/GetModelScansRequest";
00127   }
00128 
00129   static const char* value(const  ::household_objects_database_msgs::GetModelScansRequest_<ContainerAllocator> &) { return value(); } 
00130 };
00131 
00132 template<class ContainerAllocator>
00133 struct Definition< ::household_objects_database_msgs::GetModelScansRequest_<ContainerAllocator> > {
00134   static const char* value() 
00135   {
00136     return "\n\
00137 \n\
00138 \n\
00139 int32 model_id\n\
00140 \n\
00141 \n\
00142 string scan_source\n\
00143 \n\
00144 \n\
00145 ";
00146   }
00147 
00148   static const char* value(const  ::household_objects_database_msgs::GetModelScansRequest_<ContainerAllocator> &) { return value(); } 
00149 };
00150 
00151 } // namespace message_traits
00152 } // namespace ros
00153 
00154 
00155 namespace ros
00156 {
00157 namespace message_traits
00158 {
00159 template<class ContainerAllocator> struct IsMessage< ::household_objects_database_msgs::GetModelScansResponse_<ContainerAllocator> > : public TrueType {};
00160 template<class ContainerAllocator> struct IsMessage< ::household_objects_database_msgs::GetModelScansResponse_<ContainerAllocator>  const> : public TrueType {};
00161 template<class ContainerAllocator>
00162 struct MD5Sum< ::household_objects_database_msgs::GetModelScansResponse_<ContainerAllocator> > {
00163   static const char* value() 
00164   {
00165     return "8d1bb6e95c26a5d891987d9d9195e958";
00166   }
00167 
00168   static const char* value(const  ::household_objects_database_msgs::GetModelScansResponse_<ContainerAllocator> &) { return value(); } 
00169   static const uint64_t static_value1 = 0x8d1bb6e95c26a5d8ULL;
00170   static const uint64_t static_value2 = 0x91987d9d9195e958ULL;
00171 };
00172 
00173 template<class ContainerAllocator>
00174 struct DataType< ::household_objects_database_msgs::GetModelScansResponse_<ContainerAllocator> > {
00175   static const char* value() 
00176   {
00177     return "household_objects_database_msgs/GetModelScansResponse";
00178   }
00179 
00180   static const char* value(const  ::household_objects_database_msgs::GetModelScansResponse_<ContainerAllocator> &) { return value(); } 
00181 };
00182 
00183 template<class ContainerAllocator>
00184 struct Definition< ::household_objects_database_msgs::GetModelScansResponse_<ContainerAllocator> > {
00185   static const char* value() 
00186   {
00187     return "\n\
00188 \n\
00189 DatabaseReturnCode return_code\n\
00190 \n\
00191 \n\
00192 DatabaseScan[] matching_scans\n\
00193 \n\
00194 ================================================================================\n\
00195 MSG: household_objects_database_msgs/DatabaseReturnCode\n\
00196 # return codes for database-related services\n\
00197 \n\
00198 int32 UNKNOWN_ERROR = 1\n\
00199 int32 DATABASE_NOT_CONNECTED = 2\n\
00200 int32 DATABASE_QUERY_ERROR = 3\n\
00201 int32 SUCCESS = -1\n\
00202 \n\
00203 int32 code\n\
00204 ================================================================================\n\
00205 MSG: household_objects_database_msgs/DatabaseScan\n\
00206 # Contains the location of a stored point cloud scan of an object, \n\
00207 # as well as additional metadata about that scan \n\
00208 \n\
00209 # the database id of the model\n\
00210 int32 model_id\n\
00211 \n\
00212 # the location of the bag file storing the scan\n\
00213 string bagfile_location\n\
00214 \n\
00215 # the source of the scan (e.g. simulation)\n\
00216 string scan_source\n\
00217 \n\
00218 # the ground truth pose of the object that was scanned\n\
00219 geometry_msgs/PoseStamped pose\n\
00220 \n\
00221 # the topic that the points in the bag are published on\n\
00222 string cloud_topic\n\
00223 ================================================================================\n\
00224 MSG: geometry_msgs/PoseStamped\n\
00225 # A Pose with reference coordinate frame and timestamp\n\
00226 Header header\n\
00227 Pose pose\n\
00228 \n\
00229 ================================================================================\n\
00230 MSG: std_msgs/Header\n\
00231 # Standard metadata for higher-level stamped data types.\n\
00232 # This is generally used to communicate timestamped data \n\
00233 # in a particular coordinate frame.\n\
00234 # \n\
00235 # sequence ID: consecutively increasing ID \n\
00236 uint32 seq\n\
00237 #Two-integer timestamp that is expressed as:\n\
00238 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00239 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00240 # time-handling sugar is provided by the client library\n\
00241 time stamp\n\
00242 #Frame this data is associated with\n\
00243 # 0: no frame\n\
00244 # 1: global frame\n\
00245 string frame_id\n\
00246 \n\
00247 ================================================================================\n\
00248 MSG: geometry_msgs/Pose\n\
00249 # A representation of pose in free space, composed of postion and orientation. \n\
00250 Point position\n\
00251 Quaternion orientation\n\
00252 \n\
00253 ================================================================================\n\
00254 MSG: geometry_msgs/Point\n\
00255 # This contains the position of a point in free space\n\
00256 float64 x\n\
00257 float64 y\n\
00258 float64 z\n\
00259 \n\
00260 ================================================================================\n\
00261 MSG: geometry_msgs/Quaternion\n\
00262 # This represents an orientation in free space in quaternion form.\n\
00263 \n\
00264 float64 x\n\
00265 float64 y\n\
00266 float64 z\n\
00267 float64 w\n\
00268 \n\
00269 ";
00270   }
00271 
00272   static const char* value(const  ::household_objects_database_msgs::GetModelScansResponse_<ContainerAllocator> &) { return value(); } 
00273 };
00274 
00275 } // namespace message_traits
00276 } // namespace ros
00277 
00278 namespace ros
00279 {
00280 namespace serialization
00281 {
00282 
00283 template<class ContainerAllocator> struct Serializer< ::household_objects_database_msgs::GetModelScansRequest_<ContainerAllocator> >
00284 {
00285   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00286   {
00287     stream.next(m.model_id);
00288     stream.next(m.scan_source);
00289   }
00290 
00291   ROS_DECLARE_ALLINONE_SERIALIZER;
00292 }; // struct GetModelScansRequest_
00293 } // namespace serialization
00294 } // namespace ros
00295 
00296 
00297 namespace ros
00298 {
00299 namespace serialization
00300 {
00301 
00302 template<class ContainerAllocator> struct Serializer< ::household_objects_database_msgs::GetModelScansResponse_<ContainerAllocator> >
00303 {
00304   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00305   {
00306     stream.next(m.return_code);
00307     stream.next(m.matching_scans);
00308   }
00309 
00310   ROS_DECLARE_ALLINONE_SERIALIZER;
00311 }; // struct GetModelScansResponse_
00312 } // namespace serialization
00313 } // namespace ros
00314 
00315 namespace ros
00316 {
00317 namespace service_traits
00318 {
00319 template<>
00320 struct MD5Sum<household_objects_database_msgs::GetModelScans> {
00321   static const char* value() 
00322   {
00323     return "8e98ddfab8ff8e5fb3a60b1cd7645437";
00324   }
00325 
00326   static const char* value(const household_objects_database_msgs::GetModelScans&) { return value(); } 
00327 };
00328 
00329 template<>
00330 struct DataType<household_objects_database_msgs::GetModelScans> {
00331   static const char* value() 
00332   {
00333     return "household_objects_database_msgs/GetModelScans";
00334   }
00335 
00336   static const char* value(const household_objects_database_msgs::GetModelScans&) { return value(); } 
00337 };
00338 
00339 template<class ContainerAllocator>
00340 struct MD5Sum<household_objects_database_msgs::GetModelScansRequest_<ContainerAllocator> > {
00341   static const char* value() 
00342   {
00343     return "8e98ddfab8ff8e5fb3a60b1cd7645437";
00344   }
00345 
00346   static const char* value(const household_objects_database_msgs::GetModelScansRequest_<ContainerAllocator> &) { return value(); } 
00347 };
00348 
00349 template<class ContainerAllocator>
00350 struct DataType<household_objects_database_msgs::GetModelScansRequest_<ContainerAllocator> > {
00351   static const char* value() 
00352   {
00353     return "household_objects_database_msgs/GetModelScans";
00354   }
00355 
00356   static const char* value(const household_objects_database_msgs::GetModelScansRequest_<ContainerAllocator> &) { return value(); } 
00357 };
00358 
00359 template<class ContainerAllocator>
00360 struct MD5Sum<household_objects_database_msgs::GetModelScansResponse_<ContainerAllocator> > {
00361   static const char* value() 
00362   {
00363     return "8e98ddfab8ff8e5fb3a60b1cd7645437";
00364   }
00365 
00366   static const char* value(const household_objects_database_msgs::GetModelScansResponse_<ContainerAllocator> &) { return value(); } 
00367 };
00368 
00369 template<class ContainerAllocator>
00370 struct DataType<household_objects_database_msgs::GetModelScansResponse_<ContainerAllocator> > {
00371   static const char* value() 
00372   {
00373     return "household_objects_database_msgs/GetModelScans";
00374   }
00375 
00376   static const char* value(const household_objects_database_msgs::GetModelScansResponse_<ContainerAllocator> &) { return value(); } 
00377 };
00378 
00379 } // namespace service_traits
00380 } // namespace ros
00381 
00382 #endif // HOUSEHOLD_OBJECTS_DATABASE_MSGS_SERVICE_GETMODELSCANS_H
00383 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


household_objects_database_msgs
Author(s): Matei Ciocarlie
autogenerated on Fri Jan 25 2013 14:57:21