WrenchMonitorLimit.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/WrenchMonitorLimit.msg */
00002 #ifndef NASA_R2_COMMON_MSGS_MESSAGE_WRENCHMONITORLIMIT_H
00003 #define NASA_R2_COMMON_MSGS_MESSAGE_WRENCHMONITORLIMIT_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 
00019 namespace nasa_r2_common_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct WrenchMonitorLimit_ {
00023   typedef WrenchMonitorLimit_<ContainerAllocator> Type;
00024 
00025   WrenchMonitorLimit_()
00026   : header()
00027   , name()
00028   , force()
00029   , torque()
00030   , isFraction()
00031   {
00032   }
00033 
00034   WrenchMonitorLimit_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , name(_alloc)
00037   , force(_alloc)
00038   , torque(_alloc)
00039   , isFraction(_alloc)
00040   {
00041   }
00042 
00043   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00044    ::std_msgs::Header_<ContainerAllocator>  header;
00045 
00046   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 >  _name_type;
00047   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 >  name;
00048 
00049   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _force_type;
00050   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  force;
00051 
00052   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _torque_type;
00053   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  torque;
00054 
00055   typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >  _isFraction_type;
00056   std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >  isFraction;
00057 
00058 
00059   typedef boost::shared_ptr< ::nasa_r2_common_msgs::WrenchMonitorLimit_<ContainerAllocator> > Ptr;
00060   typedef boost::shared_ptr< ::nasa_r2_common_msgs::WrenchMonitorLimit_<ContainerAllocator>  const> ConstPtr;
00061   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00062 }; // struct WrenchMonitorLimit
00063 typedef  ::nasa_r2_common_msgs::WrenchMonitorLimit_<std::allocator<void> > WrenchMonitorLimit;
00064 
00065 typedef boost::shared_ptr< ::nasa_r2_common_msgs::WrenchMonitorLimit> WrenchMonitorLimitPtr;
00066 typedef boost::shared_ptr< ::nasa_r2_common_msgs::WrenchMonitorLimit const> WrenchMonitorLimitConstPtr;
00067 
00068 
00069 template<typename ContainerAllocator>
00070 std::ostream& operator<<(std::ostream& s, const  ::nasa_r2_common_msgs::WrenchMonitorLimit_<ContainerAllocator> & v)
00071 {
00072   ros::message_operations::Printer< ::nasa_r2_common_msgs::WrenchMonitorLimit_<ContainerAllocator> >::stream(s, "", v);
00073   return s;}
00074 
00075 } // namespace nasa_r2_common_msgs
00076 
00077 namespace ros
00078 {
00079 namespace message_traits
00080 {
00081 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::WrenchMonitorLimit_<ContainerAllocator> > : public TrueType {};
00082 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::WrenchMonitorLimit_<ContainerAllocator>  const> : public TrueType {};
00083 template<class ContainerAllocator>
00084 struct MD5Sum< ::nasa_r2_common_msgs::WrenchMonitorLimit_<ContainerAllocator> > {
00085   static const char* value() 
00086   {
00087     return "4535825230d82d19f739062cbc5d17ed";
00088   }
00089 
00090   static const char* value(const  ::nasa_r2_common_msgs::WrenchMonitorLimit_<ContainerAllocator> &) { return value(); } 
00091   static const uint64_t static_value1 = 0x4535825230d82d19ULL;
00092   static const uint64_t static_value2 = 0xf739062cbc5d17edULL;
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct DataType< ::nasa_r2_common_msgs::WrenchMonitorLimit_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "nasa_r2_common_msgs/WrenchMonitorLimit";
00100   }
00101 
00102   static const char* value(const  ::nasa_r2_common_msgs::WrenchMonitorLimit_<ContainerAllocator> &) { return value(); } 
00103 };
00104 
00105 template<class ContainerAllocator>
00106 struct Definition< ::nasa_r2_common_msgs::WrenchMonitorLimit_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "Header header\n\
00110 string[] name\n\
00111 float64[] force\n\
00112 float64[] torque\n\
00113 bool[] isFraction\n\
00114 \n\
00115 ================================================================================\n\
00116 MSG: std_msgs/Header\n\
00117 # Standard metadata for higher-level stamped data types.\n\
00118 # This is generally used to communicate timestamped data \n\
00119 # in a particular coordinate frame.\n\
00120 # \n\
00121 # sequence ID: consecutively increasing ID \n\
00122 uint32 seq\n\
00123 #Two-integer timestamp that is expressed as:\n\
00124 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00125 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00126 # time-handling sugar is provided by the client library\n\
00127 time stamp\n\
00128 #Frame this data is associated with\n\
00129 # 0: no frame\n\
00130 # 1: global frame\n\
00131 string frame_id\n\
00132 \n\
00133 ";
00134   }
00135 
00136   static const char* value(const  ::nasa_r2_common_msgs::WrenchMonitorLimit_<ContainerAllocator> &) { return value(); } 
00137 };
00138 
00139 template<class ContainerAllocator> struct HasHeader< ::nasa_r2_common_msgs::WrenchMonitorLimit_<ContainerAllocator> > : public TrueType {};
00140 template<class ContainerAllocator> struct HasHeader< const ::nasa_r2_common_msgs::WrenchMonitorLimit_<ContainerAllocator> > : public TrueType {};
00141 } // namespace message_traits
00142 } // namespace ros
00143 
00144 namespace ros
00145 {
00146 namespace serialization
00147 {
00148 
00149 template<class ContainerAllocator> struct Serializer< ::nasa_r2_common_msgs::WrenchMonitorLimit_<ContainerAllocator> >
00150 {
00151   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00152   {
00153     stream.next(m.header);
00154     stream.next(m.name);
00155     stream.next(m.force);
00156     stream.next(m.torque);
00157     stream.next(m.isFraction);
00158   }
00159 
00160   ROS_DECLARE_ALLINONE_SERIALIZER;
00161 }; // struct WrenchMonitorLimit_
00162 } // namespace serialization
00163 } // namespace ros
00164 
00165 namespace ros
00166 {
00167 namespace message_operations
00168 {
00169 
00170 template<class ContainerAllocator>
00171 struct Printer< ::nasa_r2_common_msgs::WrenchMonitorLimit_<ContainerAllocator> >
00172 {
00173   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::nasa_r2_common_msgs::WrenchMonitorLimit_<ContainerAllocator> & v) 
00174   {
00175     s << indent << "header: ";
00176 s << std::endl;
00177     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00178     s << indent << "name[]" << std::endl;
00179     for (size_t i = 0; i < v.name.size(); ++i)
00180     {
00181       s << indent << "  name[" << i << "]: ";
00182       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.name[i]);
00183     }
00184     s << indent << "force[]" << std::endl;
00185     for (size_t i = 0; i < v.force.size(); ++i)
00186     {
00187       s << indent << "  force[" << i << "]: ";
00188       Printer<double>::stream(s, indent + "  ", v.force[i]);
00189     }
00190     s << indent << "torque[]" << std::endl;
00191     for (size_t i = 0; i < v.torque.size(); ++i)
00192     {
00193       s << indent << "  torque[" << i << "]: ";
00194       Printer<double>::stream(s, indent + "  ", v.torque[i]);
00195     }
00196     s << indent << "isFraction[]" << std::endl;
00197     for (size_t i = 0; i < v.isFraction.size(); ++i)
00198     {
00199       s << indent << "  isFraction[" << i << "]: ";
00200       Printer<uint8_t>::stream(s, indent + "  ", v.isFraction[i]);
00201     }
00202   }
00203 };
00204 
00205 
00206 } // namespace message_operations
00207 } // namespace ros
00208 
00209 #endif // NASA_R2_COMMON_MSGS_MESSAGE_WRENCHMONITORLIMIT_H
00210 


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