ArmAction.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-simple_arms/doc_stacks/2014-01-03_11-56-23.423265/simple_arms/simple_arm_server/msg/ArmAction.msg */
00002 #ifndef SIMPLE_ARM_SERVER_MESSAGE_ARMACTION_H
00003 #define SIMPLE_ARM_SERVER_MESSAGE_ARMACTION_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 "geometry_msgs/Pose.h"
00018 
00019 namespace simple_arm_server
00020 {
00021 template <class ContainerAllocator>
00022 struct ArmAction_ {
00023   typedef ArmAction_<ContainerAllocator> Type;
00024 
00025   ArmAction_()
00026   : type(0)
00027   , goal()
00028   , command(0.0)
00029   , move_time()
00030   {
00031   }
00032 
00033   ArmAction_(const ContainerAllocator& _alloc)
00034   : type(0)
00035   , goal(_alloc)
00036   , command(0.0)
00037   , move_time()
00038   {
00039   }
00040 
00041   typedef int8_t _type_type;
00042   int8_t type;
00043 
00044   typedef  ::geometry_msgs::Pose_<ContainerAllocator>  _goal_type;
00045    ::geometry_msgs::Pose_<ContainerAllocator>  goal;
00046 
00047   typedef double _command_type;
00048   double command;
00049 
00050   typedef ros::Duration _move_time_type;
00051   ros::Duration move_time;
00052 
00053   enum { MOVE_ARM = 0 };
00054   enum { MOVE_GRIPPER = 1 };
00055 
00056   typedef boost::shared_ptr< ::simple_arm_server::ArmAction_<ContainerAllocator> > Ptr;
00057   typedef boost::shared_ptr< ::simple_arm_server::ArmAction_<ContainerAllocator>  const> ConstPtr;
00058   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00059 }; // struct ArmAction
00060 typedef  ::simple_arm_server::ArmAction_<std::allocator<void> > ArmAction;
00061 
00062 typedef boost::shared_ptr< ::simple_arm_server::ArmAction> ArmActionPtr;
00063 typedef boost::shared_ptr< ::simple_arm_server::ArmAction const> ArmActionConstPtr;
00064 
00065 
00066 template<typename ContainerAllocator>
00067 std::ostream& operator<<(std::ostream& s, const  ::simple_arm_server::ArmAction_<ContainerAllocator> & v)
00068 {
00069   ros::message_operations::Printer< ::simple_arm_server::ArmAction_<ContainerAllocator> >::stream(s, "", v);
00070   return s;}
00071 
00072 } // namespace simple_arm_server
00073 
00074 namespace ros
00075 {
00076 namespace message_traits
00077 {
00078 template<class ContainerAllocator> struct IsMessage< ::simple_arm_server::ArmAction_<ContainerAllocator> > : public TrueType {};
00079 template<class ContainerAllocator> struct IsMessage< ::simple_arm_server::ArmAction_<ContainerAllocator>  const> : public TrueType {};
00080 template<class ContainerAllocator>
00081 struct MD5Sum< ::simple_arm_server::ArmAction_<ContainerAllocator> > {
00082   static const char* value() 
00083   {
00084     return "3cbdbdb85ac6ff6f8288425d4a1dec78";
00085   }
00086 
00087   static const char* value(const  ::simple_arm_server::ArmAction_<ContainerAllocator> &) { return value(); } 
00088   static const uint64_t static_value1 = 0x3cbdbdb85ac6ff6fULL;
00089   static const uint64_t static_value2 = 0x8288425d4a1dec78ULL;
00090 };
00091 
00092 template<class ContainerAllocator>
00093 struct DataType< ::simple_arm_server::ArmAction_<ContainerAllocator> > {
00094   static const char* value() 
00095   {
00096     return "simple_arm_server/ArmAction";
00097   }
00098 
00099   static const char* value(const  ::simple_arm_server::ArmAction_<ContainerAllocator> &) { return value(); } 
00100 };
00101 
00102 template<class ContainerAllocator>
00103 struct Definition< ::simple_arm_server::ArmAction_<ContainerAllocator> > {
00104   static const char* value() 
00105   {
00106     return "#\n\
00107 # Move arm or adjust gripper\n\
00108 #\n\
00109 \n\
00110 byte MOVE_ARM=0\n\
00111 byte MOVE_GRIPPER=1\n\
00112 \n\
00113 byte type                   # move the arm or the gripper?\n\
00114 \n\
00115 geometry_msgs/Pose goal     # goal for arm\n\
00116 float64 command    # width to open gripper\n\
00117 \n\
00118 duration move_time\n\
00119 \n\
00120 ================================================================================\n\
00121 MSG: geometry_msgs/Pose\n\
00122 # A representation of pose in free space, composed of postion and orientation. \n\
00123 Point position\n\
00124 Quaternion orientation\n\
00125 \n\
00126 ================================================================================\n\
00127 MSG: geometry_msgs/Point\n\
00128 # This contains the position of a point in free space\n\
00129 float64 x\n\
00130 float64 y\n\
00131 float64 z\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: geometry_msgs/Quaternion\n\
00135 # This represents an orientation in free space in quaternion form.\n\
00136 \n\
00137 float64 x\n\
00138 float64 y\n\
00139 float64 z\n\
00140 float64 w\n\
00141 \n\
00142 ";
00143   }
00144 
00145   static const char* value(const  ::simple_arm_server::ArmAction_<ContainerAllocator> &) { return value(); } 
00146 };
00147 
00148 template<class ContainerAllocator> struct IsFixedSize< ::simple_arm_server::ArmAction_<ContainerAllocator> > : public TrueType {};
00149 } // namespace message_traits
00150 } // namespace ros
00151 
00152 namespace ros
00153 {
00154 namespace serialization
00155 {
00156 
00157 template<class ContainerAllocator> struct Serializer< ::simple_arm_server::ArmAction_<ContainerAllocator> >
00158 {
00159   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00160   {
00161     stream.next(m.type);
00162     stream.next(m.goal);
00163     stream.next(m.command);
00164     stream.next(m.move_time);
00165   }
00166 
00167   ROS_DECLARE_ALLINONE_SERIALIZER;
00168 }; // struct ArmAction_
00169 } // namespace serialization
00170 } // namespace ros
00171 
00172 namespace ros
00173 {
00174 namespace message_operations
00175 {
00176 
00177 template<class ContainerAllocator>
00178 struct Printer< ::simple_arm_server::ArmAction_<ContainerAllocator> >
00179 {
00180   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::simple_arm_server::ArmAction_<ContainerAllocator> & v) 
00181   {
00182     s << indent << "type: ";
00183     Printer<int8_t>::stream(s, indent + "  ", v.type);
00184     s << indent << "goal: ";
00185 s << std::endl;
00186     Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + "  ", v.goal);
00187     s << indent << "command: ";
00188     Printer<double>::stream(s, indent + "  ", v.command);
00189     s << indent << "move_time: ";
00190     Printer<ros::Duration>::stream(s, indent + "  ", v.move_time);
00191   }
00192 };
00193 
00194 
00195 } // namespace message_operations
00196 } // namespace ros
00197 
00198 #endif // SIMPLE_ARM_SERVER_MESSAGE_ARMACTION_H
00199 


simple_arm_server
Author(s): Michael Ferguson
autogenerated on Fri Jan 3 2014 11:58:43