Go to the documentation of this file.00001
00002 #ifndef SRS_ASSISTED_ARM_NAVIGATION_MSGS_MESSAGE_MANUALARMMANIPRESULT_H
00003 #define SRS_ASSISTED_ARM_NAVIGATION_MSGS_MESSAGE_MANUALARMMANIPRESULT_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
00018 namespace srs_assisted_arm_navigation_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct ManualArmManipResult_ {
00022 typedef ManualArmManipResult_<ContainerAllocator> Type;
00023
00024 ManualArmManipResult_()
00025 : success(false)
00026 , failed(false)
00027 , repeat(false)
00028 , timeout(false)
00029 , collision(false)
00030 , time_elapsed()
00031 {
00032 }
00033
00034 ManualArmManipResult_(const ContainerAllocator& _alloc)
00035 : success(false)
00036 , failed(false)
00037 , repeat(false)
00038 , timeout(false)
00039 , collision(false)
00040 , time_elapsed()
00041 {
00042 }
00043
00044 typedef uint8_t _success_type;
00045 uint8_t success;
00046
00047 typedef uint8_t _failed_type;
00048 uint8_t failed;
00049
00050 typedef uint8_t _repeat_type;
00051 uint8_t repeat;
00052
00053 typedef uint8_t _timeout_type;
00054 uint8_t timeout;
00055
00056 typedef uint8_t _collision_type;
00057 uint8_t collision;
00058
00059 typedef ros::Duration _time_elapsed_type;
00060 ros::Duration time_elapsed;
00061
00062
00063 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> > Ptr;
00064 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> const> ConstPtr;
00065 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00066 };
00067 typedef ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<std::allocator<void> > ManualArmManipResult;
00068
00069 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult> ManualArmManipResultPtr;
00070 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult const> ManualArmManipResultConstPtr;
00071
00072
00073 template<typename ContainerAllocator>
00074 std::ostream& operator<<(std::ostream& s, const ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> & v)
00075 {
00076 ros::message_operations::Printer< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> >::stream(s, "", v);
00077 return s;}
00078
00079 }
00080
00081 namespace ros
00082 {
00083 namespace message_traits
00084 {
00085 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> > : public TrueType {};
00086 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> const> : public TrueType {};
00087 template<class ContainerAllocator>
00088 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> > {
00089 static const char* value()
00090 {
00091 return "fd4ed8c447d4f279eb6d602b78f3777c";
00092 }
00093
00094 static const char* value(const ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> &) { return value(); }
00095 static const uint64_t static_value1 = 0xfd4ed8c447d4f279ULL;
00096 static const uint64_t static_value2 = 0xeb6d602b78f3777cULL;
00097 };
00098
00099 template<class ContainerAllocator>
00100 struct DataType< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "srs_assisted_arm_navigation_msgs/ManualArmManipResult";
00104 }
00105
00106 static const char* value(const ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> &) { return value(); }
00107 };
00108
00109 template<class ContainerAllocator>
00110 struct Definition< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> > {
00111 static const char* value()
00112 {
00113 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00114 # result\n\
00115 bool success\n\
00116 bool failed\n\
00117 bool repeat\n\
00118 bool timeout\n\
00119 bool collision\n\
00120 duration time_elapsed\n\
00121 \n\
00122 ";
00123 }
00124
00125 static const char* value(const ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> &) { return value(); }
00126 };
00127
00128 template<class ContainerAllocator> struct IsFixedSize< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> > : public TrueType {};
00129 }
00130 }
00131
00132 namespace ros
00133 {
00134 namespace serialization
00135 {
00136
00137 template<class ContainerAllocator> struct Serializer< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> >
00138 {
00139 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00140 {
00141 stream.next(m.success);
00142 stream.next(m.failed);
00143 stream.next(m.repeat);
00144 stream.next(m.timeout);
00145 stream.next(m.collision);
00146 stream.next(m.time_elapsed);
00147 }
00148
00149 ROS_DECLARE_ALLINONE_SERIALIZER;
00150 };
00151 }
00152 }
00153
00154 namespace ros
00155 {
00156 namespace message_operations
00157 {
00158
00159 template<class ContainerAllocator>
00160 struct Printer< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> >
00161 {
00162 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> & v)
00163 {
00164 s << indent << "success: ";
00165 Printer<uint8_t>::stream(s, indent + " ", v.success);
00166 s << indent << "failed: ";
00167 Printer<uint8_t>::stream(s, indent + " ", v.failed);
00168 s << indent << "repeat: ";
00169 Printer<uint8_t>::stream(s, indent + " ", v.repeat);
00170 s << indent << "timeout: ";
00171 Printer<uint8_t>::stream(s, indent + " ", v.timeout);
00172 s << indent << "collision: ";
00173 Printer<uint8_t>::stream(s, indent + " ", v.collision);
00174 s << indent << "time_elapsed: ";
00175 Printer<ros::Duration>::stream(s, indent + " ", v.time_elapsed);
00176 }
00177 };
00178
00179
00180 }
00181 }
00182
00183 #endif // SRS_ASSISTED_ARM_NAVIGATION_MSGS_MESSAGE_MANUALARMMANIPRESULT_H
00184