ReactiveGraspingResult.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-srs_public/doc_stacks/2014-10-06_07-45-36.510262/srs_public/srs_assisted_grasping_msgs/msg/ReactiveGraspingResult.msg */
00002 #ifndef SRS_ASSISTED_GRASPING_MSGS_MESSAGE_REACTIVEGRASPINGRESULT_H
00003 #define SRS_ASSISTED_GRASPING_MSGS_MESSAGE_REACTIVEGRASPINGRESULT_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/Float32MultiArray.h"
00018 #include "std_msgs/Int16MultiArray.h"
00019 #include "std_msgs/Float32MultiArray.h"
00020 
00021 namespace srs_assisted_grasping_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct ReactiveGraspingResult_ {
00025   typedef ReactiveGraspingResult_<ContainerAllocator> Type;
00026 
00027   ReactiveGraspingResult_()
00028   : actual_joint_values()
00029   , actual_forces()
00030   , time_to_stop()
00031   {
00032   }
00033 
00034   ReactiveGraspingResult_(const ContainerAllocator& _alloc)
00035   : actual_joint_values(_alloc)
00036   , actual_forces(_alloc)
00037   , time_to_stop(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::std_msgs::Float32MultiArray_<ContainerAllocator>  _actual_joint_values_type;
00042    ::std_msgs::Float32MultiArray_<ContainerAllocator>  actual_joint_values;
00043 
00044   typedef  ::std_msgs::Int16MultiArray_<ContainerAllocator>  _actual_forces_type;
00045    ::std_msgs::Int16MultiArray_<ContainerAllocator>  actual_forces;
00046 
00047   typedef  ::std_msgs::Float32MultiArray_<ContainerAllocator>  _time_to_stop_type;
00048    ::std_msgs::Float32MultiArray_<ContainerAllocator>  time_to_stop;
00049 
00050 
00051   typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ReactiveGraspingResult_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ReactiveGraspingResult_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct ReactiveGraspingResult
00055 typedef  ::srs_assisted_grasping_msgs::ReactiveGraspingResult_<std::allocator<void> > ReactiveGraspingResult;
00056 
00057 typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ReactiveGraspingResult> ReactiveGraspingResultPtr;
00058 typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ReactiveGraspingResult const> ReactiveGraspingResultConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::srs_assisted_grasping_msgs::ReactiveGraspingResult_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::srs_assisted_grasping_msgs::ReactiveGraspingResult_<ContainerAllocator> >::stream(s, "", v);
00065   return s;}
00066 
00067 } // namespace srs_assisted_grasping_msgs
00068 
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_grasping_msgs::ReactiveGraspingResult_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_grasping_msgs::ReactiveGraspingResult_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::srs_assisted_grasping_msgs::ReactiveGraspingResult_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "f230ec55570635c19c49d69cf7ccb233";
00080   }
00081 
00082   static const char* value(const  ::srs_assisted_grasping_msgs::ReactiveGraspingResult_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0xf230ec55570635c1ULL;
00084   static const uint64_t static_value2 = 0x9c49d69cf7ccb233ULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::srs_assisted_grasping_msgs::ReactiveGraspingResult_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "srs_assisted_grasping_msgs/ReactiveGraspingResult";
00092   }
00093 
00094   static const char* value(const  ::srs_assisted_grasping_msgs::ReactiveGraspingResult_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::srs_assisted_grasping_msgs::ReactiveGraspingResult_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00102 # RESULT\n\
00103 std_msgs/Float32MultiArray actual_joint_values # n\n\
00104 std_msgs/Int16MultiArray actual_forces # m\n\
00105 std_msgs/Float32MultiArray time_to_stop # n\n\
00106 \n\
00107 ================================================================================\n\
00108 MSG: std_msgs/Float32MultiArray\n\
00109 # Please look at the MultiArrayLayout message definition for\n\
00110 # documentation on all multiarrays.\n\
00111 \n\
00112 MultiArrayLayout  layout        # specification of data layout\n\
00113 float32[]         data          # array of data\n\
00114 \n\
00115 \n\
00116 ================================================================================\n\
00117 MSG: std_msgs/MultiArrayLayout\n\
00118 # The multiarray declares a generic multi-dimensional array of a\n\
00119 # particular data type.  Dimensions are ordered from outer most\n\
00120 # to inner most.\n\
00121 \n\
00122 MultiArrayDimension[] dim # Array of dimension properties\n\
00123 uint32 data_offset        # padding bytes at front of data\n\
00124 \n\
00125 # Accessors should ALWAYS be written in terms of dimension stride\n\
00126 # and specified outer-most dimension first.\n\
00127 # \n\
00128 # multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n\
00129 #\n\
00130 # A standard, 3-channel 640x480 image with interleaved color channels\n\
00131 # would be specified as:\n\
00132 #\n\
00133 # dim[0].label  = \"height\"\n\
00134 # dim[0].size   = 480\n\
00135 # dim[0].stride = 3*640*480 = 921600  (note dim[0] stride is just size of image)\n\
00136 # dim[1].label  = \"width\"\n\
00137 # dim[1].size   = 640\n\
00138 # dim[1].stride = 3*640 = 1920\n\
00139 # dim[2].label  = \"channel\"\n\
00140 # dim[2].size   = 3\n\
00141 # dim[2].stride = 3\n\
00142 #\n\
00143 # multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n\
00144 ================================================================================\n\
00145 MSG: std_msgs/MultiArrayDimension\n\
00146 string label   # label of given dimension\n\
00147 uint32 size    # size of given dimension (in type units)\n\
00148 uint32 stride  # stride of given dimension\n\
00149 ================================================================================\n\
00150 MSG: std_msgs/Int16MultiArray\n\
00151 # Please look at the MultiArrayLayout message definition for\n\
00152 # documentation on all multiarrays.\n\
00153 \n\
00154 MultiArrayLayout  layout        # specification of data layout\n\
00155 int16[]           data          # array of data\n\
00156 \n\
00157 \n\
00158 ";
00159   }
00160 
00161   static const char* value(const  ::srs_assisted_grasping_msgs::ReactiveGraspingResult_<ContainerAllocator> &) { return value(); } 
00162 };
00163 
00164 } // namespace message_traits
00165 } // namespace ros
00166 
00167 namespace ros
00168 {
00169 namespace serialization
00170 {
00171 
00172 template<class ContainerAllocator> struct Serializer< ::srs_assisted_grasping_msgs::ReactiveGraspingResult_<ContainerAllocator> >
00173 {
00174   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00175   {
00176     stream.next(m.actual_joint_values);
00177     stream.next(m.actual_forces);
00178     stream.next(m.time_to_stop);
00179   }
00180 
00181   ROS_DECLARE_ALLINONE_SERIALIZER;
00182 }; // struct ReactiveGraspingResult_
00183 } // namespace serialization
00184 } // namespace ros
00185 
00186 namespace ros
00187 {
00188 namespace message_operations
00189 {
00190 
00191 template<class ContainerAllocator>
00192 struct Printer< ::srs_assisted_grasping_msgs::ReactiveGraspingResult_<ContainerAllocator> >
00193 {
00194   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::srs_assisted_grasping_msgs::ReactiveGraspingResult_<ContainerAllocator> & v) 
00195   {
00196     s << indent << "actual_joint_values: ";
00197 s << std::endl;
00198     Printer< ::std_msgs::Float32MultiArray_<ContainerAllocator> >::stream(s, indent + "  ", v.actual_joint_values);
00199     s << indent << "actual_forces: ";
00200 s << std::endl;
00201     Printer< ::std_msgs::Int16MultiArray_<ContainerAllocator> >::stream(s, indent + "  ", v.actual_forces);
00202     s << indent << "time_to_stop: ";
00203 s << std::endl;
00204     Printer< ::std_msgs::Float32MultiArray_<ContainerAllocator> >::stream(s, indent + "  ", v.time_to_stop);
00205   }
00206 };
00207 
00208 
00209 } // namespace message_operations
00210 } // namespace ros
00211 
00212 #endif // SRS_ASSISTED_GRASPING_MSGS_MESSAGE_REACTIVEGRASPINGRESULT_H
00213 


srs_assisted_grasping_msgs
Author(s): Zdenek Materna
autogenerated on Mon Oct 6 2014 07:57:12