$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-common/doc_stacks/2013-03-01_14-57-31.641010/common/actionlib/msg/TwoIntsActionGoal.msg */ 00002 #ifndef ACTIONLIB_MESSAGE_TWOINTSACTIONGOAL_H 00003 #define ACTIONLIB_MESSAGE_TWOINTSACTIONGOAL_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 "actionlib/TwoIntsGoal.h" 00020 00021 namespace actionlib 00022 { 00023 template <class ContainerAllocator> 00024 struct TwoIntsActionGoal_ { 00025 typedef TwoIntsActionGoal_<ContainerAllocator> Type; 00026 00027 TwoIntsActionGoal_() 00028 : header() 00029 , goal_id() 00030 , goal() 00031 { 00032 } 00033 00034 TwoIntsActionGoal_(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 ::actionlib::TwoIntsGoal_<ContainerAllocator> _goal_type; 00048 ::actionlib::TwoIntsGoal_<ContainerAllocator> goal; 00049 00050 00051 private: 00052 static const char* __s_getDataType_() { return "actionlib/TwoIntsActionGoal"; } 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 "684a2db55d6ffb8046fb9d6764ce0860"; } 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 TwoIntsGoal 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: actionlib/TwoIntsGoal\n\ 00105 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00106 int64 a\n\ 00107 int64 b\n\ 00108 \n\ 00109 "; } 00110 public: 00111 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00112 00113 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00114 00115 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00116 { 00117 ros::serialization::OStream stream(write_ptr, 1000000000); 00118 ros::serialization::serialize(stream, header); 00119 ros::serialization::serialize(stream, goal_id); 00120 ros::serialization::serialize(stream, goal); 00121 return stream.getData(); 00122 } 00123 00124 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00125 { 00126 ros::serialization::IStream stream(read_ptr, 1000000000); 00127 ros::serialization::deserialize(stream, header); 00128 ros::serialization::deserialize(stream, goal_id); 00129 ros::serialization::deserialize(stream, goal); 00130 return stream.getData(); 00131 } 00132 00133 ROS_DEPRECATED virtual uint32_t serializationLength() const 00134 { 00135 uint32_t size = 0; 00136 size += ros::serialization::serializationLength(header); 00137 size += ros::serialization::serializationLength(goal_id); 00138 size += ros::serialization::serializationLength(goal); 00139 return size; 00140 } 00141 00142 typedef boost::shared_ptr< ::actionlib::TwoIntsActionGoal_<ContainerAllocator> > Ptr; 00143 typedef boost::shared_ptr< ::actionlib::TwoIntsActionGoal_<ContainerAllocator> const> ConstPtr; 00144 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00145 }; // struct TwoIntsActionGoal 00146 typedef ::actionlib::TwoIntsActionGoal_<std::allocator<void> > TwoIntsActionGoal; 00147 00148 typedef boost::shared_ptr< ::actionlib::TwoIntsActionGoal> TwoIntsActionGoalPtr; 00149 typedef boost::shared_ptr< ::actionlib::TwoIntsActionGoal const> TwoIntsActionGoalConstPtr; 00150 00151 00152 template<typename ContainerAllocator> 00153 std::ostream& operator<<(std::ostream& s, const ::actionlib::TwoIntsActionGoal_<ContainerAllocator> & v) 00154 { 00155 ros::message_operations::Printer< ::actionlib::TwoIntsActionGoal_<ContainerAllocator> >::stream(s, "", v); 00156 return s;} 00157 00158 } // namespace actionlib 00159 00160 namespace ros 00161 { 00162 namespace message_traits 00163 { 00164 template<class ContainerAllocator> struct IsMessage< ::actionlib::TwoIntsActionGoal_<ContainerAllocator> > : public TrueType {}; 00165 template<class ContainerAllocator> struct IsMessage< ::actionlib::TwoIntsActionGoal_<ContainerAllocator> const> : public TrueType {}; 00166 template<class ContainerAllocator> 00167 struct MD5Sum< ::actionlib::TwoIntsActionGoal_<ContainerAllocator> > { 00168 static const char* value() 00169 { 00170 return "684a2db55d6ffb8046fb9d6764ce0860"; 00171 } 00172 00173 static const char* value(const ::actionlib::TwoIntsActionGoal_<ContainerAllocator> &) { return value(); } 00174 static const uint64_t static_value1 = 0x684a2db55d6ffb80ULL; 00175 static const uint64_t static_value2 = 0x46fb9d6764ce0860ULL; 00176 }; 00177 00178 template<class ContainerAllocator> 00179 struct DataType< ::actionlib::TwoIntsActionGoal_<ContainerAllocator> > { 00180 static const char* value() 00181 { 00182 return "actionlib/TwoIntsActionGoal"; 00183 } 00184 00185 static const char* value(const ::actionlib::TwoIntsActionGoal_<ContainerAllocator> &) { return value(); } 00186 }; 00187 00188 template<class ContainerAllocator> 00189 struct Definition< ::actionlib::TwoIntsActionGoal_<ContainerAllocator> > { 00190 static const char* value() 00191 { 00192 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00193 \n\ 00194 Header header\n\ 00195 actionlib_msgs/GoalID goal_id\n\ 00196 TwoIntsGoal goal\n\ 00197 \n\ 00198 ================================================================================\n\ 00199 MSG: std_msgs/Header\n\ 00200 # Standard metadata for higher-level stamped data types.\n\ 00201 # This is generally used to communicate timestamped data \n\ 00202 # in a particular coordinate frame.\n\ 00203 # \n\ 00204 # sequence ID: consecutively increasing ID \n\ 00205 uint32 seq\n\ 00206 #Two-integer timestamp that is expressed as:\n\ 00207 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00208 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00209 # time-handling sugar is provided by the client library\n\ 00210 time stamp\n\ 00211 #Frame this data is associated with\n\ 00212 # 0: no frame\n\ 00213 # 1: global frame\n\ 00214 string frame_id\n\ 00215 \n\ 00216 ================================================================================\n\ 00217 MSG: actionlib_msgs/GoalID\n\ 00218 # The stamp should store the time at which this goal was requested.\n\ 00219 # It is used by an action server when it tries to preempt all\n\ 00220 # goals that were requested before a certain time\n\ 00221 time stamp\n\ 00222 \n\ 00223 # The id provides a way to associate feedback and\n\ 00224 # result message with specific goal requests. The id\n\ 00225 # specified must be unique.\n\ 00226 string id\n\ 00227 \n\ 00228 \n\ 00229 ================================================================================\n\ 00230 MSG: actionlib/TwoIntsGoal\n\ 00231 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00232 int64 a\n\ 00233 int64 b\n\ 00234 \n\ 00235 "; 00236 } 00237 00238 static const char* value(const ::actionlib::TwoIntsActionGoal_<ContainerAllocator> &) { return value(); } 00239 }; 00240 00241 template<class ContainerAllocator> struct HasHeader< ::actionlib::TwoIntsActionGoal_<ContainerAllocator> > : public TrueType {}; 00242 template<class ContainerAllocator> struct HasHeader< const ::actionlib::TwoIntsActionGoal_<ContainerAllocator> > : public TrueType {}; 00243 } // namespace message_traits 00244 } // namespace ros 00245 00246 namespace ros 00247 { 00248 namespace serialization 00249 { 00250 00251 template<class ContainerAllocator> struct Serializer< ::actionlib::TwoIntsActionGoal_<ContainerAllocator> > 00252 { 00253 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00254 { 00255 stream.next(m.header); 00256 stream.next(m.goal_id); 00257 stream.next(m.goal); 00258 } 00259 00260 ROS_DECLARE_ALLINONE_SERIALIZER; 00261 }; // struct TwoIntsActionGoal_ 00262 } // namespace serialization 00263 } // namespace ros 00264 00265 namespace ros 00266 { 00267 namespace message_operations 00268 { 00269 00270 template<class ContainerAllocator> 00271 struct Printer< ::actionlib::TwoIntsActionGoal_<ContainerAllocator> > 00272 { 00273 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::actionlib::TwoIntsActionGoal_<ContainerAllocator> & v) 00274 { 00275 s << indent << "header: "; 00276 s << std::endl; 00277 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00278 s << indent << "goal_id: "; 00279 s << std::endl; 00280 Printer< ::actionlib_msgs::GoalID_<ContainerAllocator> >::stream(s, indent + " ", v.goal_id); 00281 s << indent << "goal: "; 00282 s << std::endl; 00283 Printer< ::actionlib::TwoIntsGoal_<ContainerAllocator> >::stream(s, indent + " ", v.goal); 00284 } 00285 }; 00286 00287 00288 } // namespace message_operations 00289 } // namespace ros 00290 00291 #endif // ACTIONLIB_MESSAGE_TWOINTSACTIONGOAL_H 00292