Go to the documentation of this file.00001
00002 #ifndef SRS_ASSISTED_ARM_NAVIGATION_MSGS_MESSAGE_MANUALARMMANIPGOAL_H
00003 #define SRS_ASSISTED_ARM_NAVIGATION_MSGS_MESSAGE_MANUALARMMANIPGOAL_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 srs_assisted_arm_navigation_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct ManualArmManipGoal_ {
00022 typedef ManualArmManipGoal_<ContainerAllocator> Type;
00023
00024 ManualArmManipGoal_()
00025 : action()
00026 , post_action()
00027 , allow_repeat(false)
00028 , object_name()
00029 {
00030 }
00031
00032 ManualArmManipGoal_(const ContainerAllocator& _alloc)
00033 : action(_alloc)
00034 , post_action(_alloc)
00035 , allow_repeat(false)
00036 , object_name(_alloc)
00037 {
00038 }
00039
00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _action_type;
00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > action;
00042
00043 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _post_action_type;
00044 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > post_action;
00045
00046 typedef uint8_t _allow_repeat_type;
00047 uint8_t allow_repeat;
00048
00049 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _object_name_type;
00050 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > object_name;
00051
00052
00053 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> > Ptr;
00054 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> const> ConstPtr;
00055 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 };
00057 typedef ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<std::allocator<void> > ManualArmManipGoal;
00058
00059 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal> ManualArmManipGoalPtr;
00060 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal const> ManualArmManipGoalConstPtr;
00061
00062
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> & v)
00065 {
00066 ros::message_operations::Printer< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> >::stream(s, "", v);
00067 return s;}
00068
00069 }
00070
00071 namespace ros
00072 {
00073 namespace message_traits
00074 {
00075 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> > {
00079 static const char* value()
00080 {
00081 return "f3a15b9c9a2e4fccc9f9cf1224d8b54d";
00082 }
00083
00084 static const char* value(const ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> &) { return value(); }
00085 static const uint64_t static_value1 = 0xf3a15b9c9a2e4fccULL;
00086 static const uint64_t static_value2 = 0xc9f9cf1224d8b54dULL;
00087 };
00088
00089 template<class ContainerAllocator>
00090 struct DataType< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> > {
00091 static const char* value()
00092 {
00093 return "srs_assisted_arm_navigation_msgs/ManualArmManipGoal";
00094 }
00095
00096 static const char* value(const ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> &) { return value(); }
00097 };
00098
00099 template<class ContainerAllocator>
00100 struct Definition< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00104 # goal\n\
00105 string action # description what to do\n\
00106 string post_action # string which will be displayed after user finished task\n\
00107 bool allow_repeat\n\
00108 string object_name\n\
00109 \n\
00110 ";
00111 }
00112
00113 static const char* value(const ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> &) { return value(); }
00114 };
00115
00116 }
00117 }
00118
00119 namespace ros
00120 {
00121 namespace serialization
00122 {
00123
00124 template<class ContainerAllocator> struct Serializer< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> >
00125 {
00126 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00127 {
00128 stream.next(m.action);
00129 stream.next(m.post_action);
00130 stream.next(m.allow_repeat);
00131 stream.next(m.object_name);
00132 }
00133
00134 ROS_DECLARE_ALLINONE_SERIALIZER;
00135 };
00136 }
00137 }
00138
00139 namespace ros
00140 {
00141 namespace message_operations
00142 {
00143
00144 template<class ContainerAllocator>
00145 struct Printer< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> >
00146 {
00147 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> & v)
00148 {
00149 s << indent << "action: ";
00150 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.action);
00151 s << indent << "post_action: ";
00152 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.post_action);
00153 s << indent << "allow_repeat: ";
00154 Printer<uint8_t>::stream(s, indent + " ", v.allow_repeat);
00155 s << indent << "object_name: ";
00156 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.object_name);
00157 }
00158 };
00159
00160
00161 }
00162 }
00163
00164 #endif // SRS_ASSISTED_ARM_NAVIGATION_MSGS_MESSAGE_MANUALARMMANIPGOAL_H
00165