SchunkStatus.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-scitos_metralabs/doc_stacks/2014-10-06_07-26-25.613438/scitos_metralabs/metralabs_msgs/msg/SchunkStatus.msg */
00002 #ifndef METRALABS_MSGS_MESSAGE_SCHUNKSTATUS_H
00003 #define METRALABS_MSGS_MESSAGE_SCHUNKSTATUS_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 "metralabs_msgs/SchunkJointStatus.h"
00018 
00019 namespace metralabs_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct SchunkStatus_ {
00023   typedef SchunkStatus_<ContainerAllocator> Type;
00024 
00025   SchunkStatus_()
00026   : joints()
00027   {
00028   }
00029 
00030   SchunkStatus_(const ContainerAllocator& _alloc)
00031   : joints(_alloc)
00032   {
00033   }
00034 
00035   typedef std::vector< ::metralabs_msgs::SchunkJointStatus_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::metralabs_msgs::SchunkJointStatus_<ContainerAllocator> >::other >  _joints_type;
00036   std::vector< ::metralabs_msgs::SchunkJointStatus_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::metralabs_msgs::SchunkJointStatus_<ContainerAllocator> >::other >  joints;
00037 
00038 
00039   typedef boost::shared_ptr< ::metralabs_msgs::SchunkStatus_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::metralabs_msgs::SchunkStatus_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct SchunkStatus
00043 typedef  ::metralabs_msgs::SchunkStatus_<std::allocator<void> > SchunkStatus;
00044 
00045 typedef boost::shared_ptr< ::metralabs_msgs::SchunkStatus> SchunkStatusPtr;
00046 typedef boost::shared_ptr< ::metralabs_msgs::SchunkStatus const> SchunkStatusConstPtr;
00047 
00048 
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const  ::metralabs_msgs::SchunkStatus_<ContainerAllocator> & v)
00051 {
00052   ros::message_operations::Printer< ::metralabs_msgs::SchunkStatus_<ContainerAllocator> >::stream(s, "", v);
00053   return s;}
00054 
00055 } // namespace metralabs_msgs
00056 
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::metralabs_msgs::SchunkStatus_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::metralabs_msgs::SchunkStatus_<ContainerAllocator>  const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::metralabs_msgs::SchunkStatus_<ContainerAllocator> > {
00065   static const char* value() 
00066   {
00067     return "25e674653eb5fea7e752f17898cdeecd";
00068   }
00069 
00070   static const char* value(const  ::metralabs_msgs::SchunkStatus_<ContainerAllocator> &) { return value(); } 
00071   static const uint64_t static_value1 = 0x25e674653eb5fea7ULL;
00072   static const uint64_t static_value2 = 0xe752f17898cdeecdULL;
00073 };
00074 
00075 template<class ContainerAllocator>
00076 struct DataType< ::metralabs_msgs::SchunkStatus_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "metralabs_msgs/SchunkStatus";
00080   }
00081 
00082   static const char* value(const  ::metralabs_msgs::SchunkStatus_<ContainerAllocator> &) { return value(); } 
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct Definition< ::metralabs_msgs::SchunkStatus_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "SchunkJointStatus[] joints\n\
00090 \n\
00091 ================================================================================\n\
00092 MSG: metralabs_msgs/SchunkJointStatus\n\
00093 string  jointName\n\
00094 float32 current\n\
00095 uint8 errorCode\n\
00096 bool referenced\n\
00097 bool moving\n\
00098 bool progMode\n\
00099 bool warning\n\
00100 bool error \n\
00101 bool brake\n\
00102 bool moveEnd\n\
00103 bool posReached\n\
00104 \n\
00105 ";
00106   }
00107 
00108   static const char* value(const  ::metralabs_msgs::SchunkStatus_<ContainerAllocator> &) { return value(); } 
00109 };
00110 
00111 } // namespace message_traits
00112 } // namespace ros
00113 
00114 namespace ros
00115 {
00116 namespace serialization
00117 {
00118 
00119 template<class ContainerAllocator> struct Serializer< ::metralabs_msgs::SchunkStatus_<ContainerAllocator> >
00120 {
00121   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00122   {
00123     stream.next(m.joints);
00124   }
00125 
00126   ROS_DECLARE_ALLINONE_SERIALIZER;
00127 }; // struct SchunkStatus_
00128 } // namespace serialization
00129 } // namespace ros
00130 
00131 namespace ros
00132 {
00133 namespace message_operations
00134 {
00135 
00136 template<class ContainerAllocator>
00137 struct Printer< ::metralabs_msgs::SchunkStatus_<ContainerAllocator> >
00138 {
00139   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::metralabs_msgs::SchunkStatus_<ContainerAllocator> & v) 
00140   {
00141     s << indent << "joints[]" << std::endl;
00142     for (size_t i = 0; i < v.joints.size(); ++i)
00143     {
00144       s << indent << "  joints[" << i << "]: ";
00145       s << std::endl;
00146       s << indent;
00147       Printer< ::metralabs_msgs::SchunkJointStatus_<ContainerAllocator> >::stream(s, indent + "    ", v.joints[i]);
00148     }
00149   }
00150 };
00151 
00152 
00153 } // namespace message_operations
00154 } // namespace ros
00155 
00156 #endif // METRALABS_MSGS_MESSAGE_SCHUNKSTATUS_H
00157 


metralabs_msgs
Author(s): Felix Kolbe
autogenerated on Mon Oct 6 2014 07:27:55