Go to the documentation of this file.00001
00002 #ifndef TIDYUP_MSGS_MESSAGE_GRASPOBJECTGOAL_H
00003 #define TIDYUP_MSGS_MESSAGE_GRASPOBJECTGOAL_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 tidyup_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct GraspObjectGoal_ {
00022 typedef GraspObjectGoal_<ContainerAllocator> Type;
00023
00024 GraspObjectGoal_()
00025 : static_object()
00026 , pickup_object()
00027 , arm()
00028 {
00029 }
00030
00031 GraspObjectGoal_(const ContainerAllocator& _alloc)
00032 : static_object(_alloc)
00033 , pickup_object(_alloc)
00034 , arm(_alloc)
00035 {
00036 }
00037
00038 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _static_object_type;
00039 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > static_object;
00040
00041 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _pickup_object_type;
00042 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > pickup_object;
00043
00044 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _arm_type;
00045 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > arm;
00046
00047
00048 typedef boost::shared_ptr< ::tidyup_msgs::GraspObjectGoal_<ContainerAllocator> > Ptr;
00049 typedef boost::shared_ptr< ::tidyup_msgs::GraspObjectGoal_<ContainerAllocator> const> ConstPtr;
00050 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 };
00052 typedef ::tidyup_msgs::GraspObjectGoal_<std::allocator<void> > GraspObjectGoal;
00053
00054 typedef boost::shared_ptr< ::tidyup_msgs::GraspObjectGoal> GraspObjectGoalPtr;
00055 typedef boost::shared_ptr< ::tidyup_msgs::GraspObjectGoal const> GraspObjectGoalConstPtr;
00056
00057
00058 template<typename ContainerAllocator>
00059 std::ostream& operator<<(std::ostream& s, const ::tidyup_msgs::GraspObjectGoal_<ContainerAllocator> & v)
00060 {
00061 ros::message_operations::Printer< ::tidyup_msgs::GraspObjectGoal_<ContainerAllocator> >::stream(s, "", v);
00062 return s;}
00063
00064 }
00065
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070 template<class ContainerAllocator> struct IsMessage< ::tidyup_msgs::GraspObjectGoal_<ContainerAllocator> > : public TrueType {};
00071 template<class ContainerAllocator> struct IsMessage< ::tidyup_msgs::GraspObjectGoal_<ContainerAllocator> const> : public TrueType {};
00072 template<class ContainerAllocator>
00073 struct MD5Sum< ::tidyup_msgs::GraspObjectGoal_<ContainerAllocator> > {
00074 static const char* value()
00075 {
00076 return "d17e6c8ba44ac6917ffffc684d4d137c";
00077 }
00078
00079 static const char* value(const ::tidyup_msgs::GraspObjectGoal_<ContainerAllocator> &) { return value(); }
00080 static const uint64_t static_value1 = 0xd17e6c8ba44ac691ULL;
00081 static const uint64_t static_value2 = 0x7ffffc684d4d137cULL;
00082 };
00083
00084 template<class ContainerAllocator>
00085 struct DataType< ::tidyup_msgs::GraspObjectGoal_<ContainerAllocator> > {
00086 static const char* value()
00087 {
00088 return "tidyup_msgs/GraspObjectGoal";
00089 }
00090
00091 static const char* value(const ::tidyup_msgs::GraspObjectGoal_<ContainerAllocator> &) { return value(); }
00092 };
00093
00094 template<class ContainerAllocator>
00095 struct Definition< ::tidyup_msgs::GraspObjectGoal_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00099 # name of the table or shelf \n\
00100 string static_object\n\
00101 # name of the object to pickup\n\
00102 string pickup_object\n\
00103 # name of the arm, which holds the object\n\
00104 string arm\n\
00105 \n\
00106 ";
00107 }
00108
00109 static const char* value(const ::tidyup_msgs::GraspObjectGoal_<ContainerAllocator> &) { return value(); }
00110 };
00111
00112 }
00113 }
00114
00115 namespace ros
00116 {
00117 namespace serialization
00118 {
00119
00120 template<class ContainerAllocator> struct Serializer< ::tidyup_msgs::GraspObjectGoal_<ContainerAllocator> >
00121 {
00122 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00123 {
00124 stream.next(m.static_object);
00125 stream.next(m.pickup_object);
00126 stream.next(m.arm);
00127 }
00128
00129 ROS_DECLARE_ALLINONE_SERIALIZER;
00130 };
00131 }
00132 }
00133
00134 namespace ros
00135 {
00136 namespace message_operations
00137 {
00138
00139 template<class ContainerAllocator>
00140 struct Printer< ::tidyup_msgs::GraspObjectGoal_<ContainerAllocator> >
00141 {
00142 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::tidyup_msgs::GraspObjectGoal_<ContainerAllocator> & v)
00143 {
00144 s << indent << "static_object: ";
00145 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.static_object);
00146 s << indent << "pickup_object: ";
00147 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.pickup_object);
00148 s << indent << "arm: ";
00149 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.arm);
00150 }
00151 };
00152
00153
00154 }
00155 }
00156
00157 #endif // TIDYUP_MSGS_MESSAGE_GRASPOBJECTGOAL_H
00158