TorsoStatus.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/TorsoStatus.msg */
00002 #ifndef R2_MSGS_MESSAGE_TORSOSTATUS_H
00003 #define R2_MSGS_MESSAGE_TORSOSTATUS_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 r2_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct TorsoStatus_ {
00022   typedef TorsoStatus_<ContainerAllocator> Type;
00023 
00024   TorsoStatus_()
00025   : leftarm()
00026   , rightarm()
00027   , neck()
00028   , lefthand()
00029   , righthand()
00030   , waist()
00031   {
00032   }
00033 
00034   TorsoStatus_(const ContainerAllocator& _alloc)
00035   : leftarm(_alloc)
00036   , rightarm(_alloc)
00037   , neck(_alloc)
00038   , lefthand(_alloc)
00039   , righthand(_alloc)
00040   , waist(_alloc)
00041   {
00042   }
00043 
00044   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _leftarm_type;
00045   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  leftarm;
00046 
00047   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _rightarm_type;
00048   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  rightarm;
00049 
00050   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _neck_type;
00051   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  neck;
00052 
00053   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _lefthand_type;
00054   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  lefthand;
00055 
00056   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _righthand_type;
00057   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  righthand;
00058 
00059   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _waist_type;
00060   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  waist;
00061 
00062 
00063   typedef boost::shared_ptr< ::r2_msgs::TorsoStatus_<ContainerAllocator> > Ptr;
00064   typedef boost::shared_ptr< ::r2_msgs::TorsoStatus_<ContainerAllocator>  const> ConstPtr;
00065   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00066 }; // struct TorsoStatus
00067 typedef  ::r2_msgs::TorsoStatus_<std::allocator<void> > TorsoStatus;
00068 
00069 typedef boost::shared_ptr< ::r2_msgs::TorsoStatus> TorsoStatusPtr;
00070 typedef boost::shared_ptr< ::r2_msgs::TorsoStatus const> TorsoStatusConstPtr;
00071 
00072 
00073 template<typename ContainerAllocator>
00074 std::ostream& operator<<(std::ostream& s, const  ::r2_msgs::TorsoStatus_<ContainerAllocator> & v)
00075 {
00076   ros::message_operations::Printer< ::r2_msgs::TorsoStatus_<ContainerAllocator> >::stream(s, "", v);
00077   return s;}
00078 
00079 } // namespace r2_msgs
00080 
00081 namespace ros
00082 {
00083 namespace message_traits
00084 {
00085 template<class ContainerAllocator> struct IsMessage< ::r2_msgs::TorsoStatus_<ContainerAllocator> > : public TrueType {};
00086 template<class ContainerAllocator> struct IsMessage< ::r2_msgs::TorsoStatus_<ContainerAllocator>  const> : public TrueType {};
00087 template<class ContainerAllocator>
00088 struct MD5Sum< ::r2_msgs::TorsoStatus_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "2334ce336aad886ccb87a294113ed892";
00092   }
00093 
00094   static const char* value(const  ::r2_msgs::TorsoStatus_<ContainerAllocator> &) { return value(); } 
00095   static const uint64_t static_value1 = 0x2334ce336aad886cULL;
00096   static const uint64_t static_value2 = 0xcb87a294113ed892ULL;
00097 };
00098 
00099 template<class ContainerAllocator>
00100 struct DataType< ::r2_msgs::TorsoStatus_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "r2_msgs/TorsoStatus";
00104   }
00105 
00106   static const char* value(const  ::r2_msgs::TorsoStatus_<ContainerAllocator> &) { return value(); } 
00107 };
00108 
00109 template<class ContainerAllocator>
00110 struct Definition< ::r2_msgs::TorsoStatus_<ContainerAllocator> > {
00111   static const char* value() 
00112   {
00113     return "string leftarm\n\
00114 string rightarm\n\
00115 string neck\n\
00116 string lefthand\n\
00117 string righthand\n\
00118 string waist\n\
00119 \n\
00120 ";
00121   }
00122 
00123   static const char* value(const  ::r2_msgs::TorsoStatus_<ContainerAllocator> &) { return value(); } 
00124 };
00125 
00126 } // namespace message_traits
00127 } // namespace ros
00128 
00129 namespace ros
00130 {
00131 namespace serialization
00132 {
00133 
00134 template<class ContainerAllocator> struct Serializer< ::r2_msgs::TorsoStatus_<ContainerAllocator> >
00135 {
00136   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00137   {
00138     stream.next(m.leftarm);
00139     stream.next(m.rightarm);
00140     stream.next(m.neck);
00141     stream.next(m.lefthand);
00142     stream.next(m.righthand);
00143     stream.next(m.waist);
00144   }
00145 
00146   ROS_DECLARE_ALLINONE_SERIALIZER;
00147 }; // struct TorsoStatus_
00148 } // namespace serialization
00149 } // namespace ros
00150 
00151 namespace ros
00152 {
00153 namespace message_operations
00154 {
00155 
00156 template<class ContainerAllocator>
00157 struct Printer< ::r2_msgs::TorsoStatus_<ContainerAllocator> >
00158 {
00159   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::r2_msgs::TorsoStatus_<ContainerAllocator> & v) 
00160   {
00161     s << indent << "leftarm: ";
00162     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.leftarm);
00163     s << indent << "rightarm: ";
00164     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.rightarm);
00165     s << indent << "neck: ";
00166     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.neck);
00167     s << indent << "lefthand: ";
00168     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.lefthand);
00169     s << indent << "righthand: ";
00170     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.righthand);
00171     s << indent << "waist: ";
00172     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.waist);
00173   }
00174 };
00175 
00176 
00177 } // namespace message_operations
00178 } // namespace ros
00179 
00180 #endif // R2_MSGS_MESSAGE_TORSOSTATUS_H
00181 


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