IMGUIAdvancedOptions.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/IMGUIAdvancedOptions.msg */
00002 #ifndef PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_IMGUIADVANCEDOPTIONS_H
00003 #define PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_IMGUIADVANCEDOPTIONS_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 pr2_object_manipulation_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct IMGUIAdvancedOptions_ {
00022   typedef IMGUIAdvancedOptions_<ContainerAllocator> Type;
00023 
00024   IMGUIAdvancedOptions_()
00025   : reactive_grasping(false)
00026   , reactive_force(false)
00027   , reactive_place(false)
00028   , lift_steps(0)
00029   , retreat_steps(0)
00030   , lift_direction_choice(0)
00031   , desired_approach(0)
00032   , min_approach(0)
00033   , max_contact_force(0.0)
00034   , find_alternatives(false)
00035   , always_plan_grasps(false)
00036   , cycle_gripper_opening(false)
00037   {
00038   }
00039 
00040   IMGUIAdvancedOptions_(const ContainerAllocator& _alloc)
00041   : reactive_grasping(false)
00042   , reactive_force(false)
00043   , reactive_place(false)
00044   , lift_steps(0)
00045   , retreat_steps(0)
00046   , lift_direction_choice(0)
00047   , desired_approach(0)
00048   , min_approach(0)
00049   , max_contact_force(0.0)
00050   , find_alternatives(false)
00051   , always_plan_grasps(false)
00052   , cycle_gripper_opening(false)
00053   {
00054   }
00055 
00056   typedef uint8_t _reactive_grasping_type;
00057   uint8_t reactive_grasping;
00058 
00059   typedef uint8_t _reactive_force_type;
00060   uint8_t reactive_force;
00061 
00062   typedef uint8_t _reactive_place_type;
00063   uint8_t reactive_place;
00064 
00065   typedef int32_t _lift_steps_type;
00066   int32_t lift_steps;
00067 
00068   typedef int32_t _retreat_steps_type;
00069   int32_t retreat_steps;
00070 
00071   typedef int32_t _lift_direction_choice_type;
00072   int32_t lift_direction_choice;
00073 
00074   typedef int32_t _desired_approach_type;
00075   int32_t desired_approach;
00076 
00077   typedef int32_t _min_approach_type;
00078   int32_t min_approach;
00079 
00080   typedef float _max_contact_force_type;
00081   float max_contact_force;
00082 
00083   typedef uint8_t _find_alternatives_type;
00084   uint8_t find_alternatives;
00085 
00086   typedef uint8_t _always_plan_grasps_type;
00087   uint8_t always_plan_grasps;
00088 
00089   typedef uint8_t _cycle_gripper_opening_type;
00090   uint8_t cycle_gripper_opening;
00091 
00092 
00093   typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::IMGUIAdvancedOptions_<ContainerAllocator> > Ptr;
00094   typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::IMGUIAdvancedOptions_<ContainerAllocator>  const> ConstPtr;
00095   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00096 }; // struct IMGUIAdvancedOptions
00097 typedef  ::pr2_object_manipulation_msgs::IMGUIAdvancedOptions_<std::allocator<void> > IMGUIAdvancedOptions;
00098 
00099 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::IMGUIAdvancedOptions> IMGUIAdvancedOptionsPtr;
00100 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::IMGUIAdvancedOptions const> IMGUIAdvancedOptionsConstPtr;
00101 
00102 
00103 template<typename ContainerAllocator>
00104 std::ostream& operator<<(std::ostream& s, const  ::pr2_object_manipulation_msgs::IMGUIAdvancedOptions_<ContainerAllocator> & v)
00105 {
00106   ros::message_operations::Printer< ::pr2_object_manipulation_msgs::IMGUIAdvancedOptions_<ContainerAllocator> >::stream(s, "", v);
00107   return s;}
00108 
00109 } // namespace pr2_object_manipulation_msgs
00110 
00111 namespace ros
00112 {
00113 namespace message_traits
00114 {
00115 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::IMGUIAdvancedOptions_<ContainerAllocator> > : public TrueType {};
00116 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::IMGUIAdvancedOptions_<ContainerAllocator>  const> : public TrueType {};
00117 template<class ContainerAllocator>
00118 struct MD5Sum< ::pr2_object_manipulation_msgs::IMGUIAdvancedOptions_<ContainerAllocator> > {
00119   static const char* value() 
00120   {
00121     return "b50b9e4800a63df6bed859efc223000a";
00122   }
00123 
00124   static const char* value(const  ::pr2_object_manipulation_msgs::IMGUIAdvancedOptions_<ContainerAllocator> &) { return value(); } 
00125   static const uint64_t static_value1 = 0xb50b9e4800a63df6ULL;
00126   static const uint64_t static_value2 = 0xbed859efc223000aULL;
00127 };
00128 
00129 template<class ContainerAllocator>
00130 struct DataType< ::pr2_object_manipulation_msgs::IMGUIAdvancedOptions_<ContainerAllocator> > {
00131   static const char* value() 
00132   {
00133     return "pr2_object_manipulation_msgs/IMGUIAdvancedOptions";
00134   }
00135 
00136   static const char* value(const  ::pr2_object_manipulation_msgs::IMGUIAdvancedOptions_<ContainerAllocator> &) { return value(); } 
00137 };
00138 
00139 template<class ContainerAllocator>
00140 struct Definition< ::pr2_object_manipulation_msgs::IMGUIAdvancedOptions_<ContainerAllocator> > {
00141   static const char* value() 
00142   {
00143     return "    \n\
00144 bool reactive_grasping\n\
00145 bool reactive_force     \n\
00146 bool reactive_place\n\
00147 int32 lift_steps\n\
00148 int32 retreat_steps\n\
00149 int32 lift_direction_choice\n\
00150 int32 desired_approach\n\
00151 int32 min_approach\n\
00152 float32 max_contact_force\n\
00153 bool find_alternatives\n\
00154 bool always_plan_grasps\n\
00155 bool cycle_gripper_opening\n\
00156 \n\
00157 ";
00158   }
00159 
00160   static const char* value(const  ::pr2_object_manipulation_msgs::IMGUIAdvancedOptions_<ContainerAllocator> &) { return value(); } 
00161 };
00162 
00163 template<class ContainerAllocator> struct IsFixedSize< ::pr2_object_manipulation_msgs::IMGUIAdvancedOptions_<ContainerAllocator> > : public TrueType {};
00164 } // namespace message_traits
00165 } // namespace ros
00166 
00167 namespace ros
00168 {
00169 namespace serialization
00170 {
00171 
00172 template<class ContainerAllocator> struct Serializer< ::pr2_object_manipulation_msgs::IMGUIAdvancedOptions_<ContainerAllocator> >
00173 {
00174   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00175   {
00176     stream.next(m.reactive_grasping);
00177     stream.next(m.reactive_force);
00178     stream.next(m.reactive_place);
00179     stream.next(m.lift_steps);
00180     stream.next(m.retreat_steps);
00181     stream.next(m.lift_direction_choice);
00182     stream.next(m.desired_approach);
00183     stream.next(m.min_approach);
00184     stream.next(m.max_contact_force);
00185     stream.next(m.find_alternatives);
00186     stream.next(m.always_plan_grasps);
00187     stream.next(m.cycle_gripper_opening);
00188   }
00189 
00190   ROS_DECLARE_ALLINONE_SERIALIZER;
00191 }; // struct IMGUIAdvancedOptions_
00192 } // namespace serialization
00193 } // namespace ros
00194 
00195 namespace ros
00196 {
00197 namespace message_operations
00198 {
00199 
00200 template<class ContainerAllocator>
00201 struct Printer< ::pr2_object_manipulation_msgs::IMGUIAdvancedOptions_<ContainerAllocator> >
00202 {
00203   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_object_manipulation_msgs::IMGUIAdvancedOptions_<ContainerAllocator> & v) 
00204   {
00205     s << indent << "reactive_grasping: ";
00206     Printer<uint8_t>::stream(s, indent + "  ", v.reactive_grasping);
00207     s << indent << "reactive_force: ";
00208     Printer<uint8_t>::stream(s, indent + "  ", v.reactive_force);
00209     s << indent << "reactive_place: ";
00210     Printer<uint8_t>::stream(s, indent + "  ", v.reactive_place);
00211     s << indent << "lift_steps: ";
00212     Printer<int32_t>::stream(s, indent + "  ", v.lift_steps);
00213     s << indent << "retreat_steps: ";
00214     Printer<int32_t>::stream(s, indent + "  ", v.retreat_steps);
00215     s << indent << "lift_direction_choice: ";
00216     Printer<int32_t>::stream(s, indent + "  ", v.lift_direction_choice);
00217     s << indent << "desired_approach: ";
00218     Printer<int32_t>::stream(s, indent + "  ", v.desired_approach);
00219     s << indent << "min_approach: ";
00220     Printer<int32_t>::stream(s, indent + "  ", v.min_approach);
00221     s << indent << "max_contact_force: ";
00222     Printer<float>::stream(s, indent + "  ", v.max_contact_force);
00223     s << indent << "find_alternatives: ";
00224     Printer<uint8_t>::stream(s, indent + "  ", v.find_alternatives);
00225     s << indent << "always_plan_grasps: ";
00226     Printer<uint8_t>::stream(s, indent + "  ", v.always_plan_grasps);
00227     s << indent << "cycle_gripper_opening: ";
00228     Printer<uint8_t>::stream(s, indent + "  ", v.cycle_gripper_opening);
00229   }
00230 };
00231 
00232 
00233 } // namespace message_operations
00234 } // namespace ros
00235 
00236 #endif // PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_IMGUIADVANCEDOPTIONS_H
00237 


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