$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-pr2_object_manipulation/doc_stacks/2013-03-05_12-10-38.333207/pr2_object_manipulation/applications/pr2_interactive_object_detection/msg/UserCommandFeedback.msg */ 00002 #ifndef PR2_INTERACTIVE_OBJECT_DETECTION_MESSAGE_USERCOMMANDFEEDBACK_H 00003 #define PR2_INTERACTIVE_OBJECT_DETECTION_MESSAGE_USERCOMMANDFEEDBACK_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 pr2_interactive_object_detection 00019 { 00020 template <class ContainerAllocator> 00021 struct UserCommandFeedback_ { 00022 typedef UserCommandFeedback_<ContainerAllocator> Type; 00023 00024 UserCommandFeedback_() 00025 : status() 00026 { 00027 } 00028 00029 UserCommandFeedback_(const ContainerAllocator& _alloc) 00030 : status(_alloc) 00031 { 00032 } 00033 00034 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _status_type; 00035 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > status; 00036 00037 00038 private: 00039 static const char* __s_getDataType_() { return "pr2_interactive_object_detection/UserCommandFeedback"; } 00040 public: 00041 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00042 00043 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00044 00045 private: 00046 static const char* __s_getMD5Sum_() { return "4fe5af303955c287688e7347e9b00278"; } 00047 public: 00048 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00049 00050 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00051 00052 private: 00053 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00054 #feedback in the form of a status string\n\ 00055 string status\n\ 00056 \n\ 00057 \n\ 00058 "; } 00059 public: 00060 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00061 00062 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00063 00064 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00065 { 00066 ros::serialization::OStream stream(write_ptr, 1000000000); 00067 ros::serialization::serialize(stream, status); 00068 return stream.getData(); 00069 } 00070 00071 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00072 { 00073 ros::serialization::IStream stream(read_ptr, 1000000000); 00074 ros::serialization::deserialize(stream, status); 00075 return stream.getData(); 00076 } 00077 00078 ROS_DEPRECATED virtual uint32_t serializationLength() const 00079 { 00080 uint32_t size = 0; 00081 size += ros::serialization::serializationLength(status); 00082 return size; 00083 } 00084 00085 typedef boost::shared_ptr< ::pr2_interactive_object_detection::UserCommandFeedback_<ContainerAllocator> > Ptr; 00086 typedef boost::shared_ptr< ::pr2_interactive_object_detection::UserCommandFeedback_<ContainerAllocator> const> ConstPtr; 00087 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00088 }; // struct UserCommandFeedback 00089 typedef ::pr2_interactive_object_detection::UserCommandFeedback_<std::allocator<void> > UserCommandFeedback; 00090 00091 typedef boost::shared_ptr< ::pr2_interactive_object_detection::UserCommandFeedback> UserCommandFeedbackPtr; 00092 typedef boost::shared_ptr< ::pr2_interactive_object_detection::UserCommandFeedback const> UserCommandFeedbackConstPtr; 00093 00094 00095 template<typename ContainerAllocator> 00096 std::ostream& operator<<(std::ostream& s, const ::pr2_interactive_object_detection::UserCommandFeedback_<ContainerAllocator> & v) 00097 { 00098 ros::message_operations::Printer< ::pr2_interactive_object_detection::UserCommandFeedback_<ContainerAllocator> >::stream(s, "", v); 00099 return s;} 00100 00101 } // namespace pr2_interactive_object_detection 00102 00103 namespace ros 00104 { 00105 namespace message_traits 00106 { 00107 template<class ContainerAllocator> struct IsMessage< ::pr2_interactive_object_detection::UserCommandFeedback_<ContainerAllocator> > : public TrueType {}; 00108 template<class ContainerAllocator> struct IsMessage< ::pr2_interactive_object_detection::UserCommandFeedback_<ContainerAllocator> const> : public TrueType {}; 00109 template<class ContainerAllocator> 00110 struct MD5Sum< ::pr2_interactive_object_detection::UserCommandFeedback_<ContainerAllocator> > { 00111 static const char* value() 00112 { 00113 return "4fe5af303955c287688e7347e9b00278"; 00114 } 00115 00116 static const char* value(const ::pr2_interactive_object_detection::UserCommandFeedback_<ContainerAllocator> &) { return value(); } 00117 static const uint64_t static_value1 = 0x4fe5af303955c287ULL; 00118 static const uint64_t static_value2 = 0x688e7347e9b00278ULL; 00119 }; 00120 00121 template<class ContainerAllocator> 00122 struct DataType< ::pr2_interactive_object_detection::UserCommandFeedback_<ContainerAllocator> > { 00123 static const char* value() 00124 { 00125 return "pr2_interactive_object_detection/UserCommandFeedback"; 00126 } 00127 00128 static const char* value(const ::pr2_interactive_object_detection::UserCommandFeedback_<ContainerAllocator> &) { return value(); } 00129 }; 00130 00131 template<class ContainerAllocator> 00132 struct Definition< ::pr2_interactive_object_detection::UserCommandFeedback_<ContainerAllocator> > { 00133 static const char* value() 00134 { 00135 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00136 #feedback in the form of a status string\n\ 00137 string status\n\ 00138 \n\ 00139 \n\ 00140 "; 00141 } 00142 00143 static const char* value(const ::pr2_interactive_object_detection::UserCommandFeedback_<ContainerAllocator> &) { return value(); } 00144 }; 00145 00146 } // namespace message_traits 00147 } // namespace ros 00148 00149 namespace ros 00150 { 00151 namespace serialization 00152 { 00153 00154 template<class ContainerAllocator> struct Serializer< ::pr2_interactive_object_detection::UserCommandFeedback_<ContainerAllocator> > 00155 { 00156 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00157 { 00158 stream.next(m.status); 00159 } 00160 00161 ROS_DECLARE_ALLINONE_SERIALIZER; 00162 }; // struct UserCommandFeedback_ 00163 } // namespace serialization 00164 } // namespace ros 00165 00166 namespace ros 00167 { 00168 namespace message_operations 00169 { 00170 00171 template<class ContainerAllocator> 00172 struct Printer< ::pr2_interactive_object_detection::UserCommandFeedback_<ContainerAllocator> > 00173 { 00174 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_interactive_object_detection::UserCommandFeedback_<ContainerAllocator> & v) 00175 { 00176 s << indent << "status: "; 00177 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.status); 00178 } 00179 }; 00180 00181 00182 } // namespace message_operations 00183 } // namespace ros 00184 00185 #endif // PR2_INTERACTIVE_OBJECT_DETECTION_MESSAGE_USERCOMMANDFEEDBACK_H 00186