JointControlDataArray.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/JointControlDataArray.msg */
00002 #ifndef NASA_R2_COMMON_MSGS_MESSAGE_JOINTCONTROLDATAARRAY_H
00003 #define NASA_R2_COMMON_MSGS_MESSAGE_JOINTCONTROLDATAARRAY_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/JointControlData.h"
00019 
00020 namespace nasa_r2_common_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct JointControlDataArray_ {
00024   typedef JointControlDataArray_<ContainerAllocator> Type;
00025 
00026   JointControlDataArray_()
00027   : header()
00028   , joint()
00029   , data()
00030   {
00031   }
00032 
00033   JointControlDataArray_(const ContainerAllocator& _alloc)
00034   : header(_alloc)
00035   , joint(_alloc)
00036   , data(_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 >  _joint_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 >  joint;
00045 
00046   typedef std::vector< ::nasa_r2_common_msgs::JointControlData_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::nasa_r2_common_msgs::JointControlData_<ContainerAllocator> >::other >  _data_type;
00047   std::vector< ::nasa_r2_common_msgs::JointControlData_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::nasa_r2_common_msgs::JointControlData_<ContainerAllocator> >::other >  data;
00048 
00049 
00050   typedef boost::shared_ptr< ::nasa_r2_common_msgs::JointControlDataArray_<ContainerAllocator> > Ptr;
00051   typedef boost::shared_ptr< ::nasa_r2_common_msgs::JointControlDataArray_<ContainerAllocator>  const> ConstPtr;
00052   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 }; // struct JointControlDataArray
00054 typedef  ::nasa_r2_common_msgs::JointControlDataArray_<std::allocator<void> > JointControlDataArray;
00055 
00056 typedef boost::shared_ptr< ::nasa_r2_common_msgs::JointControlDataArray> JointControlDataArrayPtr;
00057 typedef boost::shared_ptr< ::nasa_r2_common_msgs::JointControlDataArray const> JointControlDataArrayConstPtr;
00058 
00059 
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const  ::nasa_r2_common_msgs::JointControlDataArray_<ContainerAllocator> & v)
00062 {
00063   ros::message_operations::Printer< ::nasa_r2_common_msgs::JointControlDataArray_<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::JointControlDataArray_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::JointControlDataArray_<ContainerAllocator>  const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::nasa_r2_common_msgs::JointControlDataArray_<ContainerAllocator> > {
00076   static const char* value() 
00077   {
00078     return "96b9d2bc74ad5b1c503caf2252599837";
00079   }
00080 
00081   static const char* value(const  ::nasa_r2_common_msgs::JointControlDataArray_<ContainerAllocator> &) { return value(); } 
00082   static const uint64_t static_value1 = 0x96b9d2bc74ad5b1cULL;
00083   static const uint64_t static_value2 = 0x503caf2252599837ULL;
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct DataType< ::nasa_r2_common_msgs::JointControlDataArray_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "nasa_r2_common_msgs/JointControlDataArray";
00091   }
00092 
00093   static const char* value(const  ::nasa_r2_common_msgs::JointControlDataArray_<ContainerAllocator> &) { return value(); } 
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct Definition< ::nasa_r2_common_msgs::JointControlDataArray_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "Header header\n\
00101 string[] joint\n\
00102 JointControlData[] data\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/JointControlData\n\
00124 JointControlMode            controlMode\n\
00125 JointControlCommandMode     commandMode\n\
00126 JointControlCalibrationMode calibrationMode\n\
00127 JointControlClearFaultMode  clearFaultMode\n\
00128 JointControlCoeffState      coeffState\n\
00129 \n\
00130 ================================================================================\n\
00131 MSG: nasa_r2_common_msgs/JointControlMode\n\
00132 uint8 state\n\
00133 uint8 IGNORE     = 0\n\
00134 uint8 INVALID    = 1\n\
00135 uint8 BOOTLOADER = 2\n\
00136 uint8 FAULTED    = 3\n\
00137 uint8 SAFE       = 4\n\
00138 uint8 OFF        = 5\n\
00139 uint8 PARK       = 6\n\
00140 uint8 NEUTRAL    = 7\n\
00141 uint8 DRIVE      = 8\n\
00142 \n\
00143 ================================================================================\n\
00144 MSG: nasa_r2_common_msgs/JointControlCommandMode\n\
00145 uint8 state\n\
00146 uint8 IGNORE          = 0\n\
00147 uint8 INVALID         = 1\n\
00148 uint8 MOTCOM          = 2\n\
00149 uint8 MULTILOOPSTEP   = 3\n\
00150 uint8 MULTILOOPSMOOTH = 4\n\
00151 uint8 ACTUATOR        = 5\n\
00152 uint8 STALLMODE       = 6\n\
00153 \n\
00154 ================================================================================\n\
00155 MSG: nasa_r2_common_msgs/JointControlCalibrationMode\n\
00156 uint8 state\n\
00157 uint8 IGNORE       = 0\n\
00158 uint8 DISABLE      = 1\n\
00159 uint8 ENABLE       = 2\n\
00160 uint8 UNCALIBRATED = 3\n\
00161 \n\
00162 ================================================================================\n\
00163 MSG: nasa_r2_common_msgs/JointControlClearFaultMode\n\
00164 uint8 state\n\
00165 uint8 IGNORE  = 0\n\
00166 uint8 DISABLE = 1\n\
00167 uint8 ENABLE  = 2\n\
00168 \n\
00169 ================================================================================\n\
00170 MSG: nasa_r2_common_msgs/JointControlCoeffState\n\
00171 uint8 state\n\
00172 uint8 NOTLOADED = 0\n\
00173 uint8 LOADED    = 1\n\
00174 \n\
00175 ";
00176   }
00177 
00178   static const char* value(const  ::nasa_r2_common_msgs::JointControlDataArray_<ContainerAllocator> &) { return value(); } 
00179 };
00180 
00181 template<class ContainerAllocator> struct HasHeader< ::nasa_r2_common_msgs::JointControlDataArray_<ContainerAllocator> > : public TrueType {};
00182 template<class ContainerAllocator> struct HasHeader< const ::nasa_r2_common_msgs::JointControlDataArray_<ContainerAllocator> > : public TrueType {};
00183 } // namespace message_traits
00184 } // namespace ros
00185 
00186 namespace ros
00187 {
00188 namespace serialization
00189 {
00190 
00191 template<class ContainerAllocator> struct Serializer< ::nasa_r2_common_msgs::JointControlDataArray_<ContainerAllocator> >
00192 {
00193   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00194   {
00195     stream.next(m.header);
00196     stream.next(m.joint);
00197     stream.next(m.data);
00198   }
00199 
00200   ROS_DECLARE_ALLINONE_SERIALIZER;
00201 }; // struct JointControlDataArray_
00202 } // namespace serialization
00203 } // namespace ros
00204 
00205 namespace ros
00206 {
00207 namespace message_operations
00208 {
00209 
00210 template<class ContainerAllocator>
00211 struct Printer< ::nasa_r2_common_msgs::JointControlDataArray_<ContainerAllocator> >
00212 {
00213   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::nasa_r2_common_msgs::JointControlDataArray_<ContainerAllocator> & v) 
00214   {
00215     s << indent << "header: ";
00216 s << std::endl;
00217     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00218     s << indent << "joint[]" << std::endl;
00219     for (size_t i = 0; i < v.joint.size(); ++i)
00220     {
00221       s << indent << "  joint[" << i << "]: ";
00222       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.joint[i]);
00223     }
00224     s << indent << "data[]" << std::endl;
00225     for (size_t i = 0; i < v.data.size(); ++i)
00226     {
00227       s << indent << "  data[" << i << "]: ";
00228       s << std::endl;
00229       s << indent;
00230       Printer< ::nasa_r2_common_msgs::JointControlData_<ContainerAllocator> >::stream(s, indent + "    ", v.data[i]);
00231     }
00232   }
00233 };
00234 
00235 
00236 } // namespace message_operations
00237 } // namespace ros
00238 
00239 #endif // NASA_R2_COMMON_MSGS_MESSAGE_JOINTCONTROLDATAARRAY_H
00240 


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