ForceControlAxisArray.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-nasa_r2_common/doc_stacks/2014-10-06_02-39-31.575241/nasa_r2_common/nasa_r2_common_msgs/msg/ForceControlAxisArray.msg */
00002 #ifndef NASA_R2_COMMON_MSGS_MESSAGE_FORCECONTROLAXISARRAY_H
00003 #define NASA_R2_COMMON_MSGS_MESSAGE_FORCECONTROLAXISARRAY_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 "std_msgs/Header.h"
00018 #include "nasa_r2_common_msgs/ForceControlAxis.h"
00019 
00020 namespace nasa_r2_common_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct ForceControlAxisArray_ {
00024   typedef ForceControlAxisArray_<ContainerAllocator> Type;
00025 
00026   ForceControlAxisArray_()
00027   : header()
00028   , nodes()
00029   , axes()
00030   {
00031   }
00032 
00033   ForceControlAxisArray_(const ContainerAllocator& _alloc)
00034   : header(_alloc)
00035   , nodes(_alloc)
00036   , axes(_alloc)
00037   {
00038   }
00039 
00040   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00041    ::std_msgs::Header_<ContainerAllocator>  header;
00042 
00043   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _nodes_type;
00044   std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  nodes;
00045 
00046   typedef std::vector< ::nasa_r2_common_msgs::ForceControlAxis_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::nasa_r2_common_msgs::ForceControlAxis_<ContainerAllocator> >::other >  _axes_type;
00047   std::vector< ::nasa_r2_common_msgs::ForceControlAxis_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::nasa_r2_common_msgs::ForceControlAxis_<ContainerAllocator> >::other >  axes;
00048 
00049 
00050   typedef boost::shared_ptr< ::nasa_r2_common_msgs::ForceControlAxisArray_<ContainerAllocator> > Ptr;
00051   typedef boost::shared_ptr< ::nasa_r2_common_msgs::ForceControlAxisArray_<ContainerAllocator>  const> ConstPtr;
00052   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 }; // struct ForceControlAxisArray
00054 typedef  ::nasa_r2_common_msgs::ForceControlAxisArray_<std::allocator<void> > ForceControlAxisArray;
00055 
00056 typedef boost::shared_ptr< ::nasa_r2_common_msgs::ForceControlAxisArray> ForceControlAxisArrayPtr;
00057 typedef boost::shared_ptr< ::nasa_r2_common_msgs::ForceControlAxisArray const> ForceControlAxisArrayConstPtr;
00058 
00059 
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const  ::nasa_r2_common_msgs::ForceControlAxisArray_<ContainerAllocator> & v)
00062 {
00063   ros::message_operations::Printer< ::nasa_r2_common_msgs::ForceControlAxisArray_<ContainerAllocator> >::stream(s, "", v);
00064   return s;}
00065 
00066 } // namespace nasa_r2_common_msgs
00067 
00068 namespace ros
00069 {
00070 namespace message_traits
00071 {
00072 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::ForceControlAxisArray_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::ForceControlAxisArray_<ContainerAllocator>  const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::nasa_r2_common_msgs::ForceControlAxisArray_<ContainerAllocator> > {
00076   static const char* value() 
00077   {
00078     return "f9bcafba0fd121ec03cb25f3c5a8b045";
00079   }
00080 
00081   static const char* value(const  ::nasa_r2_common_msgs::ForceControlAxisArray_<ContainerAllocator> &) { return value(); } 
00082   static const uint64_t static_value1 = 0xf9bcafba0fd121ecULL;
00083   static const uint64_t static_value2 = 0x03cb25f3c5a8b045ULL;
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct DataType< ::nasa_r2_common_msgs::ForceControlAxisArray_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "nasa_r2_common_msgs/ForceControlAxisArray";
00091   }
00092 
00093   static const char* value(const  ::nasa_r2_common_msgs::ForceControlAxisArray_<ContainerAllocator> &) { return value(); } 
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct Definition< ::nasa_r2_common_msgs::ForceControlAxisArray_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "Header header\n\
00101 string[] nodes\n\
00102 ForceControlAxis[] axes\n\
00103 \n\
00104 ================================================================================\n\
00105 MSG: std_msgs/Header\n\
00106 # Standard metadata for higher-level stamped data types.\n\
00107 # This is generally used to communicate timestamped data \n\
00108 # in a particular coordinate frame.\n\
00109 # \n\
00110 # sequence ID: consecutively increasing ID \n\
00111 uint32 seq\n\
00112 #Two-integer timestamp that is expressed as:\n\
00113 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00114 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00115 # time-handling sugar is provided by the client library\n\
00116 time stamp\n\
00117 #Frame this data is associated with\n\
00118 # 0: no frame\n\
00119 # 1: global frame\n\
00120 string frame_id\n\
00121 \n\
00122 ================================================================================\n\
00123 MSG: nasa_r2_common_msgs/ForceControlAxis\n\
00124 uint8[] axis\n\
00125 float32[] magnitude\n\
00126 \n\
00127 uint8 X       = 0\n\
00128 uint8 Y       = 1\n\
00129 uint8 Z       = 2\n\
00130 uint8 ROLL    = 3\n\
00131 uint8 PITCH   = 4\n\
00132 uint8 YAW     = 5\n\
00133 \n\
00134 ";
00135   }
00136 
00137   static const char* value(const  ::nasa_r2_common_msgs::ForceControlAxisArray_<ContainerAllocator> &) { return value(); } 
00138 };
00139 
00140 template<class ContainerAllocator> struct HasHeader< ::nasa_r2_common_msgs::ForceControlAxisArray_<ContainerAllocator> > : public TrueType {};
00141 template<class ContainerAllocator> struct HasHeader< const ::nasa_r2_common_msgs::ForceControlAxisArray_<ContainerAllocator> > : public TrueType {};
00142 } // namespace message_traits
00143 } // namespace ros
00144 
00145 namespace ros
00146 {
00147 namespace serialization
00148 {
00149 
00150 template<class ContainerAllocator> struct Serializer< ::nasa_r2_common_msgs::ForceControlAxisArray_<ContainerAllocator> >
00151 {
00152   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00153   {
00154     stream.next(m.header);
00155     stream.next(m.nodes);
00156     stream.next(m.axes);
00157   }
00158 
00159   ROS_DECLARE_ALLINONE_SERIALIZER;
00160 }; // struct ForceControlAxisArray_
00161 } // namespace serialization
00162 } // namespace ros
00163 
00164 namespace ros
00165 {
00166 namespace message_operations
00167 {
00168 
00169 template<class ContainerAllocator>
00170 struct Printer< ::nasa_r2_common_msgs::ForceControlAxisArray_<ContainerAllocator> >
00171 {
00172   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::nasa_r2_common_msgs::ForceControlAxisArray_<ContainerAllocator> & v) 
00173   {
00174     s << indent << "header: ";
00175 s << std::endl;
00176     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00177     s << indent << "nodes[]" << std::endl;
00178     for (size_t i = 0; i < v.nodes.size(); ++i)
00179     {
00180       s << indent << "  nodes[" << i << "]: ";
00181       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.nodes[i]);
00182     }
00183     s << indent << "axes[]" << std::endl;
00184     for (size_t i = 0; i < v.axes.size(); ++i)
00185     {
00186       s << indent << "  axes[" << i << "]: ";
00187       s << std::endl;
00188       s << indent;
00189       Printer< ::nasa_r2_common_msgs::ForceControlAxis_<ContainerAllocator> >::stream(s, indent + "    ", v.axes[i]);
00190     }
00191   }
00192 };
00193 
00194 
00195 } // namespace message_operations
00196 } // namespace ros
00197 
00198 #endif // NASA_R2_COMMON_MSGS_MESSAGE_FORCECONTROLAXISARRAY_H
00199 


nasa_r2_common_msgs
Author(s): Paul Dinh. Maintained by Jennifer Turner
autogenerated on Mon Oct 6 2014 02:42:34