cartesian_position.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-shadow_robot/doc_stacks/2014-10-06_07-33-10.674696/shadow_robot/sr_robot_msgs/msg/cartesian_position.msg */
00002 #ifndef SR_ROBOT_MSGS_MESSAGE_CARTESIAN_POSITION_H
00003 #define SR_ROBOT_MSGS_MESSAGE_CARTESIAN_POSITION_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 sr_robot_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct cartesian_position_ {
00022   typedef cartesian_position_<ContainerAllocator> Type;
00023 
00024   cartesian_position_()
00025   : tip_name()
00026   , tip_pos_x(0.0)
00027   , tip_pos_y(0.0)
00028   , tip_pos_z(0.0)
00029   , tip_orientation_rho(0.0)
00030   , tip_orientation_theta(0.0)
00031   , tip_orientation_sigma(0.0)
00032   {
00033   }
00034 
00035   cartesian_position_(const ContainerAllocator& _alloc)
00036   : tip_name(_alloc)
00037   , tip_pos_x(0.0)
00038   , tip_pos_y(0.0)
00039   , tip_pos_z(0.0)
00040   , tip_orientation_rho(0.0)
00041   , tip_orientation_theta(0.0)
00042   , tip_orientation_sigma(0.0)
00043   {
00044   }
00045 
00046   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _tip_name_type;
00047   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  tip_name;
00048 
00049   typedef float _tip_pos_x_type;
00050   float tip_pos_x;
00051 
00052   typedef float _tip_pos_y_type;
00053   float tip_pos_y;
00054 
00055   typedef float _tip_pos_z_type;
00056   float tip_pos_z;
00057 
00058   typedef float _tip_orientation_rho_type;
00059   float tip_orientation_rho;
00060 
00061   typedef float _tip_orientation_theta_type;
00062   float tip_orientation_theta;
00063 
00064   typedef float _tip_orientation_sigma_type;
00065   float tip_orientation_sigma;
00066 
00067 
00068   typedef boost::shared_ptr< ::sr_robot_msgs::cartesian_position_<ContainerAllocator> > Ptr;
00069   typedef boost::shared_ptr< ::sr_robot_msgs::cartesian_position_<ContainerAllocator>  const> ConstPtr;
00070   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00071 }; // struct cartesian_position
00072 typedef  ::sr_robot_msgs::cartesian_position_<std::allocator<void> > cartesian_position;
00073 
00074 typedef boost::shared_ptr< ::sr_robot_msgs::cartesian_position> cartesian_positionPtr;
00075 typedef boost::shared_ptr< ::sr_robot_msgs::cartesian_position const> cartesian_positionConstPtr;
00076 
00077 
00078 template<typename ContainerAllocator>
00079 std::ostream& operator<<(std::ostream& s, const  ::sr_robot_msgs::cartesian_position_<ContainerAllocator> & v)
00080 {
00081   ros::message_operations::Printer< ::sr_robot_msgs::cartesian_position_<ContainerAllocator> >::stream(s, "", v);
00082   return s;}
00083 
00084 } // namespace sr_robot_msgs
00085 
00086 namespace ros
00087 {
00088 namespace message_traits
00089 {
00090 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::cartesian_position_<ContainerAllocator> > : public TrueType {};
00091 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::cartesian_position_<ContainerAllocator>  const> : public TrueType {};
00092 template<class ContainerAllocator>
00093 struct MD5Sum< ::sr_robot_msgs::cartesian_position_<ContainerAllocator> > {
00094   static const char* value() 
00095   {
00096     return "cfc3f1750a36a668eb93288ed1128f42";
00097   }
00098 
00099   static const char* value(const  ::sr_robot_msgs::cartesian_position_<ContainerAllocator> &) { return value(); } 
00100   static const uint64_t static_value1 = 0xcfc3f1750a36a668ULL;
00101   static const uint64_t static_value2 = 0xeb93288ed1128f42ULL;
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct DataType< ::sr_robot_msgs::cartesian_position_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "sr_robot_msgs/cartesian_position";
00109   }
00110 
00111   static const char* value(const  ::sr_robot_msgs::cartesian_position_<ContainerAllocator> &) { return value(); } 
00112 };
00113 
00114 template<class ContainerAllocator>
00115 struct Definition< ::sr_robot_msgs::cartesian_position_<ContainerAllocator> > {
00116   static const char* value() 
00117   {
00118     return "string  tip_name\n\
00119 float32 tip_pos_x\n\
00120 float32 tip_pos_y\n\
00121 float32 tip_pos_z\n\
00122 float32 tip_orientation_rho\n\
00123 float32 tip_orientation_theta\n\
00124 float32 tip_orientation_sigma\n\
00125 \n\
00126 \n\
00127 ";
00128   }
00129 
00130   static const char* value(const  ::sr_robot_msgs::cartesian_position_<ContainerAllocator> &) { return value(); } 
00131 };
00132 
00133 } // namespace message_traits
00134 } // namespace ros
00135 
00136 namespace ros
00137 {
00138 namespace serialization
00139 {
00140 
00141 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::cartesian_position_<ContainerAllocator> >
00142 {
00143   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00144   {
00145     stream.next(m.tip_name);
00146     stream.next(m.tip_pos_x);
00147     stream.next(m.tip_pos_y);
00148     stream.next(m.tip_pos_z);
00149     stream.next(m.tip_orientation_rho);
00150     stream.next(m.tip_orientation_theta);
00151     stream.next(m.tip_orientation_sigma);
00152   }
00153 
00154   ROS_DECLARE_ALLINONE_SERIALIZER;
00155 }; // struct cartesian_position_
00156 } // namespace serialization
00157 } // namespace ros
00158 
00159 namespace ros
00160 {
00161 namespace message_operations
00162 {
00163 
00164 template<class ContainerAllocator>
00165 struct Printer< ::sr_robot_msgs::cartesian_position_<ContainerAllocator> >
00166 {
00167   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::sr_robot_msgs::cartesian_position_<ContainerAllocator> & v) 
00168   {
00169     s << indent << "tip_name: ";
00170     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.tip_name);
00171     s << indent << "tip_pos_x: ";
00172     Printer<float>::stream(s, indent + "  ", v.tip_pos_x);
00173     s << indent << "tip_pos_y: ";
00174     Printer<float>::stream(s, indent + "  ", v.tip_pos_y);
00175     s << indent << "tip_pos_z: ";
00176     Printer<float>::stream(s, indent + "  ", v.tip_pos_z);
00177     s << indent << "tip_orientation_rho: ";
00178     Printer<float>::stream(s, indent + "  ", v.tip_orientation_rho);
00179     s << indent << "tip_orientation_theta: ";
00180     Printer<float>::stream(s, indent + "  ", v.tip_orientation_theta);
00181     s << indent << "tip_orientation_sigma: ";
00182     Printer<float>::stream(s, indent + "  ", v.tip_orientation_sigma);
00183   }
00184 };
00185 
00186 
00187 } // namespace message_operations
00188 } // namespace ros
00189 
00190 #endif // SR_ROBOT_MSGS_MESSAGE_CARTESIAN_POSITION_H
00191 


sr_robot_msgs
Author(s): Ugo Cupcic/ugo@shadowrobot.com
autogenerated on Mon Oct 6 2014 07:40:06