00001 
00002 #ifndef MONOCAM_SETTLER_MESSAGE_CONFIGACTION_H
00003 #define MONOCAM_SETTLER_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 "monocam_settler/ConfigActionGoal.h"
00014 #include "monocam_settler/ConfigActionResult.h"
00015 #include "monocam_settler/ConfigActionFeedback.h"
00016 
00017 namespace monocam_settler
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  ::monocam_settler::ConfigActionGoal_<ContainerAllocator>  _action_goal_type;
00039    ::monocam_settler::ConfigActionGoal_<ContainerAllocator>  action_goal;
00040 
00041   typedef  ::monocam_settler::ConfigActionResult_<ContainerAllocator>  _action_result_type;
00042    ::monocam_settler::ConfigActionResult_<ContainerAllocator>  action_result;
00043 
00044   typedef  ::monocam_settler::ConfigActionFeedback_<ContainerAllocator>  _action_feedback_type;
00045    ::monocam_settler::ConfigActionFeedback_<ContainerAllocator>  action_feedback;
00046 
00047 
00048 private:
00049   static const char* __s_getDataType_() { return "monocam_settler/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 "4a593f02b0920fcc9e7be7341dddd78f"; }
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: monocam_settler/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: monocam_settler/ConfigGoal\n\
00108 float64 tolerance      # Tolerance on each of the features\n\
00109 uint8 ignore_failures  # True if we discard\n\
00110 duration max_step      # The maximum timestep between two elements in an interval\n\
00111 uint32 cache_size      # The size of our cache when searching for an interval\n\
00112 \n\
00113 ================================================================================\n\
00114 MSG: monocam_settler/ConfigActionResult\n\
00115 \n\
00116 Header header\n\
00117 actionlib_msgs/GoalStatus status\n\
00118 ConfigResult result\n\
00119 \n\
00120 ================================================================================\n\
00121 MSG: actionlib_msgs/GoalStatus\n\
00122 GoalID goal_id\n\
00123 uint8 status\n\
00124 uint8 PENDING         = 0   # The goal has yet to be processed by the action server\n\
00125 uint8 ACTIVE          = 1   # The goal is currently being processed by the action server\n\
00126 uint8 PREEMPTED       = 2   # The goal received a cancel request after it started executing\n\
00127                             #   and has since completed its execution (Terminal State)\n\
00128 uint8 SUCCEEDED       = 3   # The goal was achieved successfully by the action server (Terminal State)\n\
00129 uint8 ABORTED         = 4   # The goal was aborted during execution by the action server due\n\
00130                             #    to some failure (Terminal State)\n\
00131 uint8 REJECTED        = 5   # The goal was rejected by the action server without being processed,\n\
00132                             #    because the goal was unattainable or invalid (Terminal State)\n\
00133 uint8 PREEMPTING      = 6   # The goal received a cancel request after it started executing\n\
00134                             #    and has not yet completed execution\n\
00135 uint8 RECALLING       = 7   # The goal received a cancel request before it started executing,\n\
00136                             #    but the action server has not yet confirmed that the goal is canceled\n\
00137 uint8 RECALLED        = 8   # The goal received a cancel request before it started executing\n\
00138                             #    and was successfully cancelled (Terminal State)\n\
00139 uint8 LOST            = 9   # An action client can determine that a goal is LOST. This should not be\n\
00140                             #    sent over the wire by an action server\n\
00141 \n\
00142 #Allow for the user to associate a string with GoalStatus for debugging\n\
00143 string text\n\
00144 \n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: monocam_settler/ConfigResult\n\
00148 \n\
00149 ================================================================================\n\
00150 MSG: monocam_settler/ConfigActionFeedback\n\
00151 \n\
00152 Header header\n\
00153 actionlib_msgs/GoalStatus status\n\
00154 ConfigFeedback feedback\n\
00155 \n\
00156 ================================================================================\n\
00157 MSG: monocam_settler/ConfigFeedback\n\
00158 \n\
00159 \n\
00160 "; }
00161 public:
00162   ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00163 
00164   ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00165 
00166   ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00167   {
00168     ros::serialization::OStream stream(write_ptr, 1000000000);
00169     ros::serialization::serialize(stream, action_goal);
00170     ros::serialization::serialize(stream, action_result);
00171     ros::serialization::serialize(stream, action_feedback);
00172     return stream.getData();
00173   }
00174 
00175   ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00176   {
00177     ros::serialization::IStream stream(read_ptr, 1000000000);
00178     ros::serialization::deserialize(stream, action_goal);
00179     ros::serialization::deserialize(stream, action_result);
00180     ros::serialization::deserialize(stream, action_feedback);
00181     return stream.getData();
00182   }
00183 
00184   ROS_DEPRECATED virtual uint32_t serializationLength() const
00185   {
00186     uint32_t size = 0;
00187     size += ros::serialization::serializationLength(action_goal);
00188     size += ros::serialization::serializationLength(action_result);
00189     size += ros::serialization::serializationLength(action_feedback);
00190     return size;
00191   }
00192 
00193   typedef boost::shared_ptr< ::monocam_settler::ConfigAction_<ContainerAllocator> > Ptr;
00194   typedef boost::shared_ptr< ::monocam_settler::ConfigAction_<ContainerAllocator>  const> ConstPtr;
00195 }; 
00196 typedef  ::monocam_settler::ConfigAction_<std::allocator<void> > ConfigAction;
00197 
00198 typedef boost::shared_ptr< ::monocam_settler::ConfigAction> ConfigActionPtr;
00199 typedef boost::shared_ptr< ::monocam_settler::ConfigAction const> ConfigActionConstPtr;
00200 
00201 
00202 template<typename ContainerAllocator>
00203 std::ostream& operator<<(std::ostream& s, const  ::monocam_settler::ConfigAction_<ContainerAllocator> & v)
00204 {
00205   ros::message_operations::Printer< ::monocam_settler::ConfigAction_<ContainerAllocator> >::stream(s, "", v);
00206   return s;}
00207 
00208 } 
00209 
00210 namespace ros
00211 {
00212 namespace message_traits
00213 {
00214 template<class ContainerAllocator>
00215 struct MD5Sum< ::monocam_settler::ConfigAction_<ContainerAllocator> > {
00216   static const char* value() 
00217   {
00218     return "4a593f02b0920fcc9e7be7341dddd78f";
00219   }
00220 
00221   static const char* value(const  ::monocam_settler::ConfigAction_<ContainerAllocator> &) { return value(); } 
00222   static const uint64_t static_value1 = 0x4a593f02b0920fccULL;
00223   static const uint64_t static_value2 = 0x9e7be7341dddd78fULL;
00224 };
00225 
00226 template<class ContainerAllocator>
00227 struct DataType< ::monocam_settler::ConfigAction_<ContainerAllocator> > {
00228   static const char* value() 
00229   {
00230     return "monocam_settler/ConfigAction";
00231   }
00232 
00233   static const char* value(const  ::monocam_settler::ConfigAction_<ContainerAllocator> &) { return value(); } 
00234 };
00235 
00236 template<class ContainerAllocator>
00237 struct Definition< ::monocam_settler::ConfigAction_<ContainerAllocator> > {
00238   static const char* value() 
00239   {
00240     return "\n\
00241 ConfigActionGoal action_goal\n\
00242 ConfigActionResult action_result\n\
00243 ConfigActionFeedback action_feedback\n\
00244 \n\
00245 ================================================================================\n\
00246 MSG: monocam_settler/ConfigActionGoal\n\
00247 \n\
00248 Header header\n\
00249 actionlib_msgs/GoalID goal_id\n\
00250 ConfigGoal goal\n\
00251 \n\
00252 ================================================================================\n\
00253 MSG: std_msgs/Header\n\
00254 # Standard metadata for higher-level stamped data types.\n\
00255 # This is generally used to communicate timestamped data \n\
00256 # in a particular coordinate frame.\n\
00257 # \n\
00258 # sequence ID: consecutively increasing ID \n\
00259 uint32 seq\n\
00260 #Two-integer timestamp that is expressed as:\n\
00261 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00262 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00263 # time-handling sugar is provided by the client library\n\
00264 time stamp\n\
00265 #Frame this data is associated with\n\
00266 # 0: no frame\n\
00267 # 1: global frame\n\
00268 string frame_id\n\
00269 \n\
00270 ================================================================================\n\
00271 MSG: actionlib_msgs/GoalID\n\
00272 # The stamp should store the time at which this goal was requested.\n\
00273 # It is used by an action server when it tries to preempt all\n\
00274 # goals that were requested before a certain time\n\
00275 time stamp\n\
00276 \n\
00277 # The id provides a way to associate feedback and\n\
00278 # result message with specific goal requests. The id\n\
00279 # specified must be unique.\n\
00280 string id\n\
00281 \n\
00282 \n\
00283 ================================================================================\n\
00284 MSG: monocam_settler/ConfigGoal\n\
00285 float64 tolerance      # Tolerance on each of the features\n\
00286 uint8 ignore_failures  # True if we discard\n\
00287 duration max_step      # The maximum timestep between two elements in an interval\n\
00288 uint32 cache_size      # The size of our cache when searching for an interval\n\
00289 \n\
00290 ================================================================================\n\
00291 MSG: monocam_settler/ConfigActionResult\n\
00292 \n\
00293 Header header\n\
00294 actionlib_msgs/GoalStatus status\n\
00295 ConfigResult result\n\
00296 \n\
00297 ================================================================================\n\
00298 MSG: actionlib_msgs/GoalStatus\n\
00299 GoalID goal_id\n\
00300 uint8 status\n\
00301 uint8 PENDING         = 0   # The goal has yet to be processed by the action server\n\
00302 uint8 ACTIVE          = 1   # The goal is currently being processed by the action server\n\
00303 uint8 PREEMPTED       = 2   # The goal received a cancel request after it started executing\n\
00304                             #   and has since completed its execution (Terminal State)\n\
00305 uint8 SUCCEEDED       = 3   # The goal was achieved successfully by the action server (Terminal State)\n\
00306 uint8 ABORTED         = 4   # The goal was aborted during execution by the action server due\n\
00307                             #    to some failure (Terminal State)\n\
00308 uint8 REJECTED        = 5   # The goal was rejected by the action server without being processed,\n\
00309                             #    because the goal was unattainable or invalid (Terminal State)\n\
00310 uint8 PREEMPTING      = 6   # The goal received a cancel request after it started executing\n\
00311                             #    and has not yet completed execution\n\
00312 uint8 RECALLING       = 7   # The goal received a cancel request before it started executing,\n\
00313                             #    but the action server has not yet confirmed that the goal is canceled\n\
00314 uint8 RECALLED        = 8   # The goal received a cancel request before it started executing\n\
00315                             #    and was successfully cancelled (Terminal State)\n\
00316 uint8 LOST            = 9   # An action client can determine that a goal is LOST. This should not be\n\
00317                             #    sent over the wire by an action server\n\
00318 \n\
00319 #Allow for the user to associate a string with GoalStatus for debugging\n\
00320 string text\n\
00321 \n\
00322 \n\
00323 ================================================================================\n\
00324 MSG: monocam_settler/ConfigResult\n\
00325 \n\
00326 ================================================================================\n\
00327 MSG: monocam_settler/ConfigActionFeedback\n\
00328 \n\
00329 Header header\n\
00330 actionlib_msgs/GoalStatus status\n\
00331 ConfigFeedback feedback\n\
00332 \n\
00333 ================================================================================\n\
00334 MSG: monocam_settler/ConfigFeedback\n\
00335 \n\
00336 \n\
00337 ";
00338   }
00339 
00340   static const char* value(const  ::monocam_settler::ConfigAction_<ContainerAllocator> &) { return value(); } 
00341 };
00342 
00343 } 
00344 } 
00345 
00346 namespace ros
00347 {
00348 namespace serialization
00349 {
00350 
00351 template<class ContainerAllocator> struct Serializer< ::monocam_settler::ConfigAction_<ContainerAllocator> >
00352 {
00353   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00354   {
00355     stream.next(m.action_goal);
00356     stream.next(m.action_result);
00357     stream.next(m.action_feedback);
00358   }
00359 
00360   ROS_DECLARE_ALLINONE_SERIALIZER;
00361 }; 
00362 } 
00363 } 
00364 
00365 namespace ros
00366 {
00367 namespace message_operations
00368 {
00369 
00370 template<class ContainerAllocator>
00371 struct Printer< ::monocam_settler::ConfigAction_<ContainerAllocator> >
00372 {
00373   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::monocam_settler::ConfigAction_<ContainerAllocator> & v) 
00374   {
00375     s << indent << "action_goal: ";
00376 s << std::endl;
00377     Printer< ::monocam_settler::ConfigActionGoal_<ContainerAllocator> >::stream(s, indent + "  ", v.action_goal);
00378     s << indent << "action_result: ";
00379 s << std::endl;
00380     Printer< ::monocam_settler::ConfigActionResult_<ContainerAllocator> >::stream(s, indent + "  ", v.action_result);
00381     s << indent << "action_feedback: ";
00382 s << std::endl;
00383     Printer< ::monocam_settler::ConfigActionFeedback_<ContainerAllocator> >::stream(s, indent + "  ", v.action_feedback);
00384   }
00385 };
00386 
00387 
00388 } 
00389 } 
00390 
00391 #endif // MONOCAM_SETTLER_MESSAGE_CONFIGACTION_H
00392