ParseTableScene.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-nasa_r2_common/doc_stacks/2014-07-26_06-32-12.447217/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 
00054 template <class ContainerAllocator>
00055 struct ParseTableSceneResponse_ {
00056   typedef ParseTableSceneResponse_<ContainerAllocator> Type;
00057 
00058   ParseTableSceneResponse_()
00059   : table_found(false)
00060   , markers()
00061   {
00062   }
00063 
00064   ParseTableSceneResponse_(const ContainerAllocator& _alloc)
00065   : table_found(false)
00066   , markers(_alloc)
00067   {
00068   }
00069 
00070   typedef uint8_t _table_found_type;
00071   uint8_t table_found;
00072 
00073   typedef  ::visualization_msgs::MarkerArray_<ContainerAllocator>  _markers_type;
00074    ::visualization_msgs::MarkerArray_<ContainerAllocator>  markers;
00075 
00076 
00077   typedef boost::shared_ptr< ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator> > Ptr;
00078   typedef boost::shared_ptr< ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator>  const> ConstPtr;
00079   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00080 }; // struct ParseTableSceneResponse
00081 typedef  ::r2_msgs::ParseTableSceneResponse_<std::allocator<void> > ParseTableSceneResponse;
00082 
00083 typedef boost::shared_ptr< ::r2_msgs::ParseTableSceneResponse> ParseTableSceneResponsePtr;
00084 typedef boost::shared_ptr< ::r2_msgs::ParseTableSceneResponse const> ParseTableSceneResponseConstPtr;
00085 
00086 
00087 struct ParseTableScene
00088 {
00089 
00090 typedef ParseTableSceneRequest Request;
00091 typedef ParseTableSceneResponse Response;
00092 Request request;
00093 Response response;
00094 
00095 typedef Request RequestType;
00096 typedef Response ResponseType;
00097 }; // struct ParseTableScene
00098 } // namespace r2_msgs
00099 
00100 namespace ros
00101 {
00102 namespace message_traits
00103 {
00104 template<class ContainerAllocator> struct IsMessage< ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator> > : public TrueType {};
00105 template<class ContainerAllocator> struct IsMessage< ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator>  const> : public TrueType {};
00106 template<class ContainerAllocator>
00107 struct MD5Sum< ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator> > {
00108   static const char* value() 
00109   {
00110     return "fab6d5f499de320aad10749bce1f85cf";
00111   }
00112 
00113   static const char* value(const  ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator> &) { return value(); } 
00114   static const uint64_t static_value1 = 0xfab6d5f499de320aULL;
00115   static const uint64_t static_value2 = 0xad10749bce1f85cfULL;
00116 };
00117 
00118 template<class ContainerAllocator>
00119 struct DataType< ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator> > {
00120   static const char* value() 
00121   {
00122     return "r2_msgs/ParseTableSceneRequest";
00123   }
00124 
00125   static const char* value(const  ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator> &) { return value(); } 
00126 };
00127 
00128 template<class ContainerAllocator>
00129 struct Definition< ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator> > {
00130   static const char* value() 
00131   {
00132     return "bool cmd\n\
00133 \n\
00134 ";
00135   }
00136 
00137   static const char* value(const  ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator> &) { return value(); } 
00138 };
00139 
00140 template<class ContainerAllocator> struct IsFixedSize< ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator> > : public TrueType {};
00141 } // namespace message_traits
00142 } // namespace ros
00143 
00144 
00145 namespace ros
00146 {
00147 namespace message_traits
00148 {
00149 template<class ContainerAllocator> struct IsMessage< ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator> > : public TrueType {};
00150 template<class ContainerAllocator> struct IsMessage< ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator>  const> : public TrueType {};
00151 template<class ContainerAllocator>
00152 struct MD5Sum< ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator> > {
00153   static const char* value() 
00154   {
00155     return "566c52328a1e033030e9a47cba63ed0d";
00156   }
00157 
00158   static const char* value(const  ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator> &) { return value(); } 
00159   static const uint64_t static_value1 = 0x566c52328a1e0330ULL;
00160   static const uint64_t static_value2 = 0x30e9a47cba63ed0dULL;
00161 };
00162 
00163 template<class ContainerAllocator>
00164 struct DataType< ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator> > {
00165   static const char* value() 
00166   {
00167     return "r2_msgs/ParseTableSceneResponse";
00168   }
00169 
00170   static const char* value(const  ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator> &) { return value(); } 
00171 };
00172 
00173 template<class ContainerAllocator>
00174 struct Definition< ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator> > {
00175   static const char* value() 
00176   {
00177     return "bool table_found\n\
00178 visualization_msgs/MarkerArray markers\n\
00179 \n\
00180 \n\
00181 ================================================================================\n\
00182 MSG: visualization_msgs/MarkerArray\n\
00183 Marker[] markers\n\
00184 \n\
00185 ================================================================================\n\
00186 MSG: visualization_msgs/Marker\n\
00187 # 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\
00188 \n\
00189 uint8 ARROW=0\n\
00190 uint8 CUBE=1\n\
00191 uint8 SPHERE=2\n\
00192 uint8 CYLINDER=3\n\
00193 uint8 LINE_STRIP=4\n\
00194 uint8 LINE_LIST=5\n\
00195 uint8 CUBE_LIST=6\n\
00196 uint8 SPHERE_LIST=7\n\
00197 uint8 POINTS=8\n\
00198 uint8 TEXT_VIEW_FACING=9\n\
00199 uint8 MESH_RESOURCE=10\n\
00200 uint8 TRIANGLE_LIST=11\n\
00201 \n\
00202 uint8 ADD=0\n\
00203 uint8 MODIFY=0\n\
00204 uint8 DELETE=2\n\
00205 \n\
00206 Header header                        # header for time/frame information\n\
00207 string ns                            # Namespace to place this object in... used in conjunction with id to create a unique name for the object\n\
00208 int32 id                                         # object ID useful in conjunction with the namespace for manipulating and deleting the object later\n\
00209 int32 type                                     # Type of object\n\
00210 int32 action                           # 0 add/modify an object, 1 (deprecated), 2 deletes an object\n\
00211 geometry_msgs/Pose pose                 # Pose of the object\n\
00212 geometry_msgs/Vector3 scale             # Scale of the object 1,1,1 means default (usually 1 meter square)\n\
00213 std_msgs/ColorRGBA color             # Color [0.0-1.0]\n\
00214 duration lifetime                    # How long the object should last before being automatically deleted.  0 means forever\n\
00215 bool frame_locked                    # If this marker should be frame-locked, i.e. retransformed into its frame every timestep\n\
00216 \n\
00217 #Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n\
00218 geometry_msgs/Point[] points\n\
00219 #Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n\
00220 #number of colors must either be 0 or equal to the number of points\n\
00221 #NOTE: alpha is not yet used\n\
00222 std_msgs/ColorRGBA[] colors\n\
00223 \n\
00224 # NOTE: only used for text markers\n\
00225 string text\n\
00226 \n\
00227 # NOTE: only used for MESH_RESOURCE markers\n\
00228 string mesh_resource\n\
00229 bool mesh_use_embedded_materials\n\
00230 \n\
00231 ================================================================================\n\
00232 MSG: std_msgs/Header\n\
00233 # Standard metadata for higher-level stamped data types.\n\
00234 # This is generally used to communicate timestamped data \n\
00235 # in a particular coordinate frame.\n\
00236 # \n\
00237 # sequence ID: consecutively increasing ID \n\
00238 uint32 seq\n\
00239 #Two-integer timestamp that is expressed as:\n\
00240 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00241 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00242 # time-handling sugar is provided by the client library\n\
00243 time stamp\n\
00244 #Frame this data is associated with\n\
00245 # 0: no frame\n\
00246 # 1: global frame\n\
00247 string frame_id\n\
00248 \n\
00249 ================================================================================\n\
00250 MSG: geometry_msgs/Pose\n\
00251 # A representation of pose in free space, composed of postion and orientation. \n\
00252 Point position\n\
00253 Quaternion orientation\n\
00254 \n\
00255 ================================================================================\n\
00256 MSG: geometry_msgs/Point\n\
00257 # This contains the position of a point in free space\n\
00258 float64 x\n\
00259 float64 y\n\
00260 float64 z\n\
00261 \n\
00262 ================================================================================\n\
00263 MSG: geometry_msgs/Quaternion\n\
00264 # This represents an orientation in free space in quaternion form.\n\
00265 \n\
00266 float64 x\n\
00267 float64 y\n\
00268 float64 z\n\
00269 float64 w\n\
00270 \n\
00271 ================================================================================\n\
00272 MSG: geometry_msgs/Vector3\n\
00273 # This represents a vector in free space. \n\
00274 \n\
00275 float64 x\n\
00276 float64 y\n\
00277 float64 z\n\
00278 ================================================================================\n\
00279 MSG: std_msgs/ColorRGBA\n\
00280 float32 r\n\
00281 float32 g\n\
00282 float32 b\n\
00283 float32 a\n\
00284 \n\
00285 ";
00286   }
00287 
00288   static const char* value(const  ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator> &) { return value(); } 
00289 };
00290 
00291 } // namespace message_traits
00292 } // namespace ros
00293 
00294 namespace ros
00295 {
00296 namespace serialization
00297 {
00298 
00299 template<class ContainerAllocator> struct Serializer< ::r2_msgs::ParseTableSceneRequest_<ContainerAllocator> >
00300 {
00301   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00302   {
00303     stream.next(m.cmd);
00304   }
00305 
00306   ROS_DECLARE_ALLINONE_SERIALIZER;
00307 }; // struct ParseTableSceneRequest_
00308 } // namespace serialization
00309 } // namespace ros
00310 
00311 
00312 namespace ros
00313 {
00314 namespace serialization
00315 {
00316 
00317 template<class ContainerAllocator> struct Serializer< ::r2_msgs::ParseTableSceneResponse_<ContainerAllocator> >
00318 {
00319   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00320   {
00321     stream.next(m.table_found);
00322     stream.next(m.markers);
00323   }
00324 
00325   ROS_DECLARE_ALLINONE_SERIALIZER;
00326 }; // struct ParseTableSceneResponse_
00327 } // namespace serialization
00328 } // namespace ros
00329 
00330 namespace ros
00331 {
00332 namespace service_traits
00333 {
00334 template<>
00335 struct MD5Sum<r2_msgs::ParseTableScene> {
00336   static const char* value() 
00337   {
00338     return "e6f7cecbf270ab8d26931896b95a07de";
00339   }
00340 
00341   static const char* value(const r2_msgs::ParseTableScene&) { return value(); } 
00342 };
00343 
00344 template<>
00345 struct DataType<r2_msgs::ParseTableScene> {
00346   static const char* value() 
00347   {
00348     return "r2_msgs/ParseTableScene";
00349   }
00350 
00351   static const char* value(const r2_msgs::ParseTableScene&) { return value(); } 
00352 };
00353 
00354 template<class ContainerAllocator>
00355 struct MD5Sum<r2_msgs::ParseTableSceneRequest_<ContainerAllocator> > {
00356   static const char* value() 
00357   {
00358     return "e6f7cecbf270ab8d26931896b95a07de";
00359   }
00360 
00361   static const char* value(const r2_msgs::ParseTableSceneRequest_<ContainerAllocator> &) { return value(); } 
00362 };
00363 
00364 template<class ContainerAllocator>
00365 struct DataType<r2_msgs::ParseTableSceneRequest_<ContainerAllocator> > {
00366   static const char* value() 
00367   {
00368     return "r2_msgs/ParseTableScene";
00369   }
00370 
00371   static const char* value(const r2_msgs::ParseTableSceneRequest_<ContainerAllocator> &) { return value(); } 
00372 };
00373 
00374 template<class ContainerAllocator>
00375 struct MD5Sum<r2_msgs::ParseTableSceneResponse_<ContainerAllocator> > {
00376   static const char* value() 
00377   {
00378     return "e6f7cecbf270ab8d26931896b95a07de";
00379   }
00380 
00381   static const char* value(const r2_msgs::ParseTableSceneResponse_<ContainerAllocator> &) { return value(); } 
00382 };
00383 
00384 template<class ContainerAllocator>
00385 struct DataType<r2_msgs::ParseTableSceneResponse_<ContainerAllocator> > {
00386   static const char* value() 
00387   {
00388     return "r2_msgs/ParseTableScene";
00389   }
00390 
00391   static const char* value(const r2_msgs::ParseTableSceneResponse_<ContainerAllocator> &) { return value(); } 
00392 };
00393 
00394 } // namespace service_traits
00395 } // namespace ros
00396 
00397 #endif // R2_MSGS_SERVICE_PARSETABLESCENE_H
00398 


r2_msgs
Author(s): Paul Dinh
autogenerated on Sat Jul 26 2014 06:34:21