$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-srs_public/doc_stacks/2013-03-05_12-22-34.333426/srs_public/srs_assisted_arm_navigation_msgs/msg/ManualArmManipGoal.msg */ 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 private: 00054 static const char* __s_getDataType_() { return "srs_assisted_arm_navigation_msgs/ManualArmManipGoal"; } 00055 public: 00056 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00057 00058 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00059 00060 private: 00061 static const char* __s_getMD5Sum_() { return "f3a15b9c9a2e4fccc9f9cf1224d8b54d"; } 00062 public: 00063 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00064 00065 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00066 00067 private: 00068 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00069 # goal\n\ 00070 string action # description what to do\n\ 00071 string post_action # string which will be displayed after user finished task\n\ 00072 bool allow_repeat\n\ 00073 string object_name\n\ 00074 \n\ 00075 "; } 00076 public: 00077 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00078 00079 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00080 00081 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00082 { 00083 ros::serialization::OStream stream(write_ptr, 1000000000); 00084 ros::serialization::serialize(stream, action); 00085 ros::serialization::serialize(stream, post_action); 00086 ros::serialization::serialize(stream, allow_repeat); 00087 ros::serialization::serialize(stream, object_name); 00088 return stream.getData(); 00089 } 00090 00091 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00092 { 00093 ros::serialization::IStream stream(read_ptr, 1000000000); 00094 ros::serialization::deserialize(stream, action); 00095 ros::serialization::deserialize(stream, post_action); 00096 ros::serialization::deserialize(stream, allow_repeat); 00097 ros::serialization::deserialize(stream, object_name); 00098 return stream.getData(); 00099 } 00100 00101 ROS_DEPRECATED virtual uint32_t serializationLength() const 00102 { 00103 uint32_t size = 0; 00104 size += ros::serialization::serializationLength(action); 00105 size += ros::serialization::serializationLength(post_action); 00106 size += ros::serialization::serializationLength(allow_repeat); 00107 size += ros::serialization::serializationLength(object_name); 00108 return size; 00109 } 00110 00111 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> > Ptr; 00112 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> const> ConstPtr; 00113 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00114 }; // struct ManualArmManipGoal 00115 typedef ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<std::allocator<void> > ManualArmManipGoal; 00116 00117 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal> ManualArmManipGoalPtr; 00118 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal const> ManualArmManipGoalConstPtr; 00119 00120 00121 template<typename ContainerAllocator> 00122 std::ostream& operator<<(std::ostream& s, const ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> & v) 00123 { 00124 ros::message_operations::Printer< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> >::stream(s, "", v); 00125 return s;} 00126 00127 } // namespace srs_assisted_arm_navigation_msgs 00128 00129 namespace ros 00130 { 00131 namespace message_traits 00132 { 00133 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> > : public TrueType {}; 00134 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> const> : public TrueType {}; 00135 template<class ContainerAllocator> 00136 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> > { 00137 static const char* value() 00138 { 00139 return "f3a15b9c9a2e4fccc9f9cf1224d8b54d"; 00140 } 00141 00142 static const char* value(const ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> &) { return value(); } 00143 static const uint64_t static_value1 = 0xf3a15b9c9a2e4fccULL; 00144 static const uint64_t static_value2 = 0xc9f9cf1224d8b54dULL; 00145 }; 00146 00147 template<class ContainerAllocator> 00148 struct DataType< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> > { 00149 static const char* value() 00150 { 00151 return "srs_assisted_arm_navigation_msgs/ManualArmManipGoal"; 00152 } 00153 00154 static const char* value(const ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> &) { return value(); } 00155 }; 00156 00157 template<class ContainerAllocator> 00158 struct Definition< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> > { 00159 static const char* value() 00160 { 00161 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00162 # goal\n\ 00163 string action # description what to do\n\ 00164 string post_action # string which will be displayed after user finished task\n\ 00165 bool allow_repeat\n\ 00166 string object_name\n\ 00167 \n\ 00168 "; 00169 } 00170 00171 static const char* value(const ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> &) { return value(); } 00172 }; 00173 00174 } // namespace message_traits 00175 } // namespace ros 00176 00177 namespace ros 00178 { 00179 namespace serialization 00180 { 00181 00182 template<class ContainerAllocator> struct Serializer< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> > 00183 { 00184 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00185 { 00186 stream.next(m.action); 00187 stream.next(m.post_action); 00188 stream.next(m.allow_repeat); 00189 stream.next(m.object_name); 00190 } 00191 00192 ROS_DECLARE_ALLINONE_SERIALIZER; 00193 }; // struct ManualArmManipGoal_ 00194 } // namespace serialization 00195 } // namespace ros 00196 00197 namespace ros 00198 { 00199 namespace message_operations 00200 { 00201 00202 template<class ContainerAllocator> 00203 struct Printer< ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> > 00204 { 00205 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_assisted_arm_navigation_msgs::ManualArmManipGoal_<ContainerAllocator> & v) 00206 { 00207 s << indent << "action: "; 00208 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.action); 00209 s << indent << "post_action: "; 00210 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.post_action); 00211 s << indent << "allow_repeat: "; 00212 Printer<uint8_t>::stream(s, indent + " ", v.allow_repeat); 00213 s << indent << "object_name: "; 00214 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.object_name); 00215 } 00216 }; 00217 00218 00219 } // namespace message_operations 00220 } // namespace ros 00221 00222 #endif // SRS_ASSISTED_ARM_NAVIGATION_MSGS_MESSAGE_MANUALARMMANIPGOAL_H 00223