00001
00002 #ifndef INTERVAL_INTERSECTION_MESSAGE_CONFIGACTION_H
00003 #define INTERVAL_INTERSECTION_MESSAGE_CONFIGACTION_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "interval_intersection/ConfigActionGoal.h"
00014 #include "interval_intersection/ConfigActionResult.h"
00015 #include "interval_intersection/ConfigActionFeedback.h"
00016
00017 namespace interval_intersection
00018 {
00019 template <class ContainerAllocator>
00020 struct ConfigAction_ : public ros::Message
00021 {
00022 typedef ConfigAction_<ContainerAllocator> Type;
00023
00024 ConfigAction_()
00025 : action_goal()
00026 , action_result()
00027 , action_feedback()
00028 {
00029 }
00030
00031 ConfigAction_(const ContainerAllocator& _alloc)
00032 : action_goal(_alloc)
00033 , action_result(_alloc)
00034 , action_feedback(_alloc)
00035 {
00036 }
00037
00038 typedef ::interval_intersection::ConfigActionGoal_<ContainerAllocator> _action_goal_type;
00039 ::interval_intersection::ConfigActionGoal_<ContainerAllocator> action_goal;
00040
00041 typedef ::interval_intersection::ConfigActionResult_<ContainerAllocator> _action_result_type;
00042 ::interval_intersection::ConfigActionResult_<ContainerAllocator> action_result;
00043
00044 typedef ::interval_intersection::ConfigActionFeedback_<ContainerAllocator> _action_feedback_type;
00045 ::interval_intersection::ConfigActionFeedback_<ContainerAllocator> action_feedback;
00046
00047
00048 private:
00049 static const char* __s_getDataType_() { return "interval_intersection/ConfigAction"; }
00050 public:
00051 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00052
00053 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00054
00055 private:
00056 static const char* __s_getMD5Sum_() { return "daf4f3168538603bba58f6ea42d51314"; }
00057 public:
00058 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00059
00060 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00061
00062 private:
00063 static const char* __s_getMessageDefinition_() { return "\n\
00064 ConfigActionGoal action_goal\n\
00065 ConfigActionResult action_result\n\
00066 ConfigActionFeedback action_feedback\n\
00067 \n\
00068 ================================================================================\n\
00069 MSG: interval_intersection/ConfigActionGoal\n\
00070 \n\
00071 Header header\n\
00072 actionlib_msgs/GoalID goal_id\n\
00073 ConfigGoal goal\n\
00074 \n\
00075 ================================================================================\n\
00076 MSG: std_msgs/Header\n\
00077 # Standard metadata for higher-level stamped data types.\n\
00078 # This is generally used to communicate timestamped data \n\
00079 # in a particular coordinate frame.\n\
00080 # \n\
00081 # sequence ID: consecutively increasing ID \n\
00082 uint32 seq\n\
00083 #Two-integer timestamp that is expressed as:\n\
00084 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00085 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00086 # time-handling sugar is provided by the client library\n\
00087 time stamp\n\
00088 #Frame this data is associated with\n\
00089 # 0: no frame\n\
00090 # 1: global frame\n\
00091 string frame_id\n\
00092 \n\
00093 ================================================================================\n\
00094 MSG: actionlib_msgs/GoalID\n\
00095 # The stamp should store the time at which this goal was requested.\n\
00096 # It is used by an action server when it tries to preempt all\n\
00097 # goals that were requested before a certain time\n\
00098 time stamp\n\
00099 \n\
00100 # The id provides a way to associate feedback and\n\
00101 # result message with specific goal requests. The id\n\
00102 # specified must be unique.\n\
00103 string id\n\
00104 \n\
00105 \n\
00106 ================================================================================\n\
00107 MSG: interval_intersection/ConfigGoal\n\
00108 string[] topics\n\
00109 \n\
00110 ================================================================================\n\
00111 MSG: interval_intersection/ConfigActionResult\n\
00112 \n\
00113 Header header\n\
00114 actionlib_msgs/GoalStatus status\n\
00115 ConfigResult result\n\
00116 \n\
00117 ================================================================================\n\
00118 MSG: actionlib_msgs/GoalStatus\n\
00119 GoalID goal_id\n\
00120 uint8 status\n\
00121 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00122 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00123 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00124 # and has since completed its execution (Terminal State)\n\
00125 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00126 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00127 # to some failure (Terminal State)\n\
00128 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00129 # because the goal was unattainable or invalid (Terminal State)\n\
00130 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00131 # and has not yet completed execution\n\
00132 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00133 # but the action server has not yet confirmed that the goal is canceled\n\
00134 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00135 # and was successfully cancelled (Terminal State)\n\
00136 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00137 # sent over the wire by an action server\n\
00138 \n\
00139 #Allow for the user to associate a string with GoalStatus for debugging\n\
00140 string text\n\
00141 \n\
00142 \n\
00143 ================================================================================\n\
00144 MSG: interval_intersection/ConfigResult\n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: interval_intersection/ConfigActionFeedback\n\
00148 \n\
00149 Header header\n\
00150 actionlib_msgs/GoalStatus status\n\
00151 ConfigFeedback feedback\n\
00152 \n\
00153 ================================================================================\n\
00154 MSG: interval_intersection/ConfigFeedback\n\
00155 \n\
00156 "; }
00157 public:
00158 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00159
00160 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00161
00162 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00163 {
00164 ros::serialization::OStream stream(write_ptr, 1000000000);
00165 ros::serialization::serialize(stream, action_goal);
00166 ros::serialization::serialize(stream, action_result);
00167 ros::serialization::serialize(stream, action_feedback);
00168 return stream.getData();
00169 }
00170
00171 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00172 {
00173 ros::serialization::IStream stream(read_ptr, 1000000000);
00174 ros::serialization::deserialize(stream, action_goal);
00175 ros::serialization::deserialize(stream, action_result);
00176 ros::serialization::deserialize(stream, action_feedback);
00177 return stream.getData();
00178 }
00179
00180 ROS_DEPRECATED virtual uint32_t serializationLength() const
00181 {
00182 uint32_t size = 0;
00183 size += ros::serialization::serializationLength(action_goal);
00184 size += ros::serialization::serializationLength(action_result);
00185 size += ros::serialization::serializationLength(action_feedback);
00186 return size;
00187 }
00188
00189 typedef boost::shared_ptr< ::interval_intersection::ConfigAction_<ContainerAllocator> > Ptr;
00190 typedef boost::shared_ptr< ::interval_intersection::ConfigAction_<ContainerAllocator> const> ConstPtr;
00191 };
00192 typedef ::interval_intersection::ConfigAction_<std::allocator<void> > ConfigAction;
00193
00194 typedef boost::shared_ptr< ::interval_intersection::ConfigAction> ConfigActionPtr;
00195 typedef boost::shared_ptr< ::interval_intersection::ConfigAction const> ConfigActionConstPtr;
00196
00197
00198 template<typename ContainerAllocator>
00199 std::ostream& operator<<(std::ostream& s, const ::interval_intersection::ConfigAction_<ContainerAllocator> & v)
00200 {
00201 ros::message_operations::Printer< ::interval_intersection::ConfigAction_<ContainerAllocator> >::stream(s, "", v);
00202 return s;}
00203
00204 }
00205
00206 namespace ros
00207 {
00208 namespace message_traits
00209 {
00210 template<class ContainerAllocator>
00211 struct MD5Sum< ::interval_intersection::ConfigAction_<ContainerAllocator> > {
00212 static const char* value()
00213 {
00214 return "daf4f3168538603bba58f6ea42d51314";
00215 }
00216
00217 static const char* value(const ::interval_intersection::ConfigAction_<ContainerAllocator> &) { return value(); }
00218 static const uint64_t static_value1 = 0xdaf4f3168538603bULL;
00219 static const uint64_t static_value2 = 0xba58f6ea42d51314ULL;
00220 };
00221
00222 template<class ContainerAllocator>
00223 struct DataType< ::interval_intersection::ConfigAction_<ContainerAllocator> > {
00224 static const char* value()
00225 {
00226 return "interval_intersection/ConfigAction";
00227 }
00228
00229 static const char* value(const ::interval_intersection::ConfigAction_<ContainerAllocator> &) { return value(); }
00230 };
00231
00232 template<class ContainerAllocator>
00233 struct Definition< ::interval_intersection::ConfigAction_<ContainerAllocator> > {
00234 static const char* value()
00235 {
00236 return "\n\
00237 ConfigActionGoal action_goal\n\
00238 ConfigActionResult action_result\n\
00239 ConfigActionFeedback action_feedback\n\
00240 \n\
00241 ================================================================================\n\
00242 MSG: interval_intersection/ConfigActionGoal\n\
00243 \n\
00244 Header header\n\
00245 actionlib_msgs/GoalID goal_id\n\
00246 ConfigGoal goal\n\
00247 \n\
00248 ================================================================================\n\
00249 MSG: std_msgs/Header\n\
00250 # Standard metadata for higher-level stamped data types.\n\
00251 # This is generally used to communicate timestamped data \n\
00252 # in a particular coordinate frame.\n\
00253 # \n\
00254 # sequence ID: consecutively increasing ID \n\
00255 uint32 seq\n\
00256 #Two-integer timestamp that is expressed as:\n\
00257 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00258 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00259 # time-handling sugar is provided by the client library\n\
00260 time stamp\n\
00261 #Frame this data is associated with\n\
00262 # 0: no frame\n\
00263 # 1: global frame\n\
00264 string frame_id\n\
00265 \n\
00266 ================================================================================\n\
00267 MSG: actionlib_msgs/GoalID\n\
00268 # The stamp should store the time at which this goal was requested.\n\
00269 # It is used by an action server when it tries to preempt all\n\
00270 # goals that were requested before a certain time\n\
00271 time stamp\n\
00272 \n\
00273 # The id provides a way to associate feedback and\n\
00274 # result message with specific goal requests. The id\n\
00275 # specified must be unique.\n\
00276 string id\n\
00277 \n\
00278 \n\
00279 ================================================================================\n\
00280 MSG: interval_intersection/ConfigGoal\n\
00281 string[] topics\n\
00282 \n\
00283 ================================================================================\n\
00284 MSG: interval_intersection/ConfigActionResult\n\
00285 \n\
00286 Header header\n\
00287 actionlib_msgs/GoalStatus status\n\
00288 ConfigResult result\n\
00289 \n\
00290 ================================================================================\n\
00291 MSG: actionlib_msgs/GoalStatus\n\
00292 GoalID goal_id\n\
00293 uint8 status\n\
00294 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00295 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00296 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00297 # and has since completed its execution (Terminal State)\n\
00298 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00299 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00300 # to some failure (Terminal State)\n\
00301 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00302 # because the goal was unattainable or invalid (Terminal State)\n\
00303 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00304 # and has not yet completed execution\n\
00305 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00306 # but the action server has not yet confirmed that the goal is canceled\n\
00307 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00308 # and was successfully cancelled (Terminal State)\n\
00309 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00310 # sent over the wire by an action server\n\
00311 \n\
00312 #Allow for the user to associate a string with GoalStatus for debugging\n\
00313 string text\n\
00314 \n\
00315 \n\
00316 ================================================================================\n\
00317 MSG: interval_intersection/ConfigResult\n\
00318 \n\
00319 ================================================================================\n\
00320 MSG: interval_intersection/ConfigActionFeedback\n\
00321 \n\
00322 Header header\n\
00323 actionlib_msgs/GoalStatus status\n\
00324 ConfigFeedback feedback\n\
00325 \n\
00326 ================================================================================\n\
00327 MSG: interval_intersection/ConfigFeedback\n\
00328 \n\
00329 ";
00330 }
00331
00332 static const char* value(const ::interval_intersection::ConfigAction_<ContainerAllocator> &) { return value(); }
00333 };
00334
00335 }
00336 }
00337
00338 namespace ros
00339 {
00340 namespace serialization
00341 {
00342
00343 template<class ContainerAllocator> struct Serializer< ::interval_intersection::ConfigAction_<ContainerAllocator> >
00344 {
00345 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00346 {
00347 stream.next(m.action_goal);
00348 stream.next(m.action_result);
00349 stream.next(m.action_feedback);
00350 }
00351
00352 ROS_DECLARE_ALLINONE_SERIALIZER;
00353 };
00354 }
00355 }
00356
00357 namespace ros
00358 {
00359 namespace message_operations
00360 {
00361
00362 template<class ContainerAllocator>
00363 struct Printer< ::interval_intersection::ConfigAction_<ContainerAllocator> >
00364 {
00365 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::interval_intersection::ConfigAction_<ContainerAllocator> & v)
00366 {
00367 s << indent << "action_goal: ";
00368 s << std::endl;
00369 Printer< ::interval_intersection::ConfigActionGoal_<ContainerAllocator> >::stream(s, indent + " ", v.action_goal);
00370 s << indent << "action_result: ";
00371 s << std::endl;
00372 Printer< ::interval_intersection::ConfigActionResult_<ContainerAllocator> >::stream(s, indent + " ", v.action_result);
00373 s << indent << "action_feedback: ";
00374 s << std::endl;
00375 Printer< ::interval_intersection::ConfigActionFeedback_<ContainerAllocator> >::stream(s, indent + " ", v.action_feedback);
00376 }
00377 };
00378
00379
00380 }
00381 }
00382
00383 #endif // INTERVAL_INTERSECTION_MESSAGE_CONFIGACTION_H
00384