WrenchState.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/WrenchState.msg */
00002 #ifndef NASA_R2_COMMON_MSGS_MESSAGE_WRENCHSTATE_H
00003 #define NASA_R2_COMMON_MSGS_MESSAGE_WRENCHSTATE_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 "geometry_msgs/Wrench.h"
00019 
00020 namespace nasa_r2_common_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct WrenchState_ {
00024   typedef WrenchState_<ContainerAllocator> Type;
00025 
00026   WrenchState_()
00027   : header()
00028   , name()
00029   , wrench()
00030   {
00031   }
00032 
00033   WrenchState_(const ContainerAllocator& _alloc)
00034   : header(_alloc)
00035   , name(_alloc)
00036   , wrench(_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 >  _name_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 >  name;
00045 
00046   typedef std::vector< ::geometry_msgs::Wrench_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Wrench_<ContainerAllocator> >::other >  _wrench_type;
00047   std::vector< ::geometry_msgs::Wrench_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Wrench_<ContainerAllocator> >::other >  wrench;
00048 
00049 
00050   typedef boost::shared_ptr< ::nasa_r2_common_msgs::WrenchState_<ContainerAllocator> > Ptr;
00051   typedef boost::shared_ptr< ::nasa_r2_common_msgs::WrenchState_<ContainerAllocator>  const> ConstPtr;
00052   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 }; // struct WrenchState
00054 typedef  ::nasa_r2_common_msgs::WrenchState_<std::allocator<void> > WrenchState;
00055 
00056 typedef boost::shared_ptr< ::nasa_r2_common_msgs::WrenchState> WrenchStatePtr;
00057 typedef boost::shared_ptr< ::nasa_r2_common_msgs::WrenchState const> WrenchStateConstPtr;
00058 
00059 
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const  ::nasa_r2_common_msgs::WrenchState_<ContainerAllocator> & v)
00062 {
00063   ros::message_operations::Printer< ::nasa_r2_common_msgs::WrenchState_<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::WrenchState_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::WrenchState_<ContainerAllocator>  const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::nasa_r2_common_msgs::WrenchState_<ContainerAllocator> > {
00076   static const char* value() 
00077   {
00078     return "ca65dd41fc9f0daae4d837bdbf522e55";
00079   }
00080 
00081   static const char* value(const  ::nasa_r2_common_msgs::WrenchState_<ContainerAllocator> &) { return value(); } 
00082   static const uint64_t static_value1 = 0xca65dd41fc9f0daaULL;
00083   static const uint64_t static_value2 = 0xe4d837bdbf522e55ULL;
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct DataType< ::nasa_r2_common_msgs::WrenchState_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "nasa_r2_common_msgs/WrenchState";
00091   }
00092 
00093   static const char* value(const  ::nasa_r2_common_msgs::WrenchState_<ContainerAllocator> &) { return value(); } 
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct Definition< ::nasa_r2_common_msgs::WrenchState_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "Header header\n\
00101 string[] name\n\
00102 geometry_msgs/Wrench[] wrench\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: geometry_msgs/Wrench\n\
00124 # This represents force in free space, separated into\n\
00125 # its linear and angular parts.\n\
00126 Vector3  force\n\
00127 Vector3  torque\n\
00128 \n\
00129 ================================================================================\n\
00130 MSG: geometry_msgs/Vector3\n\
00131 # This represents a vector in free space. \n\
00132 \n\
00133 float64 x\n\
00134 float64 y\n\
00135 float64 z\n\
00136 ";
00137   }
00138 
00139   static const char* value(const  ::nasa_r2_common_msgs::WrenchState_<ContainerAllocator> &) { return value(); } 
00140 };
00141 
00142 template<class ContainerAllocator> struct HasHeader< ::nasa_r2_common_msgs::WrenchState_<ContainerAllocator> > : public TrueType {};
00143 template<class ContainerAllocator> struct HasHeader< const ::nasa_r2_common_msgs::WrenchState_<ContainerAllocator> > : public TrueType {};
00144 } // namespace message_traits
00145 } // namespace ros
00146 
00147 namespace ros
00148 {
00149 namespace serialization
00150 {
00151 
00152 template<class ContainerAllocator> struct Serializer< ::nasa_r2_common_msgs::WrenchState_<ContainerAllocator> >
00153 {
00154   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00155   {
00156     stream.next(m.header);
00157     stream.next(m.name);
00158     stream.next(m.wrench);
00159   }
00160 
00161   ROS_DECLARE_ALLINONE_SERIALIZER;
00162 }; // struct WrenchState_
00163 } // namespace serialization
00164 } // namespace ros
00165 
00166 namespace ros
00167 {
00168 namespace message_operations
00169 {
00170 
00171 template<class ContainerAllocator>
00172 struct Printer< ::nasa_r2_common_msgs::WrenchState_<ContainerAllocator> >
00173 {
00174   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::nasa_r2_common_msgs::WrenchState_<ContainerAllocator> & v) 
00175   {
00176     s << indent << "header: ";
00177 s << std::endl;
00178     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00179     s << indent << "name[]" << std::endl;
00180     for (size_t i = 0; i < v.name.size(); ++i)
00181     {
00182       s << indent << "  name[" << i << "]: ";
00183       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.name[i]);
00184     }
00185     s << indent << "wrench[]" << std::endl;
00186     for (size_t i = 0; i < v.wrench.size(); ++i)
00187     {
00188       s << indent << "  wrench[" << i << "]: ";
00189       s << std::endl;
00190       s << indent;
00191       Printer< ::geometry_msgs::Wrench_<ContainerAllocator> >::stream(s, indent + "    ", v.wrench[i]);
00192     }
00193   }
00194 };
00195 
00196 
00197 } // namespace message_operations
00198 } // namespace ros
00199 
00200 #endif // NASA_R2_COMMON_MSGS_MESSAGE_WRENCHSTATE_H
00201 


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