$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/ClickablePositionsActionGoal.msg */ 00002 #ifndef SRS_INTERACTION_PRIMITIVES_MESSAGE_CLICKABLEPOSITIONSACTIONGOAL_H 00003 #define SRS_INTERACTION_PRIMITIVES_MESSAGE_CLICKABLEPOSITIONSACTIONGOAL_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 "std_msgs/Header.h" 00018 #include "actionlib_msgs/GoalID.h" 00019 #include "srs_interaction_primitives/ClickablePositionsGoal.h" 00020 00021 namespace srs_interaction_primitives 00022 { 00023 template <class ContainerAllocator> 00024 struct ClickablePositionsActionGoal_ { 00025 typedef ClickablePositionsActionGoal_<ContainerAllocator> Type; 00026 00027 ClickablePositionsActionGoal_() 00028 : header() 00029 , goal_id() 00030 , goal() 00031 { 00032 } 00033 00034 ClickablePositionsActionGoal_(const ContainerAllocator& _alloc) 00035 : header(_alloc) 00036 , goal_id(_alloc) 00037 , goal(_alloc) 00038 { 00039 } 00040 00041 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00042 ::std_msgs::Header_<ContainerAllocator> header; 00043 00044 typedef ::actionlib_msgs::GoalID_<ContainerAllocator> _goal_id_type; 00045 ::actionlib_msgs::GoalID_<ContainerAllocator> goal_id; 00046 00047 typedef ::srs_interaction_primitives::ClickablePositionsGoal_<ContainerAllocator> _goal_type; 00048 ::srs_interaction_primitives::ClickablePositionsGoal_<ContainerAllocator> goal; 00049 00050 00051 private: 00052 static const char* __s_getDataType_() { return "srs_interaction_primitives/ClickablePositionsActionGoal"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00055 00056 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00057 00058 private: 00059 static const char* __s_getMD5Sum_() { return "6e4fe5d658612b59fbedd00a6c4ab24b"; } 00060 public: 00061 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00062 00063 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00064 00065 private: 00066 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00067 \n\ 00068 Header header\n\ 00069 actionlib_msgs/GoalID goal_id\n\ 00070 ClickablePositionsGoal goal\n\ 00071 \n\ 00072 ================================================================================\n\ 00073 MSG: std_msgs/Header\n\ 00074 # Standard metadata for higher-level stamped data types.\n\ 00075 # This is generally used to communicate timestamped data \n\ 00076 # in a particular coordinate frame.\n\ 00077 # \n\ 00078 # sequence ID: consecutively increasing ID \n\ 00079 uint32 seq\n\ 00080 #Two-integer timestamp that is expressed as:\n\ 00081 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00082 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00083 # time-handling sugar is provided by the client library\n\ 00084 time stamp\n\ 00085 #Frame this data is associated with\n\ 00086 # 0: no frame\n\ 00087 # 1: global frame\n\ 00088 string frame_id\n\ 00089 \n\ 00090 ================================================================================\n\ 00091 MSG: actionlib_msgs/GoalID\n\ 00092 # The stamp should store the time at which this goal was requested.\n\ 00093 # It is used by an action server when it tries to preempt all\n\ 00094 # goals that were requested before a certain time\n\ 00095 time stamp\n\ 00096 \n\ 00097 # The id provides a way to associate feedback and\n\ 00098 # result message with specific goal requests. The id\n\ 00099 # specified must be unique.\n\ 00100 string id\n\ 00101 \n\ 00102 \n\ 00103 ================================================================================\n\ 00104 MSG: srs_interaction_primitives/ClickablePositionsGoal\n\ 00105 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00106 string frame_id\n\ 00107 string topic_suffix\n\ 00108 float64 radius\n\ 00109 std_msgs/ColorRGBA color\n\ 00110 geometry_msgs/Point[] positions\n\ 00111 \n\ 00112 ================================================================================\n\ 00113 MSG: std_msgs/ColorRGBA\n\ 00114 float32 r\n\ 00115 float32 g\n\ 00116 float32 b\n\ 00117 float32 a\n\ 00118 \n\ 00119 ================================================================================\n\ 00120 MSG: geometry_msgs/Point\n\ 00121 # This contains the position of a point in free space\n\ 00122 float64 x\n\ 00123 float64 y\n\ 00124 float64 z\n\ 00125 \n\ 00126 "; } 00127 public: 00128 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00129 00130 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00131 00132 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00133 { 00134 ros::serialization::OStream stream(write_ptr, 1000000000); 00135 ros::serialization::serialize(stream, header); 00136 ros::serialization::serialize(stream, goal_id); 00137 ros::serialization::serialize(stream, goal); 00138 return stream.getData(); 00139 } 00140 00141 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00142 { 00143 ros::serialization::IStream stream(read_ptr, 1000000000); 00144 ros::serialization::deserialize(stream, header); 00145 ros::serialization::deserialize(stream, goal_id); 00146 ros::serialization::deserialize(stream, goal); 00147 return stream.getData(); 00148 } 00149 00150 ROS_DEPRECATED virtual uint32_t serializationLength() const 00151 { 00152 uint32_t size = 0; 00153 size += ros::serialization::serializationLength(header); 00154 size += ros::serialization::serializationLength(goal_id); 00155 size += ros::serialization::serializationLength(goal); 00156 return size; 00157 } 00158 00159 typedef boost::shared_ptr< ::srs_interaction_primitives::ClickablePositionsActionGoal_<ContainerAllocator> > Ptr; 00160 typedef boost::shared_ptr< ::srs_interaction_primitives::ClickablePositionsActionGoal_<ContainerAllocator> const> ConstPtr; 00161 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00162 }; // struct ClickablePositionsActionGoal 00163 typedef ::srs_interaction_primitives::ClickablePositionsActionGoal_<std::allocator<void> > ClickablePositionsActionGoal; 00164 00165 typedef boost::shared_ptr< ::srs_interaction_primitives::ClickablePositionsActionGoal> ClickablePositionsActionGoalPtr; 00166 typedef boost::shared_ptr< ::srs_interaction_primitives::ClickablePositionsActionGoal const> ClickablePositionsActionGoalConstPtr; 00167 00168 00169 template<typename ContainerAllocator> 00170 std::ostream& operator<<(std::ostream& s, const ::srs_interaction_primitives::ClickablePositionsActionGoal_<ContainerAllocator> & v) 00171 { 00172 ros::message_operations::Printer< ::srs_interaction_primitives::ClickablePositionsActionGoal_<ContainerAllocator> >::stream(s, "", v); 00173 return s;} 00174 00175 } // namespace srs_interaction_primitives 00176 00177 namespace ros 00178 { 00179 namespace message_traits 00180 { 00181 template<class ContainerAllocator> struct IsMessage< ::srs_interaction_primitives::ClickablePositionsActionGoal_<ContainerAllocator> > : public TrueType {}; 00182 template<class ContainerAllocator> struct IsMessage< ::srs_interaction_primitives::ClickablePositionsActionGoal_<ContainerAllocator> const> : public TrueType {}; 00183 template<class ContainerAllocator> 00184 struct MD5Sum< ::srs_interaction_primitives::ClickablePositionsActionGoal_<ContainerAllocator> > { 00185 static const char* value() 00186 { 00187 return "6e4fe5d658612b59fbedd00a6c4ab24b"; 00188 } 00189 00190 static const char* value(const ::srs_interaction_primitives::ClickablePositionsActionGoal_<ContainerAllocator> &) { return value(); } 00191 static const uint64_t static_value1 = 0x6e4fe5d658612b59ULL; 00192 static const uint64_t static_value2 = 0xfbedd00a6c4ab24bULL; 00193 }; 00194 00195 template<class ContainerAllocator> 00196 struct DataType< ::srs_interaction_primitives::ClickablePositionsActionGoal_<ContainerAllocator> > { 00197 static const char* value() 00198 { 00199 return "srs_interaction_primitives/ClickablePositionsActionGoal"; 00200 } 00201 00202 static const char* value(const ::srs_interaction_primitives::ClickablePositionsActionGoal_<ContainerAllocator> &) { return value(); } 00203 }; 00204 00205 template<class ContainerAllocator> 00206 struct Definition< ::srs_interaction_primitives::ClickablePositionsActionGoal_<ContainerAllocator> > { 00207 static const char* value() 00208 { 00209 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00210 \n\ 00211 Header header\n\ 00212 actionlib_msgs/GoalID goal_id\n\ 00213 ClickablePositionsGoal goal\n\ 00214 \n\ 00215 ================================================================================\n\ 00216 MSG: std_msgs/Header\n\ 00217 # Standard metadata for higher-level stamped data types.\n\ 00218 # This is generally used to communicate timestamped data \n\ 00219 # in a particular coordinate frame.\n\ 00220 # \n\ 00221 # sequence ID: consecutively increasing ID \n\ 00222 uint32 seq\n\ 00223 #Two-integer timestamp that is expressed as:\n\ 00224 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00225 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00226 # time-handling sugar is provided by the client library\n\ 00227 time stamp\n\ 00228 #Frame this data is associated with\n\ 00229 # 0: no frame\n\ 00230 # 1: global frame\n\ 00231 string frame_id\n\ 00232 \n\ 00233 ================================================================================\n\ 00234 MSG: actionlib_msgs/GoalID\n\ 00235 # The stamp should store the time at which this goal was requested.\n\ 00236 # It is used by an action server when it tries to preempt all\n\ 00237 # goals that were requested before a certain time\n\ 00238 time stamp\n\ 00239 \n\ 00240 # The id provides a way to associate feedback and\n\ 00241 # result message with specific goal requests. The id\n\ 00242 # specified must be unique.\n\ 00243 string id\n\ 00244 \n\ 00245 \n\ 00246 ================================================================================\n\ 00247 MSG: srs_interaction_primitives/ClickablePositionsGoal\n\ 00248 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00249 string frame_id\n\ 00250 string topic_suffix\n\ 00251 float64 radius\n\ 00252 std_msgs/ColorRGBA color\n\ 00253 geometry_msgs/Point[] positions\n\ 00254 \n\ 00255 ================================================================================\n\ 00256 MSG: std_msgs/ColorRGBA\n\ 00257 float32 r\n\ 00258 float32 g\n\ 00259 float32 b\n\ 00260 float32 a\n\ 00261 \n\ 00262 ================================================================================\n\ 00263 MSG: geometry_msgs/Point\n\ 00264 # This contains the position of a point in free space\n\ 00265 float64 x\n\ 00266 float64 y\n\ 00267 float64 z\n\ 00268 \n\ 00269 "; 00270 } 00271 00272 static const char* value(const ::srs_interaction_primitives::ClickablePositionsActionGoal_<ContainerAllocator> &) { return value(); } 00273 }; 00274 00275 template<class ContainerAllocator> struct HasHeader< ::srs_interaction_primitives::ClickablePositionsActionGoal_<ContainerAllocator> > : public TrueType {}; 00276 template<class ContainerAllocator> struct HasHeader< const ::srs_interaction_primitives::ClickablePositionsActionGoal_<ContainerAllocator> > : public TrueType {}; 00277 } // namespace message_traits 00278 } // namespace ros 00279 00280 namespace ros 00281 { 00282 namespace serialization 00283 { 00284 00285 template<class ContainerAllocator> struct Serializer< ::srs_interaction_primitives::ClickablePositionsActionGoal_<ContainerAllocator> > 00286 { 00287 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00288 { 00289 stream.next(m.header); 00290 stream.next(m.goal_id); 00291 stream.next(m.goal); 00292 } 00293 00294 ROS_DECLARE_ALLINONE_SERIALIZER; 00295 }; // struct ClickablePositionsActionGoal_ 00296 } // namespace serialization 00297 } // namespace ros 00298 00299 namespace ros 00300 { 00301 namespace message_operations 00302 { 00303 00304 template<class ContainerAllocator> 00305 struct Printer< ::srs_interaction_primitives::ClickablePositionsActionGoal_<ContainerAllocator> > 00306 { 00307 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_interaction_primitives::ClickablePositionsActionGoal_<ContainerAllocator> & v) 00308 { 00309 s << indent << "header: "; 00310 s << std::endl; 00311 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00312 s << indent << "goal_id: "; 00313 s << std::endl; 00314 Printer< ::actionlib_msgs::GoalID_<ContainerAllocator> >::stream(s, indent + " ", v.goal_id); 00315 s << indent << "goal: "; 00316 s << std::endl; 00317 Printer< ::srs_interaction_primitives::ClickablePositionsGoal_<ContainerAllocator> >::stream(s, indent + " ", v.goal); 00318 } 00319 }; 00320 00321 00322 } // namespace message_operations 00323 } // namespace ros 00324 00325 #endif // SRS_INTERACTION_PRIMITIVES_MESSAGE_CLICKABLEPOSITIONSACTIONGOAL_H 00326