$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-object_manipulation/doc_stacks/2013-03-01_16-13-18.345538/object_manipulation/object_manipulation_msgs/msg/ReactivePlaceFeedback.msg */ 00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVEPLACEFEEDBACK_H 00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVEPLACEFEEDBACK_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 "object_manipulation_msgs/ManipulationPhase.h" 00018 00019 namespace object_manipulation_msgs 00020 { 00021 template <class ContainerAllocator> 00022 struct ReactivePlaceFeedback_ { 00023 typedef ReactivePlaceFeedback_<ContainerAllocator> Type; 00024 00025 ReactivePlaceFeedback_() 00026 : manipulation_phase() 00027 { 00028 } 00029 00030 ReactivePlaceFeedback_(const ContainerAllocator& _alloc) 00031 : manipulation_phase(_alloc) 00032 { 00033 } 00034 00035 typedef ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> _manipulation_phase_type; 00036 ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> manipulation_phase; 00037 00038 00039 private: 00040 static const char* __s_getDataType_() { return "object_manipulation_msgs/ReactivePlaceFeedback"; } 00041 public: 00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00043 00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00045 00046 private: 00047 static const char* __s_getMD5Sum_() { return "f5854fd8810580aa0bc24d4d76384836"; } 00048 public: 00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00050 00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00052 00053 private: 00054 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00055 \n\ 00056 # which phase the place is in\n\ 00057 \n\ 00058 ManipulationPhase manipulation_phase\n\ 00059 \n\ 00060 \n\ 00061 ================================================================================\n\ 00062 MSG: object_manipulation_msgs/ManipulationPhase\n\ 00063 int32 CHECKING_FEASIBILITY = 0\n\ 00064 int32 MOVING_TO_PREGRASP = 1\n\ 00065 int32 MOVING_TO_GRASP = 2\n\ 00066 int32 CLOSING = 3 \n\ 00067 int32 ADJUSTING_GRASP = 4\n\ 00068 int32 LIFTING = 5\n\ 00069 int32 MOVING_WITH_OBJECT = 6\n\ 00070 int32 MOVING_TO_PLACE = 7\n\ 00071 int32 PLACING = 8\n\ 00072 int32 OPENING = 9\n\ 00073 int32 RETREATING = 10\n\ 00074 int32 MOVING_WITHOUT_OBJECT = 11\n\ 00075 int32 SHAKING = 12\n\ 00076 int32 SUCCEEDED = 13\n\ 00077 int32 FAILED = 14\n\ 00078 int32 ABORTED = 15\n\ 00079 int32 HOLDING_OBJECT = 16\n\ 00080 \n\ 00081 int32 phase\n\ 00082 "; } 00083 public: 00084 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00085 00086 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00087 00088 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00089 { 00090 ros::serialization::OStream stream(write_ptr, 1000000000); 00091 ros::serialization::serialize(stream, manipulation_phase); 00092 return stream.getData(); 00093 } 00094 00095 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00096 { 00097 ros::serialization::IStream stream(read_ptr, 1000000000); 00098 ros::serialization::deserialize(stream, manipulation_phase); 00099 return stream.getData(); 00100 } 00101 00102 ROS_DEPRECATED virtual uint32_t serializationLength() const 00103 { 00104 uint32_t size = 0; 00105 size += ros::serialization::serializationLength(manipulation_phase); 00106 return size; 00107 } 00108 00109 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> > Ptr; 00110 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> const> ConstPtr; 00111 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00112 }; // struct ReactivePlaceFeedback 00113 typedef ::object_manipulation_msgs::ReactivePlaceFeedback_<std::allocator<void> > ReactivePlaceFeedback; 00114 00115 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactivePlaceFeedback> ReactivePlaceFeedbackPtr; 00116 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactivePlaceFeedback const> ReactivePlaceFeedbackConstPtr; 00117 00118 00119 template<typename ContainerAllocator> 00120 std::ostream& operator<<(std::ostream& s, const ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> & v) 00121 { 00122 ros::message_operations::Printer< ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> >::stream(s, "", v); 00123 return s;} 00124 00125 } // namespace object_manipulation_msgs 00126 00127 namespace ros 00128 { 00129 namespace message_traits 00130 { 00131 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> > : public TrueType {}; 00132 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> const> : public TrueType {}; 00133 template<class ContainerAllocator> 00134 struct MD5Sum< ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> > { 00135 static const char* value() 00136 { 00137 return "f5854fd8810580aa0bc24d4d76384836"; 00138 } 00139 00140 static const char* value(const ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> &) { return value(); } 00141 static const uint64_t static_value1 = 0xf5854fd8810580aaULL; 00142 static const uint64_t static_value2 = 0x0bc24d4d76384836ULL; 00143 }; 00144 00145 template<class ContainerAllocator> 00146 struct DataType< ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> > { 00147 static const char* value() 00148 { 00149 return "object_manipulation_msgs/ReactivePlaceFeedback"; 00150 } 00151 00152 static const char* value(const ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> &) { return value(); } 00153 }; 00154 00155 template<class ContainerAllocator> 00156 struct Definition< ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> > { 00157 static const char* value() 00158 { 00159 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00160 \n\ 00161 # which phase the place is in\n\ 00162 \n\ 00163 ManipulationPhase manipulation_phase\n\ 00164 \n\ 00165 \n\ 00166 ================================================================================\n\ 00167 MSG: object_manipulation_msgs/ManipulationPhase\n\ 00168 int32 CHECKING_FEASIBILITY = 0\n\ 00169 int32 MOVING_TO_PREGRASP = 1\n\ 00170 int32 MOVING_TO_GRASP = 2\n\ 00171 int32 CLOSING = 3 \n\ 00172 int32 ADJUSTING_GRASP = 4\n\ 00173 int32 LIFTING = 5\n\ 00174 int32 MOVING_WITH_OBJECT = 6\n\ 00175 int32 MOVING_TO_PLACE = 7\n\ 00176 int32 PLACING = 8\n\ 00177 int32 OPENING = 9\n\ 00178 int32 RETREATING = 10\n\ 00179 int32 MOVING_WITHOUT_OBJECT = 11\n\ 00180 int32 SHAKING = 12\n\ 00181 int32 SUCCEEDED = 13\n\ 00182 int32 FAILED = 14\n\ 00183 int32 ABORTED = 15\n\ 00184 int32 HOLDING_OBJECT = 16\n\ 00185 \n\ 00186 int32 phase\n\ 00187 "; 00188 } 00189 00190 static const char* value(const ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> &) { return value(); } 00191 }; 00192 00193 template<class ContainerAllocator> struct IsFixedSize< ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> > : public TrueType {}; 00194 } // namespace message_traits 00195 } // namespace ros 00196 00197 namespace ros 00198 { 00199 namespace serialization 00200 { 00201 00202 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> > 00203 { 00204 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00205 { 00206 stream.next(m.manipulation_phase); 00207 } 00208 00209 ROS_DECLARE_ALLINONE_SERIALIZER; 00210 }; // struct ReactivePlaceFeedback_ 00211 } // namespace serialization 00212 } // namespace ros 00213 00214 namespace ros 00215 { 00216 namespace message_operations 00217 { 00218 00219 template<class ContainerAllocator> 00220 struct Printer< ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> > 00221 { 00222 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::object_manipulation_msgs::ReactivePlaceFeedback_<ContainerAllocator> & v) 00223 { 00224 s << indent << "manipulation_phase: "; 00225 s << std::endl; 00226 Printer< ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> >::stream(s, indent + " ", v.manipulation_phase); 00227 } 00228 }; 00229 00230 00231 } // namespace message_operations 00232 } // namespace ros 00233 00234 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVEPLACEFEEDBACK_H 00235