TrackLinkCmd.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-pr2_controllers/doc_stacks/2014-04-24_15-41-20.176555/pr2_controllers/pr2_mechanism_controllers/msg/TrackLinkCmd.msg */
00002 #ifndef PR2_MECHANISM_CONTROLLERS_MESSAGE_TRACKLINKCMD_H
00003 #define PR2_MECHANISM_CONTROLLERS_MESSAGE_TRACKLINKCMD_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/Point.h"
00018 
00019 namespace pr2_mechanism_controllers
00020 {
00021 template <class ContainerAllocator>
00022 struct TrackLinkCmd_ {
00023   typedef TrackLinkCmd_<ContainerAllocator> Type;
00024 
00025   TrackLinkCmd_()
00026   : enable(0)
00027   , link_name()
00028   , point()
00029   {
00030   }
00031 
00032   TrackLinkCmd_(const ContainerAllocator& _alloc)
00033   : enable(0)
00034   , link_name(_alloc)
00035   , point(_alloc)
00036   {
00037   }
00038 
00039   typedef int8_t _enable_type;
00040   int8_t enable;
00041 
00042   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _link_name_type;
00043   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  link_name;
00044 
00045   typedef  ::geometry_msgs::Point_<ContainerAllocator>  _point_type;
00046    ::geometry_msgs::Point_<ContainerAllocator>  point;
00047 
00048 
00049   typedef boost::shared_ptr< ::pr2_mechanism_controllers::TrackLinkCmd_<ContainerAllocator> > Ptr;
00050   typedef boost::shared_ptr< ::pr2_mechanism_controllers::TrackLinkCmd_<ContainerAllocator>  const> ConstPtr;
00051   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 }; // struct TrackLinkCmd
00053 typedef  ::pr2_mechanism_controllers::TrackLinkCmd_<std::allocator<void> > TrackLinkCmd;
00054 
00055 typedef boost::shared_ptr< ::pr2_mechanism_controllers::TrackLinkCmd> TrackLinkCmdPtr;
00056 typedef boost::shared_ptr< ::pr2_mechanism_controllers::TrackLinkCmd const> TrackLinkCmdConstPtr;
00057 
00058 
00059 template<typename ContainerAllocator>
00060 std::ostream& operator<<(std::ostream& s, const  ::pr2_mechanism_controllers::TrackLinkCmd_<ContainerAllocator> & v)
00061 {
00062   ros::message_operations::Printer< ::pr2_mechanism_controllers::TrackLinkCmd_<ContainerAllocator> >::stream(s, "", v);
00063   return s;}
00064 
00065 } // namespace pr2_mechanism_controllers
00066 
00067 namespace ros
00068 {
00069 namespace message_traits
00070 {
00071 template<class ContainerAllocator> struct IsMessage< ::pr2_mechanism_controllers::TrackLinkCmd_<ContainerAllocator> > : public TrueType {};
00072 template<class ContainerAllocator> struct IsMessage< ::pr2_mechanism_controllers::TrackLinkCmd_<ContainerAllocator>  const> : public TrueType {};
00073 template<class ContainerAllocator>
00074 struct MD5Sum< ::pr2_mechanism_controllers::TrackLinkCmd_<ContainerAllocator> > {
00075   static const char* value() 
00076   {
00077     return "08ccfe603e4e21c792896712c3b72de2";
00078   }
00079 
00080   static const char* value(const  ::pr2_mechanism_controllers::TrackLinkCmd_<ContainerAllocator> &) { return value(); } 
00081   static const uint64_t static_value1 = 0x08ccfe603e4e21c7ULL;
00082   static const uint64_t static_value2 = 0x92896712c3b72de2ULL;
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct DataType< ::pr2_mechanism_controllers::TrackLinkCmd_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "pr2_mechanism_controllers/TrackLinkCmd";
00090   }
00091 
00092   static const char* value(const  ::pr2_mechanism_controllers::TrackLinkCmd_<ContainerAllocator> &) { return value(); } 
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct Definition< ::pr2_mechanism_controllers::TrackLinkCmd_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "int8 enable\n\
00100 string link_name\n\
00101 geometry_msgs/Point point\n\
00102 \n\
00103 ================================================================================\n\
00104 MSG: geometry_msgs/Point\n\
00105 # This contains the position of a point in free space\n\
00106 float64 x\n\
00107 float64 y\n\
00108 float64 z\n\
00109 \n\
00110 ";
00111   }
00112 
00113   static const char* value(const  ::pr2_mechanism_controllers::TrackLinkCmd_<ContainerAllocator> &) { return value(); } 
00114 };
00115 
00116 } // namespace message_traits
00117 } // namespace ros
00118 
00119 namespace ros
00120 {
00121 namespace serialization
00122 {
00123 
00124 template<class ContainerAllocator> struct Serializer< ::pr2_mechanism_controllers::TrackLinkCmd_<ContainerAllocator> >
00125 {
00126   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00127   {
00128     stream.next(m.enable);
00129     stream.next(m.link_name);
00130     stream.next(m.point);
00131   }
00132 
00133   ROS_DECLARE_ALLINONE_SERIALIZER;
00134 }; // struct TrackLinkCmd_
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_mechanism_controllers::TrackLinkCmd_<ContainerAllocator> >
00145 {
00146   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_mechanism_controllers::TrackLinkCmd_<ContainerAllocator> & v) 
00147   {
00148     s << indent << "enable: ";
00149     Printer<int8_t>::stream(s, indent + "  ", v.enable);
00150     s << indent << "link_name: ";
00151     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.link_name);
00152     s << indent << "point: ";
00153 s << std::endl;
00154     Printer< ::geometry_msgs::Point_<ContainerAllocator> >::stream(s, indent + "  ", v.point);
00155   }
00156 };
00157 
00158 
00159 } // namespace message_operations
00160 } // namespace ros
00161 
00162 #endif // PR2_MECHANISM_CONTROLLERS_MESSAGE_TRACKLINKCMD_H
00163 


pr2_mechanism_controllers
Author(s): Sachin Chita, John Hsu, Melonee Wise
autogenerated on Thu Apr 24 2014 15:44:51