PickupIMObjectGoal.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-pr2_object_manipulation/doc_stacks/2014-10-06_11-30-38.833395/pr2_object_manipulation/manipulation/pr2_object_manipulation_msgs/msg/PickupIMObjectGoal.msg */
00002 #ifndef PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_PICKUPIMOBJECTGOAL_H
00003 #define PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_PICKUPIMOBJECTGOAL_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 
00018 namespace pr2_object_manipulation_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct PickupIMObjectGoal_ {
00022   typedef PickupIMObjectGoal_<ContainerAllocator> Type;
00023 
00024   PickupIMObjectGoal_()
00025   : object_id(0)
00026   , arm_selection(0)
00027   {
00028   }
00029 
00030   PickupIMObjectGoal_(const ContainerAllocator& _alloc)
00031   : object_id(0)
00032   , arm_selection(0)
00033   {
00034   }
00035 
00036   typedef int32_t _object_id_type;
00037   int32_t object_id;
00038 
00039   typedef int32_t _arm_selection_type;
00040   int32_t arm_selection;
00041 
00042 
00043   typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::PickupIMObjectGoal_<ContainerAllocator> > Ptr;
00044   typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::PickupIMObjectGoal_<ContainerAllocator>  const> ConstPtr;
00045   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 }; // struct PickupIMObjectGoal
00047 typedef  ::pr2_object_manipulation_msgs::PickupIMObjectGoal_<std::allocator<void> > PickupIMObjectGoal;
00048 
00049 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::PickupIMObjectGoal> PickupIMObjectGoalPtr;
00050 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::PickupIMObjectGoal const> PickupIMObjectGoalConstPtr;
00051 
00052 
00053 template<typename ContainerAllocator>
00054 std::ostream& operator<<(std::ostream& s, const  ::pr2_object_manipulation_msgs::PickupIMObjectGoal_<ContainerAllocator> & v)
00055 {
00056   ros::message_operations::Printer< ::pr2_object_manipulation_msgs::PickupIMObjectGoal_<ContainerAllocator> >::stream(s, "", v);
00057   return s;}
00058 
00059 } // namespace pr2_object_manipulation_msgs
00060 
00061 namespace ros
00062 {
00063 namespace message_traits
00064 {
00065 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::PickupIMObjectGoal_<ContainerAllocator> > : public TrueType {};
00066 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::PickupIMObjectGoal_<ContainerAllocator>  const> : public TrueType {};
00067 template<class ContainerAllocator>
00068 struct MD5Sum< ::pr2_object_manipulation_msgs::PickupIMObjectGoal_<ContainerAllocator> > {
00069   static const char* value() 
00070   {
00071     return "b29a6fd5c44bf0fff02b43d05cc1ffae";
00072   }
00073 
00074   static const char* value(const  ::pr2_object_manipulation_msgs::PickupIMObjectGoal_<ContainerAllocator> &) { return value(); } 
00075   static const uint64_t static_value1 = 0xb29a6fd5c44bf0ffULL;
00076   static const uint64_t static_value2 = 0xf02b43d05cc1ffaeULL;
00077 };
00078 
00079 template<class ContainerAllocator>
00080 struct DataType< ::pr2_object_manipulation_msgs::PickupIMObjectGoal_<ContainerAllocator> > {
00081   static const char* value() 
00082   {
00083     return "pr2_object_manipulation_msgs/PickupIMObjectGoal";
00084   }
00085 
00086   static const char* value(const  ::pr2_object_manipulation_msgs::PickupIMObjectGoal_<ContainerAllocator> &) { return value(); } 
00087 };
00088 
00089 template<class ContainerAllocator>
00090 struct Definition< ::pr2_object_manipulation_msgs::PickupIMObjectGoal_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00094 # objects are numbered in the same order as the GraspableObjectsList (0 start)\n\
00095 int32 object_id\n\
00096 \n\
00097 # 0=right, 1=left arm\n\
00098 int32 arm_selection\n\
00099 \n\
00100 \n\
00101 ";
00102   }
00103 
00104   static const char* value(const  ::pr2_object_manipulation_msgs::PickupIMObjectGoal_<ContainerAllocator> &) { return value(); } 
00105 };
00106 
00107 template<class ContainerAllocator> struct IsFixedSize< ::pr2_object_manipulation_msgs::PickupIMObjectGoal_<ContainerAllocator> > : public TrueType {};
00108 } // namespace message_traits
00109 } // namespace ros
00110 
00111 namespace ros
00112 {
00113 namespace serialization
00114 {
00115 
00116 template<class ContainerAllocator> struct Serializer< ::pr2_object_manipulation_msgs::PickupIMObjectGoal_<ContainerAllocator> >
00117 {
00118   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00119   {
00120     stream.next(m.object_id);
00121     stream.next(m.arm_selection);
00122   }
00123 
00124   ROS_DECLARE_ALLINONE_SERIALIZER;
00125 }; // struct PickupIMObjectGoal_
00126 } // namespace serialization
00127 } // namespace ros
00128 
00129 namespace ros
00130 {
00131 namespace message_operations
00132 {
00133 
00134 template<class ContainerAllocator>
00135 struct Printer< ::pr2_object_manipulation_msgs::PickupIMObjectGoal_<ContainerAllocator> >
00136 {
00137   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_object_manipulation_msgs::PickupIMObjectGoal_<ContainerAllocator> & v) 
00138   {
00139     s << indent << "object_id: ";
00140     Printer<int32_t>::stream(s, indent + "  ", v.object_id);
00141     s << indent << "arm_selection: ";
00142     Printer<int32_t>::stream(s, indent + "  ", v.arm_selection);
00143   }
00144 };
00145 
00146 
00147 } // namespace message_operations
00148 } // namespace ros
00149 
00150 #endif // PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_PICKUPIMOBJECTGOAL_H
00151 


pr2_object_manipulation_msgs
Author(s): Matei Ciocarlie
autogenerated on Mon Oct 6 2014 11:55:21