IMGUICommand.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/manipulation/pr2_object_manipulation_msgs/msg/IMGUICommand.msg */
00002 #ifndef PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_IMGUICOMMAND_H
00003 #define PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_IMGUICOMMAND_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 IMGUICommand_ {
00022   typedef IMGUICommand_<ContainerAllocator> Type;
00023 
00024   IMGUICommand_()
00025   : command(0)
00026   , script_name()
00027   , script_group_name()
00028   {
00029   }
00030 
00031   IMGUICommand_(const ContainerAllocator& _alloc)
00032   : command(0)
00033   , script_name(_alloc)
00034   , script_group_name(_alloc)
00035   {
00036   }
00037 
00038   typedef int32_t _command_type;
00039   int32_t command;
00040 
00041   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _script_name_type;
00042   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  script_name;
00043 
00044   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _script_group_name_type;
00045   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  script_group_name;
00046 
00047   enum { PICKUP = 0 };
00048   enum { PLACE = 1 };
00049   enum { PLANNED_MOVE = 2 };
00050   enum { RESET = 3 };
00051   enum { MOVE_ARM = 4 };
00052   enum { LOOK_AT_TABLE = 5 };
00053   enum { MODEL_OBJECT = 6 };
00054   enum { MOVE_GRIPPER = 7 };
00055   enum { SCRIPTED_ACTION = 8 };
00056   enum { STOP_NAV = 9 };
00057 
00058   typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::IMGUICommand_<ContainerAllocator> > Ptr;
00059   typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::IMGUICommand_<ContainerAllocator>  const> ConstPtr;
00060   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 }; // struct IMGUICommand
00062 typedef  ::pr2_object_manipulation_msgs::IMGUICommand_<std::allocator<void> > IMGUICommand;
00063 
00064 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::IMGUICommand> IMGUICommandPtr;
00065 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::IMGUICommand const> IMGUICommandConstPtr;
00066 
00067 
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const  ::pr2_object_manipulation_msgs::IMGUICommand_<ContainerAllocator> & v)
00070 {
00071   ros::message_operations::Printer< ::pr2_object_manipulation_msgs::IMGUICommand_<ContainerAllocator> >::stream(s, "", v);
00072   return s;}
00073 
00074 } // namespace pr2_object_manipulation_msgs
00075 
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::IMGUICommand_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::IMGUICommand_<ContainerAllocator>  const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::pr2_object_manipulation_msgs::IMGUICommand_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "d4a7867f271ce2cd8a5b55564de95925";
00087   }
00088 
00089   static const char* value(const  ::pr2_object_manipulation_msgs::IMGUICommand_<ContainerAllocator> &) { return value(); } 
00090   static const uint64_t static_value1 = 0xd4a7867f271ce2cdULL;
00091   static const uint64_t static_value2 = 0x8a5b55564de95925ULL;
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct DataType< ::pr2_object_manipulation_msgs::IMGUICommand_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "pr2_object_manipulation_msgs/IMGUICommand";
00099   }
00100 
00101   static const char* value(const  ::pr2_object_manipulation_msgs::IMGUICommand_<ContainerAllocator> &) { return value(); } 
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct Definition< ::pr2_object_manipulation_msgs::IMGUICommand_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "\n\
00109 int32 PICKUP = 0\n\
00110 int32 PLACE = 1\n\
00111 int32 PLANNED_MOVE = 2\n\
00112 int32 RESET = 3\n\
00113 int32 MOVE_ARM = 4\n\
00114 int32 LOOK_AT_TABLE = 5\n\
00115 int32 MODEL_OBJECT = 6\n\
00116 int32 MOVE_GRIPPER = 7\n\
00117 int32 SCRIPTED_ACTION = 8\n\
00118 int32 STOP_NAV = 9\n\
00119 \n\
00120 int32 command\n\
00121 string script_name\n\
00122 string script_group_name\n\
00123 \n\
00124 ";
00125   }
00126 
00127   static const char* value(const  ::pr2_object_manipulation_msgs::IMGUICommand_<ContainerAllocator> &) { return value(); } 
00128 };
00129 
00130 } // namespace message_traits
00131 } // namespace ros
00132 
00133 namespace ros
00134 {
00135 namespace serialization
00136 {
00137 
00138 template<class ContainerAllocator> struct Serializer< ::pr2_object_manipulation_msgs::IMGUICommand_<ContainerAllocator> >
00139 {
00140   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00141   {
00142     stream.next(m.command);
00143     stream.next(m.script_name);
00144     stream.next(m.script_group_name);
00145   }
00146 
00147   ROS_DECLARE_ALLINONE_SERIALIZER;
00148 }; // struct IMGUICommand_
00149 } // namespace serialization
00150 } // namespace ros
00151 
00152 namespace ros
00153 {
00154 namespace message_operations
00155 {
00156 
00157 template<class ContainerAllocator>
00158 struct Printer< ::pr2_object_manipulation_msgs::IMGUICommand_<ContainerAllocator> >
00159 {
00160   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_object_manipulation_msgs::IMGUICommand_<ContainerAllocator> & v) 
00161   {
00162     s << indent << "command: ";
00163     Printer<int32_t>::stream(s, indent + "  ", v.command);
00164     s << indent << "script_name: ";
00165     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.script_name);
00166     s << indent << "script_group_name: ";
00167     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.script_group_name);
00168   }
00169 };
00170 
00171 
00172 } // namespace message_operations
00173 } // namespace ros
00174 
00175 #endif // PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_IMGUICOMMAND_H
00176 


pr2_object_manipulation_msgs
Author(s): Matei Ciocarlie
autogenerated on Fri Jan 3 2014 11:59:14