UserCommandGoal.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-pr2_object_manipulation/doc_stacks/2014-01-03_11-39-44.427894/pr2_object_manipulation/applications/pr2_interactive_object_detection/msg/UserCommandGoal.msg */
00002 #ifndef PR2_INTERACTIVE_OBJECT_DETECTION_MESSAGE_USERCOMMANDGOAL_H
00003 #define PR2_INTERACTIVE_OBJECT_DETECTION_MESSAGE_USERCOMMANDGOAL_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_interactive_object_detection
00019 {
00020 template <class ContainerAllocator>
00021 struct UserCommandGoal_ {
00022   typedef UserCommandGoal_<ContainerAllocator> Type;
00023 
00024   UserCommandGoal_()
00025   : request(0)
00026   , interactive(false)
00027   {
00028   }
00029 
00030   UserCommandGoal_(const ContainerAllocator& _alloc)
00031   : request(0)
00032   , interactive(false)
00033   {
00034   }
00035 
00036   typedef int8_t _request_type;
00037   int8_t request;
00038 
00039   typedef uint8_t _interactive_type;
00040   uint8_t interactive;
00041 
00042   enum { LOOK_AT_TABLE = 0 };
00043   enum { SEGMENT = 1 };
00044   enum { RECOGNIZE = 2 };
00045   enum { DETECT = 3 };
00046   enum { RESET = 4 };
00047 
00048   typedef boost::shared_ptr< ::pr2_interactive_object_detection::UserCommandGoal_<ContainerAllocator> > Ptr;
00049   typedef boost::shared_ptr< ::pr2_interactive_object_detection::UserCommandGoal_<ContainerAllocator>  const> ConstPtr;
00050   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 }; // struct UserCommandGoal
00052 typedef  ::pr2_interactive_object_detection::UserCommandGoal_<std::allocator<void> > UserCommandGoal;
00053 
00054 typedef boost::shared_ptr< ::pr2_interactive_object_detection::UserCommandGoal> UserCommandGoalPtr;
00055 typedef boost::shared_ptr< ::pr2_interactive_object_detection::UserCommandGoal const> UserCommandGoalConstPtr;
00056 
00057 
00058 template<typename ContainerAllocator>
00059 std::ostream& operator<<(std::ostream& s, const  ::pr2_interactive_object_detection::UserCommandGoal_<ContainerAllocator> & v)
00060 {
00061   ros::message_operations::Printer< ::pr2_interactive_object_detection::UserCommandGoal_<ContainerAllocator> >::stream(s, "", v);
00062   return s;}
00063 
00064 } // namespace pr2_interactive_object_detection
00065 
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070 template<class ContainerAllocator> struct IsMessage< ::pr2_interactive_object_detection::UserCommandGoal_<ContainerAllocator> > : public TrueType {};
00071 template<class ContainerAllocator> struct IsMessage< ::pr2_interactive_object_detection::UserCommandGoal_<ContainerAllocator>  const> : public TrueType {};
00072 template<class ContainerAllocator>
00073 struct MD5Sum< ::pr2_interactive_object_detection::UserCommandGoal_<ContainerAllocator> > {
00074   static const char* value() 
00075   {
00076     return "c4a081a4406d3a53c6fc74271793a116";
00077   }
00078 
00079   static const char* value(const  ::pr2_interactive_object_detection::UserCommandGoal_<ContainerAllocator> &) { return value(); } 
00080   static const uint64_t static_value1 = 0xc4a081a4406d3a53ULL;
00081   static const uint64_t static_value2 = 0xc6fc74271793a116ULL;
00082 };
00083 
00084 template<class ContainerAllocator>
00085 struct DataType< ::pr2_interactive_object_detection::UserCommandGoal_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "pr2_interactive_object_detection/UserCommandGoal";
00089   }
00090 
00091   static const char* value(const  ::pr2_interactive_object_detection::UserCommandGoal_<ContainerAllocator> &) { return value(); } 
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct Definition< ::pr2_interactive_object_detection::UserCommandGoal_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00099 #request constants\n\
00100 int8 LOOK_AT_TABLE=0\n\
00101 \n\
00102 int8 SEGMENT=1\n\
00103 int8 RECOGNIZE=2\n\
00104 int8 DETECT=3\n\
00105 int8 RESET=4\n\
00106 \n\
00107 int8 request\n\
00108 bool interactive\n\
00109 \n\
00110 ";
00111   }
00112 
00113   static const char* value(const  ::pr2_interactive_object_detection::UserCommandGoal_<ContainerAllocator> &) { return value(); } 
00114 };
00115 
00116 template<class ContainerAllocator> struct IsFixedSize< ::pr2_interactive_object_detection::UserCommandGoal_<ContainerAllocator> > : public TrueType {};
00117 } // namespace message_traits
00118 } // namespace ros
00119 
00120 namespace ros
00121 {
00122 namespace serialization
00123 {
00124 
00125 template<class ContainerAllocator> struct Serializer< ::pr2_interactive_object_detection::UserCommandGoal_<ContainerAllocator> >
00126 {
00127   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00128   {
00129     stream.next(m.request);
00130     stream.next(m.interactive);
00131   }
00132 
00133   ROS_DECLARE_ALLINONE_SERIALIZER;
00134 }; // struct UserCommandGoal_
00135 } // namespace serialization
00136 } // namespace ros
00137 
00138 namespace ros
00139 {
00140 namespace message_operations
00141 {
00142 
00143 template<class ContainerAllocator>
00144 struct Printer< ::pr2_interactive_object_detection::UserCommandGoal_<ContainerAllocator> >
00145 {
00146   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_interactive_object_detection::UserCommandGoal_<ContainerAllocator> & v) 
00147   {
00148     s << indent << "request: ";
00149     Printer<int8_t>::stream(s, indent + "  ", v.request);
00150     s << indent << "interactive: ";
00151     Printer<uint8_t>::stream(s, indent + "  ", v.interactive);
00152   }
00153 };
00154 
00155 
00156 } // namespace message_operations
00157 } // namespace ros
00158 
00159 #endif // PR2_INTERACTIVE_OBJECT_DETECTION_MESSAGE_USERCOMMANDGOAL_H
00160 


pr2_interactive_object_detection
Author(s): David Gossow
autogenerated on Fri Jan 3 2014 12:04:26