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