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