ParseTableScene.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-nasa_r2_common/doc_stacks/2014-01-03_11-31-21.132049/nasa_r2_common/r2_msgs/srv/ParseTableScene.srv */
00002 #ifndef R2_MSGS_SERVICE_PARSETABLESCENE_H
00003 #define R2_MSGS_SERVICE_PARSETABLESCENE_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 "visualization_msgs/MarkerArray.h"
00022 
00023 namespace r2_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct ParseTableSceneRequest_ {
00027   typedef ParseTableSceneRequest_<ContainerAllocator> Type;
00028 
00029   ParseTableSceneRequest_()
00030   : cmd(false)
00031   {
00032   }
00033 
00034   ParseTableSceneRequest_(const ContainerAllocator& _alloc)
00035   : cmd(false)
00036   {
00037   }
00038 
00039   typedef uint8_t _cmd_type;
00040   uint8_t cmd;
00041 
00042 
00043   typedef boost::shared_ptr< ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator> > Ptr;
00044   typedef boost::shared_ptr< ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator>  const> ConstPtr;
00045   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 }; // struct ParseTableSceneRequest
00047 typedef  ::r2_msgs::ParseTableSceneRequest_<std::allocator<void> > ParseTableSceneRequest;
00048 
00049 typedef boost::shared_ptr< ::r2_msgs::ParseTableSceneRequest> ParseTableSceneRequestPtr;
00050 typedef boost::shared_ptr< ::r2_msgs::ParseTableSceneRequest const> ParseTableSceneRequestConstPtr;
00051 
00052 
00053 template <class ContainerAllocator>
00054 struct ParseTableSceneResponse_ {
00055   typedef ParseTableSceneResponse_<ContainerAllocator> Type;
00056 
00057   ParseTableSceneResponse_()
00058   : table_found(false)
00059   , markers()
00060   {
00061   }
00062 
00063   ParseTableSceneResponse_(const ContainerAllocator& _alloc)
00064   : table_found(false)
00065   , markers(_alloc)
00066   {
00067   }
00068 
00069   typedef uint8_t _table_found_type;
00070   uint8_t table_found;
00071 
00072   typedef  ::visualization_msgs::MarkerArray_<ContainerAllocator>  _markers_type;
00073    ::visualization_msgs::MarkerArray_<ContainerAllocator>  markers;
00074 
00075 
00076   typedef boost::shared_ptr< ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator> > Ptr;
00077   typedef boost::shared_ptr< ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator>  const> ConstPtr;
00078   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00079 }; // struct ParseTableSceneResponse
00080 typedef  ::r2_msgs::ParseTableSceneResponse_<std::allocator<void> > ParseTableSceneResponse;
00081 
00082 typedef boost::shared_ptr< ::r2_msgs::ParseTableSceneResponse> ParseTableSceneResponsePtr;
00083 typedef boost::shared_ptr< ::r2_msgs::ParseTableSceneResponse const> ParseTableSceneResponseConstPtr;
00084 
00085 struct ParseTableScene
00086 {
00087 
00088 typedef ParseTableSceneRequest Request;
00089 typedef ParseTableSceneResponse Response;
00090 Request request;
00091 Response response;
00092 
00093 typedef Request RequestType;
00094 typedef Response ResponseType;
00095 }; // struct ParseTableScene
00096 } // namespace r2_msgs
00097 
00098 namespace ros
00099 {
00100 namespace message_traits
00101 {
00102 template<class ContainerAllocator> struct IsMessage< ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator> > : public TrueType {};
00103 template<class ContainerAllocator> struct IsMessage< ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator>  const> : public TrueType {};
00104 template<class ContainerAllocator>
00105 struct MD5Sum< ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "fab6d5f499de320aad10749bce1f85cf";
00109   }
00110 
00111   static const char* value(const  ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator> &) { return value(); } 
00112   static const uint64_t static_value1 = 0xfab6d5f499de320aULL;
00113   static const uint64_t static_value2 = 0xad10749bce1f85cfULL;
00114 };
00115 
00116 template<class ContainerAllocator>
00117 struct DataType< ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator> > {
00118   static const char* value() 
00119   {
00120     return "r2_msgs/ParseTableSceneRequest";
00121   }
00122 
00123   static const char* value(const  ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator> &) { return value(); } 
00124 };
00125 
00126 template<class ContainerAllocator>
00127 struct Definition< ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator> > {
00128   static const char* value() 
00129   {
00130     return "bool cmd\n\
00131 \n\
00132 ";
00133   }
00134 
00135   static const char* value(const  ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator> &) { return value(); } 
00136 };
00137 
00138 template<class ContainerAllocator> struct IsFixedSize< ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator> > : public TrueType {};
00139 } // namespace message_traits
00140 } // namespace ros
00141 
00142 
00143 namespace ros
00144 {
00145 namespace message_traits
00146 {
00147 template<class ContainerAllocator> struct IsMessage< ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator> > : public TrueType {};
00148 template<class ContainerAllocator> struct IsMessage< ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator>  const> : public TrueType {};
00149 template<class ContainerAllocator>
00150 struct MD5Sum< ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator> > {
00151   static const char* value() 
00152   {
00153     return "566c52328a1e033030e9a47cba63ed0d";
00154   }
00155 
00156   static const char* value(const  ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator> &) { return value(); } 
00157   static const uint64_t static_value1 = 0x566c52328a1e0330ULL;
00158   static const uint64_t static_value2 = 0x30e9a47cba63ed0dULL;
00159 };
00160 
00161 template<class ContainerAllocator>
00162 struct DataType< ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator> > {
00163   static const char* value() 
00164   {
00165     return "r2_msgs/ParseTableSceneResponse";
00166   }
00167 
00168   static const char* value(const  ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator> &) { return value(); } 
00169 };
00170 
00171 template<class ContainerAllocator>
00172 struct Definition< ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator> > {
00173   static const char* value() 
00174   {
00175     return "bool table_found\n\
00176 visualization_msgs/MarkerArray markers\n\
00177 \n\
00178 \n\
00179 ================================================================================\n\
00180 MSG: visualization_msgs/MarkerArray\n\
00181 Marker[] markers\n\
00182 \n\
00183 ================================================================================\n\
00184 MSG: visualization_msgs/Marker\n\
00185 # See http://www.ros.org/wiki/rviz/DisplayTypes/Marker and http://www.ros.org/wiki/rviz/Tutorials/Markers%3A%20Basic%20Shapes for more information on using this message with rviz\n\
00186 \n\
00187 uint8 ARROW=0\n\
00188 uint8 CUBE=1\n\
00189 uint8 SPHERE=2\n\
00190 uint8 CYLINDER=3\n\
00191 uint8 LINE_STRIP=4\n\
00192 uint8 LINE_LIST=5\n\
00193 uint8 CUBE_LIST=6\n\
00194 uint8 SPHERE_LIST=7\n\
00195 uint8 POINTS=8\n\
00196 uint8 TEXT_VIEW_FACING=9\n\
00197 uint8 MESH_RESOURCE=10\n\
00198 uint8 TRIANGLE_LIST=11\n\
00199 \n\
00200 uint8 ADD=0\n\
00201 uint8 MODIFY=0\n\
00202 uint8 DELETE=2\n\
00203 \n\
00204 Header header                        # header for time/frame information\n\
00205 string ns                            # Namespace to place this object in... used in conjunction with id to create a unique name for the object\n\
00206 int32 id                                         # object ID useful in conjunction with the namespace for manipulating and deleting the object later\n\
00207 int32 type                                     # Type of object\n\
00208 int32 action                           # 0 add/modify an object, 1 (deprecated), 2 deletes an object\n\
00209 geometry_msgs/Pose pose                 # Pose of the object\n\
00210 geometry_msgs/Vector3 scale             # Scale of the object 1,1,1 means default (usually 1 meter square)\n\
00211 std_msgs/ColorRGBA color             # Color [0.0-1.0]\n\
00212 duration lifetime                    # How long the object should last before being automatically deleted.  0 means forever\n\
00213 bool frame_locked                    # If this marker should be frame-locked, i.e. retransformed into its frame every timestep\n\
00214 \n\
00215 #Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n\
00216 geometry_msgs/Point[] points\n\
00217 #Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n\
00218 #number of colors must either be 0 or equal to the number of points\n\
00219 #NOTE: alpha is not yet used\n\
00220 std_msgs/ColorRGBA[] colors\n\
00221 \n\
00222 # NOTE: only used for text markers\n\
00223 string text\n\
00224 \n\
00225 # NOTE: only used for MESH_RESOURCE markers\n\
00226 string mesh_resource\n\
00227 bool mesh_use_embedded_materials\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 ================================================================================\n\
00270 MSG: geometry_msgs/Vector3\n\
00271 # This represents a vector in free space. \n\
00272 \n\
00273 float64 x\n\
00274 float64 y\n\
00275 float64 z\n\
00276 ================================================================================\n\
00277 MSG: std_msgs/ColorRGBA\n\
00278 float32 r\n\
00279 float32 g\n\
00280 float32 b\n\
00281 float32 a\n\
00282 \n\
00283 ";
00284   }
00285 
00286   static const char* value(const  ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator> &) { return value(); } 
00287 };
00288 
00289 } // namespace message_traits
00290 } // namespace ros
00291 
00292 namespace ros
00293 {
00294 namespace serialization
00295 {
00296 
00297 template<class ContainerAllocator> struct Serializer< ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator> >
00298 {
00299   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00300   {
00301     stream.next(m.cmd);
00302   }
00303 
00304   ROS_DECLARE_ALLINONE_SERIALIZER;
00305 }; // struct ParseTableSceneRequest_
00306 } // namespace serialization
00307 } // namespace ros
00308 
00309 
00310 namespace ros
00311 {
00312 namespace serialization
00313 {
00314 
00315 template<class ContainerAllocator> struct Serializer< ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator> >
00316 {
00317   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00318   {
00319     stream.next(m.table_found);
00320     stream.next(m.markers);
00321   }
00322 
00323   ROS_DECLARE_ALLINONE_SERIALIZER;
00324 }; // struct ParseTableSceneResponse_
00325 } // namespace serialization
00326 } // namespace ros
00327 
00328 namespace ros
00329 {
00330 namespace service_traits
00331 {
00332 template<>
00333 struct MD5Sum<r2_msgs::ParseTableScene> {
00334   static const char* value() 
00335   {
00336     return "e6f7cecbf270ab8d26931896b95a07de";
00337   }
00338 
00339   static const char* value(const r2_msgs::ParseTableScene&) { return value(); } 
00340 };
00341 
00342 template<>
00343 struct DataType<r2_msgs::ParseTableScene> {
00344   static const char* value() 
00345   {
00346     return "r2_msgs/ParseTableScene";
00347   }
00348 
00349   static const char* value(const r2_msgs::ParseTableScene&) { return value(); } 
00350 };
00351 
00352 template<class ContainerAllocator>
00353 struct MD5Sum<r2_msgs::ParseTableSceneRequest_<ContainerAllocator> > {
00354   static const char* value() 
00355   {
00356     return "e6f7cecbf270ab8d26931896b95a07de";
00357   }
00358 
00359   static const char* value(const r2_msgs::ParseTableSceneRequest_<ContainerAllocator> &) { return value(); } 
00360 };
00361 
00362 template<class ContainerAllocator>
00363 struct DataType<r2_msgs::ParseTableSceneRequest_<ContainerAllocator> > {
00364   static const char* value() 
00365   {
00366     return "r2_msgs/ParseTableScene";
00367   }
00368 
00369   static const char* value(const r2_msgs::ParseTableSceneRequest_<ContainerAllocator> &) { return value(); } 
00370 };
00371 
00372 template<class ContainerAllocator>
00373 struct MD5Sum<r2_msgs::ParseTableSceneResponse_<ContainerAllocator> > {
00374   static const char* value() 
00375   {
00376     return "e6f7cecbf270ab8d26931896b95a07de";
00377   }
00378 
00379   static const char* value(const r2_msgs::ParseTableSceneResponse_<ContainerAllocator> &) { return value(); } 
00380 };
00381 
00382 template<class ContainerAllocator>
00383 struct DataType<r2_msgs::ParseTableSceneResponse_<ContainerAllocator> > {
00384   static const char* value() 
00385   {
00386     return "r2_msgs/ParseTableScene";
00387   }
00388 
00389   static const char* value(const r2_msgs::ParseTableSceneResponse_<ContainerAllocator> &) { return value(); } 
00390 };
00391 
00392 } // namespace service_traits
00393 } // namespace ros
00394 
00395 #endif // R2_MSGS_SERVICE_PARSETABLESCENE_H
00396 


r2_msgs
Author(s): Paul Dinh
autogenerated on Fri Jan 3 2014 11:33:55