$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_interaction_primitives/msg/ClickablePositionsResult.msg */ 00002 #ifndef SRS_INTERACTION_PRIMITIVES_MESSAGE_CLICKABLEPOSITIONSRESULT_H 00003 #define SRS_INTERACTION_PRIMITIVES_MESSAGE_CLICKABLEPOSITIONSRESULT_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 "geometry_msgs/Point.h" 00018 00019 namespace srs_interaction_primitives 00020 { 00021 template <class ContainerAllocator> 00022 struct ClickablePositionsResult_ { 00023 typedef ClickablePositionsResult_<ContainerAllocator> Type; 00024 00025 ClickablePositionsResult_() 00026 : clicked_position() 00027 { 00028 } 00029 00030 ClickablePositionsResult_(const ContainerAllocator& _alloc) 00031 : clicked_position(_alloc) 00032 { 00033 } 00034 00035 typedef ::geometry_msgs::Point_<ContainerAllocator> _clicked_position_type; 00036 ::geometry_msgs::Point_<ContainerAllocator> clicked_position; 00037 00038 00039 private: 00040 static const char* __s_getDataType_() { return "srs_interaction_primitives/ClickablePositionsResult"; } 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 "e155d58102f604794c0c15ed43bac969"; } 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 geometry_msgs/Point clicked_position\n\ 00056 \n\ 00057 ================================================================================\n\ 00058 MSG: geometry_msgs/Point\n\ 00059 # This contains the position of a point in free space\n\ 00060 float64 x\n\ 00061 float64 y\n\ 00062 float64 z\n\ 00063 \n\ 00064 "; } 00065 public: 00066 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00067 00068 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00069 00070 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00071 { 00072 ros::serialization::OStream stream(write_ptr, 1000000000); 00073 ros::serialization::serialize(stream, clicked_position); 00074 return stream.getData(); 00075 } 00076 00077 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00078 { 00079 ros::serialization::IStream stream(read_ptr, 1000000000); 00080 ros::serialization::deserialize(stream, clicked_position); 00081 return stream.getData(); 00082 } 00083 00084 ROS_DEPRECATED virtual uint32_t serializationLength() const 00085 { 00086 uint32_t size = 0; 00087 size += ros::serialization::serializationLength(clicked_position); 00088 return size; 00089 } 00090 00091 typedef boost::shared_ptr< ::srs_interaction_primitives::ClickablePositionsResult_<ContainerAllocator> > Ptr; 00092 typedef boost::shared_ptr< ::srs_interaction_primitives::ClickablePositionsResult_<ContainerAllocator> const> ConstPtr; 00093 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00094 }; // struct ClickablePositionsResult 00095 typedef ::srs_interaction_primitives::ClickablePositionsResult_<std::allocator<void> > ClickablePositionsResult; 00096 00097 typedef boost::shared_ptr< ::srs_interaction_primitives::ClickablePositionsResult> ClickablePositionsResultPtr; 00098 typedef boost::shared_ptr< ::srs_interaction_primitives::ClickablePositionsResult const> ClickablePositionsResultConstPtr; 00099 00100 00101 template<typename ContainerAllocator> 00102 std::ostream& operator<<(std::ostream& s, const ::srs_interaction_primitives::ClickablePositionsResult_<ContainerAllocator> & v) 00103 { 00104 ros::message_operations::Printer< ::srs_interaction_primitives::ClickablePositionsResult_<ContainerAllocator> >::stream(s, "", v); 00105 return s;} 00106 00107 } // namespace srs_interaction_primitives 00108 00109 namespace ros 00110 { 00111 namespace message_traits 00112 { 00113 template<class ContainerAllocator> struct IsMessage< ::srs_interaction_primitives::ClickablePositionsResult_<ContainerAllocator> > : public TrueType {}; 00114 template<class ContainerAllocator> struct IsMessage< ::srs_interaction_primitives::ClickablePositionsResult_<ContainerAllocator> const> : public TrueType {}; 00115 template<class ContainerAllocator> 00116 struct MD5Sum< ::srs_interaction_primitives::ClickablePositionsResult_<ContainerAllocator> > { 00117 static const char* value() 00118 { 00119 return "e155d58102f604794c0c15ed43bac969"; 00120 } 00121 00122 static const char* value(const ::srs_interaction_primitives::ClickablePositionsResult_<ContainerAllocator> &) { return value(); } 00123 static const uint64_t static_value1 = 0xe155d58102f60479ULL; 00124 static const uint64_t static_value2 = 0x4c0c15ed43bac969ULL; 00125 }; 00126 00127 template<class ContainerAllocator> 00128 struct DataType< ::srs_interaction_primitives::ClickablePositionsResult_<ContainerAllocator> > { 00129 static const char* value() 00130 { 00131 return "srs_interaction_primitives/ClickablePositionsResult"; 00132 } 00133 00134 static const char* value(const ::srs_interaction_primitives::ClickablePositionsResult_<ContainerAllocator> &) { return value(); } 00135 }; 00136 00137 template<class ContainerAllocator> 00138 struct Definition< ::srs_interaction_primitives::ClickablePositionsResult_<ContainerAllocator> > { 00139 static const char* value() 00140 { 00141 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00142 geometry_msgs/Point clicked_position\n\ 00143 \n\ 00144 ================================================================================\n\ 00145 MSG: geometry_msgs/Point\n\ 00146 # This contains the position of a point in free space\n\ 00147 float64 x\n\ 00148 float64 y\n\ 00149 float64 z\n\ 00150 \n\ 00151 "; 00152 } 00153 00154 static const char* value(const ::srs_interaction_primitives::ClickablePositionsResult_<ContainerAllocator> &) { return value(); } 00155 }; 00156 00157 template<class ContainerAllocator> struct IsFixedSize< ::srs_interaction_primitives::ClickablePositionsResult_<ContainerAllocator> > : public TrueType {}; 00158 } // namespace message_traits 00159 } // namespace ros 00160 00161 namespace ros 00162 { 00163 namespace serialization 00164 { 00165 00166 template<class ContainerAllocator> struct Serializer< ::srs_interaction_primitives::ClickablePositionsResult_<ContainerAllocator> > 00167 { 00168 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00169 { 00170 stream.next(m.clicked_position); 00171 } 00172 00173 ROS_DECLARE_ALLINONE_SERIALIZER; 00174 }; // struct ClickablePositionsResult_ 00175 } // namespace serialization 00176 } // namespace ros 00177 00178 namespace ros 00179 { 00180 namespace message_operations 00181 { 00182 00183 template<class ContainerAllocator> 00184 struct Printer< ::srs_interaction_primitives::ClickablePositionsResult_<ContainerAllocator> > 00185 { 00186 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_interaction_primitives::ClickablePositionsResult_<ContainerAllocator> & v) 00187 { 00188 s << indent << "clicked_position: "; 00189 s << std::endl; 00190 Printer< ::geometry_msgs::Point_<ContainerAllocator> >::stream(s, indent + " ", v.clicked_position); 00191 } 00192 }; 00193 00194 00195 } // namespace message_operations 00196 } // namespace ros 00197 00198 #endif // SRS_INTERACTION_PRIMITIVES_MESSAGE_CLICKABLEPOSITIONSRESULT_H 00199