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


hrl_clickable_world
Author(s): Kelsey Hawkins, Advisor: Prof. Charlie Kemp (Healthcare Robotics Lab at Georgia Tech)
autogenerated on Wed Nov 27 2013 11:54:29