ChainMeasurement.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-calibration/doc_stacks/2013-08-15_10-13-13.499663/calibration/calibration_msgs/msg/ChainMeasurement.msg */
00002 #ifndef CALIBRATION_MSGS_MESSAGE_CHAINMEASUREMENT_H
00003 #define CALIBRATION_MSGS_MESSAGE_CHAINMEASUREMENT_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 "sensor_msgs/JointState.h"
00019 
00020 namespace calibration_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct ChainMeasurement_ {
00024   typedef ChainMeasurement_<ContainerAllocator> Type;
00025 
00026   ChainMeasurement_()
00027   : header()
00028   , chain_id()
00029   , chain_state()
00030   {
00031   }
00032 
00033   ChainMeasurement_(const ContainerAllocator& _alloc)
00034   : header(_alloc)
00035   , chain_id(_alloc)
00036   , chain_state(_alloc)
00037   {
00038   }
00039 
00040   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00041    ::std_msgs::Header_<ContainerAllocator>  header;
00042 
00043   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _chain_id_type;
00044   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  chain_id;
00045 
00046   typedef  ::sensor_msgs::JointState_<ContainerAllocator>  _chain_state_type;
00047    ::sensor_msgs::JointState_<ContainerAllocator>  chain_state;
00048 
00049 
00050   typedef boost::shared_ptr< ::calibration_msgs::ChainMeasurement_<ContainerAllocator> > Ptr;
00051   typedef boost::shared_ptr< ::calibration_msgs::ChainMeasurement_<ContainerAllocator>  const> ConstPtr;
00052   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 }; // struct ChainMeasurement
00054 typedef  ::calibration_msgs::ChainMeasurement_<std::allocator<void> > ChainMeasurement;
00055 
00056 typedef boost::shared_ptr< ::calibration_msgs::ChainMeasurement> ChainMeasurementPtr;
00057 typedef boost::shared_ptr< ::calibration_msgs::ChainMeasurement const> ChainMeasurementConstPtr;
00058 
00059 
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const  ::calibration_msgs::ChainMeasurement_<ContainerAllocator> & v)
00062 {
00063   ros::message_operations::Printer< ::calibration_msgs::ChainMeasurement_<ContainerAllocator> >::stream(s, "", v);
00064   return s;}
00065 
00066 } // namespace calibration_msgs
00067 
00068 namespace ros
00069 {
00070 namespace message_traits
00071 {
00072 template<class ContainerAllocator> struct IsMessage< ::calibration_msgs::ChainMeasurement_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::calibration_msgs::ChainMeasurement_<ContainerAllocator>  const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::calibration_msgs::ChainMeasurement_<ContainerAllocator> > {
00076   static const char* value() 
00077   {
00078     return "a57d957972fc9bc34b14f2a3cac0fbae";
00079   }
00080 
00081   static const char* value(const  ::calibration_msgs::ChainMeasurement_<ContainerAllocator> &) { return value(); } 
00082   static const uint64_t static_value1 = 0xa57d957972fc9bc3ULL;
00083   static const uint64_t static_value2 = 0x4b14f2a3cac0fbaeULL;
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct DataType< ::calibration_msgs::ChainMeasurement_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "calibration_msgs/ChainMeasurement";
00091   }
00092 
00093   static const char* value(const  ::calibration_msgs::ChainMeasurement_<ContainerAllocator> &) { return value(); } 
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct Definition< ::calibration_msgs::ChainMeasurement_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "Header header\n\
00101 string chain_id\n\
00102 sensor_msgs/JointState chain_state\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: sensor_msgs/JointState\n\
00124 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00125 #\n\
00126 # The state of each joint (revolute or prismatic) is defined by:\n\
00127 #  * the position of the joint (rad or m),\n\
00128 #  * the velocity of the joint (rad/s or m/s) and \n\
00129 #  * the effort that is applied in the joint (Nm or N).\n\
00130 #\n\
00131 # Each joint is uniquely identified by its name\n\
00132 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00133 # in one message have to be recorded at the same time.\n\
00134 #\n\
00135 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00136 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00137 # effort associated with them, you can leave the effort array empty. \n\
00138 #\n\
00139 # All arrays in this message should have the same size, or be empty.\n\
00140 # This is the only way to uniquely associate the joint name with the correct\n\
00141 # states.\n\
00142 \n\
00143 \n\
00144 Header header\n\
00145 \n\
00146 string[] name\n\
00147 float64[] position\n\
00148 float64[] velocity\n\
00149 float64[] effort\n\
00150 \n\
00151 ";
00152   }
00153 
00154   static const char* value(const  ::calibration_msgs::ChainMeasurement_<ContainerAllocator> &) { return value(); } 
00155 };
00156 
00157 template<class ContainerAllocator> struct HasHeader< ::calibration_msgs::ChainMeasurement_<ContainerAllocator> > : public TrueType {};
00158 template<class ContainerAllocator> struct HasHeader< const ::calibration_msgs::ChainMeasurement_<ContainerAllocator> > : public TrueType {};
00159 } // namespace message_traits
00160 } // namespace ros
00161 
00162 namespace ros
00163 {
00164 namespace serialization
00165 {
00166 
00167 template<class ContainerAllocator> struct Serializer< ::calibration_msgs::ChainMeasurement_<ContainerAllocator> >
00168 {
00169   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00170   {
00171     stream.next(m.header);
00172     stream.next(m.chain_id);
00173     stream.next(m.chain_state);
00174   }
00175 
00176   ROS_DECLARE_ALLINONE_SERIALIZER;
00177 }; // struct ChainMeasurement_
00178 } // namespace serialization
00179 } // namespace ros
00180 
00181 namespace ros
00182 {
00183 namespace message_operations
00184 {
00185 
00186 template<class ContainerAllocator>
00187 struct Printer< ::calibration_msgs::ChainMeasurement_<ContainerAllocator> >
00188 {
00189   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::calibration_msgs::ChainMeasurement_<ContainerAllocator> & v) 
00190   {
00191     s << indent << "header: ";
00192 s << std::endl;
00193     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00194     s << indent << "chain_id: ";
00195     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.chain_id);
00196     s << indent << "chain_state: ";
00197 s << std::endl;
00198     Printer< ::sensor_msgs::JointState_<ContainerAllocator> >::stream(s, indent + "  ", v.chain_state);
00199   }
00200 };
00201 
00202 
00203 } // namespace message_operations
00204 } // namespace ros
00205 
00206 #endif // CALIBRATION_MSGS_MESSAGE_CHAINMEASUREMENT_H
00207 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


calibration_msgs
Author(s): Vijay Pradeep
autogenerated on Thu Aug 15 2013 10:15:15