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


r2_msgs
Author(s): Paul Dinh
autogenerated on Fri Jan 3 2014 11:33:55