IMGUIResult.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-pr2_object_manipulation/doc_stacks/2014-10-06_11-30-38.833395/pr2_object_manipulation/manipulation/pr2_object_manipulation_msgs/msg/IMGUIResult.msg */
00002 #ifndef PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_IMGUIRESULT_H
00003 #define PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_IMGUIRESULT_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 "object_manipulation_msgs/ManipulationResult.h"
00018 
00019 namespace pr2_object_manipulation_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct IMGUIResult_ {
00023   typedef IMGUIResult_<ContainerAllocator> Type;
00024 
00025   IMGUIResult_()
00026   : result()
00027   {
00028   }
00029 
00030   IMGUIResult_(const ContainerAllocator& _alloc)
00031   : result(_alloc)
00032   {
00033   }
00034 
00035   typedef  ::object_manipulation_msgs::ManipulationResult_<ContainerAllocator>  _result_type;
00036    ::object_manipulation_msgs::ManipulationResult_<ContainerAllocator>  result;
00037 
00038 
00039   typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct IMGUIResult
00043 typedef  ::pr2_object_manipulation_msgs::IMGUIResult_<std::allocator<void> > IMGUIResult;
00044 
00045 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::IMGUIResult> IMGUIResultPtr;
00046 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::IMGUIResult const> IMGUIResultConstPtr;
00047 
00048 
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const  ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> & v)
00051 {
00052   ros::message_operations::Printer< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> >::stream(s, "", v);
00053   return s;}
00054 
00055 } // namespace pr2_object_manipulation_msgs
00056 
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator>  const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> > {
00065   static const char* value() 
00066   {
00067     return "f81d941ac01806ebaf0578f78def0828";
00068   }
00069 
00070   static const char* value(const  ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> &) { return value(); } 
00071   static const uint64_t static_value1 = 0xf81d941ac01806ebULL;
00072   static const uint64_t static_value2 = 0xaf0578f78def0828ULL;
00073 };
00074 
00075 template<class ContainerAllocator>
00076 struct DataType< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "pr2_object_manipulation_msgs/IMGUIResult";
00080   }
00081 
00082   static const char* value(const  ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> &) { return value(); } 
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct Definition< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 \n\
00091 #empty result\n\
00092 object_manipulation_msgs/ManipulationResult result\n\
00093 \n\
00094 \n\
00095 ================================================================================\n\
00096 MSG: object_manipulation_msgs/ManipulationResult\n\
00097 # Result codes for manipulation tasks\n\
00098 \n\
00099 # task completed as expected\n\
00100 # generally means you can proceed as planned\n\
00101 int32 SUCCESS = 1\n\
00102 \n\
00103 # task not possible (e.g. out of reach or obstacles in the way)\n\
00104 # generally means that the world was not disturbed, so you can try another task\n\
00105 int32 UNFEASIBLE = -1\n\
00106 \n\
00107 # task was thought possible, but failed due to unexpected events during execution\n\
00108 # it is likely that the world was disturbed, so you are encouraged to refresh\n\
00109 # your sensed world model before proceeding to another task\n\
00110 int32 FAILED = -2\n\
00111 \n\
00112 # a lower level error prevented task completion (e.g. joint controller not responding)\n\
00113 # generally requires human attention\n\
00114 int32 ERROR = -3\n\
00115 \n\
00116 # means that at some point during execution we ended up in a state that the collision-aware\n\
00117 # arm navigation module will not move out of. The world was likely not disturbed, but you \n\
00118 # probably need a new collision map to move the arm out of the stuck position\n\
00119 int32 ARM_MOVEMENT_PREVENTED = -4\n\
00120 \n\
00121 # specific to grasp actions\n\
00122 # the object was grasped successfully, but the lift attempt could not achieve the minimum lift distance requested\n\
00123 # it is likely that the collision environment will see collisions between the hand/object and the support surface\n\
00124 int32 LIFT_FAILED = -5\n\
00125 \n\
00126 # specific to place actions\n\
00127 # the object was placed successfully, but the retreat attempt could not achieve the minimum retreat distance requested\n\
00128 # it is likely that the collision environment will see collisions between the hand and the object\n\
00129 int32 RETREAT_FAILED = -6\n\
00130 \n\
00131 # indicates that somewhere along the line a human said \"wait, stop, this is bad, go back and do something else\"\n\
00132 int32 CANCELLED = -7\n\
00133 \n\
00134 # the actual value of this error code\n\
00135 int32 value\n\
00136 \n\
00137 ";
00138   }
00139 
00140   static const char* value(const  ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> &) { return value(); } 
00141 };
00142 
00143 template<class ContainerAllocator> struct IsFixedSize< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> > : public TrueType {};
00144 } // namespace message_traits
00145 } // namespace ros
00146 
00147 namespace ros
00148 {
00149 namespace serialization
00150 {
00151 
00152 template<class ContainerAllocator> struct Serializer< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> >
00153 {
00154   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00155   {
00156     stream.next(m.result);
00157   }
00158 
00159   ROS_DECLARE_ALLINONE_SERIALIZER;
00160 }; // struct IMGUIResult_
00161 } // namespace serialization
00162 } // namespace ros
00163 
00164 namespace ros
00165 {
00166 namespace message_operations
00167 {
00168 
00169 template<class ContainerAllocator>
00170 struct Printer< ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> >
00171 {
00172   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_object_manipulation_msgs::IMGUIResult_<ContainerAllocator> & v) 
00173   {
00174     s << indent << "result: ";
00175 s << std::endl;
00176     Printer< ::object_manipulation_msgs::ManipulationResult_<ContainerAllocator> >::stream(s, indent + "  ", v.result);
00177   }
00178 };
00179 
00180 
00181 } // namespace message_operations
00182 } // namespace ros
00183 
00184 #endif // PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_IMGUIRESULT_H
00185 


pr2_object_manipulation_msgs
Author(s): Matei Ciocarlie
autogenerated on Mon Oct 6 2014 11:55:21