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


srs_assisted_grasping_msgs
Author(s): Zdenek Materna
autogenerated on Sun Jan 5 2014 11:58:15