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