ManipulationPhase.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-object_manipulation/doc_stacks/2014-10-06_02-51-20.607186/object_manipulation/object_manipulation_msgs/msg/ManipulationPhase.msg */
00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_MANIPULATIONPHASE_H
00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_MANIPULATIONPHASE_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 object_manipulation_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct ManipulationPhase_ {
00022   typedef ManipulationPhase_<ContainerAllocator> Type;
00023 
00024   ManipulationPhase_()
00025   : phase(0)
00026   {
00027   }
00028 
00029   ManipulationPhase_(const ContainerAllocator& _alloc)
00030   : phase(0)
00031   {
00032   }
00033 
00034   typedef int32_t _phase_type;
00035   int32_t phase;
00036 
00037   enum { CHECKING_FEASIBILITY = 0 };
00038   enum { MOVING_TO_PREGRASP = 1 };
00039   enum { MOVING_TO_GRASP = 2 };
00040   enum { CLOSING = 3 };
00041   enum { ADJUSTING_GRASP = 4 };
00042   enum { LIFTING = 5 };
00043   enum { MOVING_WITH_OBJECT = 6 };
00044   enum { MOVING_TO_PLACE = 7 };
00045   enum { PLACING = 8 };
00046   enum { OPENING = 9 };
00047   enum { RETREATING = 10 };
00048   enum { MOVING_WITHOUT_OBJECT = 11 };
00049   enum { SHAKING = 12 };
00050   enum { SUCCEEDED = 13 };
00051   enum { FAILED = 14 };
00052   enum { ABORTED = 15 };
00053   enum { HOLDING_OBJECT = 16 };
00054 
00055   typedef boost::shared_ptr< ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> > Ptr;
00056   typedef boost::shared_ptr< ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator>  const> ConstPtr;
00057   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00058 }; // struct ManipulationPhase
00059 typedef  ::object_manipulation_msgs::ManipulationPhase_<std::allocator<void> > ManipulationPhase;
00060 
00061 typedef boost::shared_ptr< ::object_manipulation_msgs::ManipulationPhase> ManipulationPhasePtr;
00062 typedef boost::shared_ptr< ::object_manipulation_msgs::ManipulationPhase const> ManipulationPhaseConstPtr;
00063 
00064 
00065 template<typename ContainerAllocator>
00066 std::ostream& operator<<(std::ostream& s, const  ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> & v)
00067 {
00068   ros::message_operations::Printer< ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> >::stream(s, "", v);
00069   return s;}
00070 
00071 } // namespace object_manipulation_msgs
00072 
00073 namespace ros
00074 {
00075 namespace message_traits
00076 {
00077 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> > : public TrueType {};
00078 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator>  const> : public TrueType {};
00079 template<class ContainerAllocator>
00080 struct MD5Sum< ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> > {
00081   static const char* value() 
00082   {
00083     return "2c824c847a35d8fd9277d324a3723378";
00084   }
00085 
00086   static const char* value(const  ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> &) { return value(); } 
00087   static const uint64_t static_value1 = 0x2c824c847a35d8fdULL;
00088   static const uint64_t static_value2 = 0x9277d324a3723378ULL;
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct DataType< ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "object_manipulation_msgs/ManipulationPhase";
00096   }
00097 
00098   static const char* value(const  ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> &) { return value(); } 
00099 };
00100 
00101 template<class ContainerAllocator>
00102 struct Definition< ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> > {
00103   static const char* value() 
00104   {
00105     return "int32 CHECKING_FEASIBILITY = 0\n\
00106 int32 MOVING_TO_PREGRASP = 1\n\
00107 int32 MOVING_TO_GRASP = 2\n\
00108 int32 CLOSING = 3 \n\
00109 int32 ADJUSTING_GRASP = 4\n\
00110 int32 LIFTING = 5\n\
00111 int32 MOVING_WITH_OBJECT = 6\n\
00112 int32 MOVING_TO_PLACE = 7\n\
00113 int32 PLACING = 8\n\
00114 int32 OPENING = 9\n\
00115 int32 RETREATING = 10\n\
00116 int32 MOVING_WITHOUT_OBJECT = 11\n\
00117 int32 SHAKING = 12\n\
00118 int32 SUCCEEDED = 13\n\
00119 int32 FAILED = 14\n\
00120 int32 ABORTED = 15\n\
00121 int32 HOLDING_OBJECT = 16\n\
00122 \n\
00123 int32 phase\n\
00124 ";
00125   }
00126 
00127   static const char* value(const  ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> &) { return value(); } 
00128 };
00129 
00130 template<class ContainerAllocator> struct IsFixedSize< ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> > : public TrueType {};
00131 } // namespace message_traits
00132 } // namespace ros
00133 
00134 namespace ros
00135 {
00136 namespace serialization
00137 {
00138 
00139 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> >
00140 {
00141   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00142   {
00143     stream.next(m.phase);
00144   }
00145 
00146   ROS_DECLARE_ALLINONE_SERIALIZER;
00147 }; // struct ManipulationPhase_
00148 } // namespace serialization
00149 } // namespace ros
00150 
00151 namespace ros
00152 {
00153 namespace message_operations
00154 {
00155 
00156 template<class ContainerAllocator>
00157 struct Printer< ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> >
00158 {
00159   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::object_manipulation_msgs::ManipulationPhase_<ContainerAllocator> & v) 
00160   {
00161     s << indent << "phase: ";
00162     Printer<int32_t>::stream(s, indent + "  ", v.phase);
00163   }
00164 };
00165 
00166 
00167 } // namespace message_operations
00168 } // namespace ros
00169 
00170 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_MANIPULATIONPHASE_H
00171 


object_manipulation_msgs
Author(s): Matei Ciocarlie
autogenerated on Mon Oct 6 2014 02:58:11