LabeledJointControlDataArray.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/LabeledJointControlDataArray.msg */
00002 #ifndef NASA_R2_COMMON_MSGS_MESSAGE_LABELEDJOINTCONTROLDATAARRAY_H
00003 #define NASA_R2_COMMON_MSGS_MESSAGE_LABELEDJOINTCONTROLDATAARRAY_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 LabeledJointControlDataArray_ {
00024   typedef LabeledJointControlDataArray_<ContainerAllocator> Type;
00025 
00026   LabeledJointControlDataArray_()
00027   : header()
00028   , originator()
00029   , joint()
00030   , data()
00031   {
00032   }
00033 
00034   LabeledJointControlDataArray_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , originator(_alloc)
00037   , joint(_alloc)
00038   , data(_alloc)
00039   {
00040   }
00041 
00042   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00043    ::std_msgs::Header_<ContainerAllocator>  header;
00044 
00045   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _originator_type;
00046   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  originator;
00047 
00048   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;
00049   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;
00050 
00051   typedef std::vector< ::nasa_r2_common_msgs::JointControlData_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::nasa_r2_common_msgs::JointControlData_<ContainerAllocator> >::other >  _data_type;
00052   std::vector< ::nasa_r2_common_msgs::JointControlData_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::nasa_r2_common_msgs::JointControlData_<ContainerAllocator> >::other >  data;
00053 
00054 
00055   typedef boost::shared_ptr< ::nasa_r2_common_msgs::LabeledJointControlDataArray_<ContainerAllocator> > Ptr;
00056   typedef boost::shared_ptr< ::nasa_r2_common_msgs::LabeledJointControlDataArray_<ContainerAllocator>  const> ConstPtr;
00057   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00058 }; // struct LabeledJointControlDataArray
00059 typedef  ::nasa_r2_common_msgs::LabeledJointControlDataArray_<std::allocator<void> > LabeledJointControlDataArray;
00060 
00061 typedef boost::shared_ptr< ::nasa_r2_common_msgs::LabeledJointControlDataArray> LabeledJointControlDataArrayPtr;
00062 typedef boost::shared_ptr< ::nasa_r2_common_msgs::LabeledJointControlDataArray const> LabeledJointControlDataArrayConstPtr;
00063 
00064 
00065 template<typename ContainerAllocator>
00066 std::ostream& operator<<(std::ostream& s, const  ::nasa_r2_common_msgs::LabeledJointControlDataArray_<ContainerAllocator> & v)
00067 {
00068   ros::message_operations::Printer< ::nasa_r2_common_msgs::LabeledJointControlDataArray_<ContainerAllocator> >::stream(s, "", v);
00069   return s;}
00070 
00071 } // namespace nasa_r2_common_msgs
00072 
00073 namespace ros
00074 {
00075 namespace message_traits
00076 {
00077 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::LabeledJointControlDataArray_<ContainerAllocator> > : public TrueType {};
00078 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::LabeledJointControlDataArray_<ContainerAllocator>  const> : public TrueType {};
00079 template<class ContainerAllocator>
00080 struct MD5Sum< ::nasa_r2_common_msgs::LabeledJointControlDataArray_<ContainerAllocator> > {
00081   static const char* value() 
00082   {
00083     return "4bff9298a6988a564ac5d64f88f9ea87";
00084   }
00085 
00086   static const char* value(const  ::nasa_r2_common_msgs::LabeledJointControlDataArray_<ContainerAllocator> &) { return value(); } 
00087   static const uint64_t static_value1 = 0x4bff9298a6988a56ULL;
00088   static const uint64_t static_value2 = 0x4ac5d64f88f9ea87ULL;
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct DataType< ::nasa_r2_common_msgs::LabeledJointControlDataArray_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "nasa_r2_common_msgs/LabeledJointControlDataArray";
00096   }
00097 
00098   static const char* value(const  ::nasa_r2_common_msgs::LabeledJointControlDataArray_<ContainerAllocator> &) { return value(); } 
00099 };
00100 
00101 template<class ContainerAllocator>
00102 struct Definition< ::nasa_r2_common_msgs::LabeledJointControlDataArray_<ContainerAllocator> > {
00103   static const char* value() 
00104   {
00105     return "Header header\n\
00106 string originator\n\
00107 string[] joint\n\
00108 JointControlData[] data\n\
00109 \n\
00110 ================================================================================\n\
00111 MSG: std_msgs/Header\n\
00112 # Standard metadata for higher-level stamped data types.\n\
00113 # This is generally used to communicate timestamped data \n\
00114 # in a particular coordinate frame.\n\
00115 # \n\
00116 # sequence ID: consecutively increasing ID \n\
00117 uint32 seq\n\
00118 #Two-integer timestamp that is expressed as:\n\
00119 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00120 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00121 # time-handling sugar is provided by the client library\n\
00122 time stamp\n\
00123 #Frame this data is associated with\n\
00124 # 0: no frame\n\
00125 # 1: global frame\n\
00126 string frame_id\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: nasa_r2_common_msgs/JointControlData\n\
00130 JointControlMode            controlMode\n\
00131 JointControlCommandMode     commandMode\n\
00132 JointControlCalibrationMode calibrationMode\n\
00133 JointControlClearFaultMode  clearFaultMode\n\
00134 JointControlCoeffState      coeffState\n\
00135 \n\
00136 ================================================================================\n\
00137 MSG: nasa_r2_common_msgs/JointControlMode\n\
00138 uint8 state\n\
00139 uint8 IGNORE     = 0\n\
00140 uint8 INVALID    = 1\n\
00141 uint8 BOOTLOADER = 2\n\
00142 uint8 FAULTED    = 3\n\
00143 uint8 SAFE       = 4\n\
00144 uint8 OFF        = 5\n\
00145 uint8 PARK       = 6\n\
00146 uint8 NEUTRAL    = 7\n\
00147 uint8 DRIVE      = 8\n\
00148 \n\
00149 ================================================================================\n\
00150 MSG: nasa_r2_common_msgs/JointControlCommandMode\n\
00151 uint8 state\n\
00152 uint8 IGNORE          = 0\n\
00153 uint8 INVALID         = 1\n\
00154 uint8 MOTCOM          = 2\n\
00155 uint8 MULTILOOPSTEP   = 3\n\
00156 uint8 MULTILOOPSMOOTH = 4\n\
00157 uint8 ACTUATOR        = 5\n\
00158 uint8 STALLMODE       = 6\n\
00159 \n\
00160 ================================================================================\n\
00161 MSG: nasa_r2_common_msgs/JointControlCalibrationMode\n\
00162 uint8 state\n\
00163 uint8 IGNORE       = 0\n\
00164 uint8 DISABLE      = 1\n\
00165 uint8 ENABLE       = 2\n\
00166 uint8 UNCALIBRATED = 3\n\
00167 \n\
00168 ================================================================================\n\
00169 MSG: nasa_r2_common_msgs/JointControlClearFaultMode\n\
00170 uint8 state\n\
00171 uint8 IGNORE  = 0\n\
00172 uint8 DISABLE = 1\n\
00173 uint8 ENABLE  = 2\n\
00174 \n\
00175 ================================================================================\n\
00176 MSG: nasa_r2_common_msgs/JointControlCoeffState\n\
00177 uint8 state\n\
00178 uint8 NOTLOADED = 0\n\
00179 uint8 LOADED    = 1\n\
00180 \n\
00181 ";
00182   }
00183 
00184   static const char* value(const  ::nasa_r2_common_msgs::LabeledJointControlDataArray_<ContainerAllocator> &) { return value(); } 
00185 };
00186 
00187 template<class ContainerAllocator> struct HasHeader< ::nasa_r2_common_msgs::LabeledJointControlDataArray_<ContainerAllocator> > : public TrueType {};
00188 template<class ContainerAllocator> struct HasHeader< const ::nasa_r2_common_msgs::LabeledJointControlDataArray_<ContainerAllocator> > : public TrueType {};
00189 } // namespace message_traits
00190 } // namespace ros
00191 
00192 namespace ros
00193 {
00194 namespace serialization
00195 {
00196 
00197 template<class ContainerAllocator> struct Serializer< ::nasa_r2_common_msgs::LabeledJointControlDataArray_<ContainerAllocator> >
00198 {
00199   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00200   {
00201     stream.next(m.header);
00202     stream.next(m.originator);
00203     stream.next(m.joint);
00204     stream.next(m.data);
00205   }
00206 
00207   ROS_DECLARE_ALLINONE_SERIALIZER;
00208 }; // struct LabeledJointControlDataArray_
00209 } // namespace serialization
00210 } // namespace ros
00211 
00212 namespace ros
00213 {
00214 namespace message_operations
00215 {
00216 
00217 template<class ContainerAllocator>
00218 struct Printer< ::nasa_r2_common_msgs::LabeledJointControlDataArray_<ContainerAllocator> >
00219 {
00220   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::nasa_r2_common_msgs::LabeledJointControlDataArray_<ContainerAllocator> & v) 
00221   {
00222     s << indent << "header: ";
00223 s << std::endl;
00224     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00225     s << indent << "originator: ";
00226     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.originator);
00227     s << indent << "joint[]" << std::endl;
00228     for (size_t i = 0; i < v.joint.size(); ++i)
00229     {
00230       s << indent << "  joint[" << i << "]: ";
00231       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.joint[i]);
00232     }
00233     s << indent << "data[]" << std::endl;
00234     for (size_t i = 0; i < v.data.size(); ++i)
00235     {
00236       s << indent << "  data[" << i << "]: ";
00237       s << std::endl;
00238       s << indent;
00239       Printer< ::nasa_r2_common_msgs::JointControlData_<ContainerAllocator> >::stream(s, indent + "    ", v.data[i]);
00240     }
00241   }
00242 };
00243 
00244 
00245 } // namespace message_operations
00246 } // namespace ros
00247 
00248 #endif // NASA_R2_COMMON_MSGS_MESSAGE_LABELEDJOINTCONTROLDATAARRAY_H
00249 


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