SchunkJointStatus.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-scitos_metralabs/doc_stacks/2014-01-07_11-37-33.253018/scitos_metralabs/metralabs_msgs/msg/SchunkJointStatus.msg */
00002 #ifndef METRALABS_MSGS_MESSAGE_SCHUNKJOINTSTATUS_H
00003 #define METRALABS_MSGS_MESSAGE_SCHUNKJOINTSTATUS_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 
00018 namespace metralabs_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct SchunkJointStatus_ {
00022   typedef SchunkJointStatus_<ContainerAllocator> Type;
00023 
00024   SchunkJointStatus_()
00025   : jointName()
00026   , current(0.0)
00027   , errorCode(0)
00028   , referenced(false)
00029   , moving(false)
00030   , progMode(false)
00031   , warning(false)
00032   , error(false)
00033   , brake(false)
00034   , moveEnd(false)
00035   , posReached(false)
00036   {
00037   }
00038 
00039   SchunkJointStatus_(const ContainerAllocator& _alloc)
00040   : jointName(_alloc)
00041   , current(0.0)
00042   , errorCode(0)
00043   , referenced(false)
00044   , moving(false)
00045   , progMode(false)
00046   , warning(false)
00047   , error(false)
00048   , brake(false)
00049   , moveEnd(false)
00050   , posReached(false)
00051   {
00052   }
00053 
00054   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _jointName_type;
00055   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  jointName;
00056 
00057   typedef float _current_type;
00058   float current;
00059 
00060   typedef uint8_t _errorCode_type;
00061   uint8_t errorCode;
00062 
00063   typedef uint8_t _referenced_type;
00064   uint8_t referenced;
00065 
00066   typedef uint8_t _moving_type;
00067   uint8_t moving;
00068 
00069   typedef uint8_t _progMode_type;
00070   uint8_t progMode;
00071 
00072   typedef uint8_t _warning_type;
00073   uint8_t warning;
00074 
00075   typedef uint8_t _error_type;
00076   uint8_t error;
00077 
00078   typedef uint8_t _brake_type;
00079   uint8_t brake;
00080 
00081   typedef uint8_t _moveEnd_type;
00082   uint8_t moveEnd;
00083 
00084   typedef uint8_t _posReached_type;
00085   uint8_t posReached;
00086 
00087 
00088   typedef boost::shared_ptr< ::metralabs_msgs::SchunkJointStatus_<ContainerAllocator> > Ptr;
00089   typedef boost::shared_ptr< ::metralabs_msgs::SchunkJointStatus_<ContainerAllocator>  const> ConstPtr;
00090   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00091 }; // struct SchunkJointStatus
00092 typedef  ::metralabs_msgs::SchunkJointStatus_<std::allocator<void> > SchunkJointStatus;
00093 
00094 typedef boost::shared_ptr< ::metralabs_msgs::SchunkJointStatus> SchunkJointStatusPtr;
00095 typedef boost::shared_ptr< ::metralabs_msgs::SchunkJointStatus const> SchunkJointStatusConstPtr;
00096 
00097 
00098 template<typename ContainerAllocator>
00099 std::ostream& operator<<(std::ostream& s, const  ::metralabs_msgs::SchunkJointStatus_<ContainerAllocator> & v)
00100 {
00101   ros::message_operations::Printer< ::metralabs_msgs::SchunkJointStatus_<ContainerAllocator> >::stream(s, "", v);
00102   return s;}
00103 
00104 } // namespace metralabs_msgs
00105 
00106 namespace ros
00107 {
00108 namespace message_traits
00109 {
00110 template<class ContainerAllocator> struct IsMessage< ::metralabs_msgs::SchunkJointStatus_<ContainerAllocator> > : public TrueType {};
00111 template<class ContainerAllocator> struct IsMessage< ::metralabs_msgs::SchunkJointStatus_<ContainerAllocator>  const> : public TrueType {};
00112 template<class ContainerAllocator>
00113 struct MD5Sum< ::metralabs_msgs::SchunkJointStatus_<ContainerAllocator> > {
00114   static const char* value() 
00115   {
00116     return "02b6a38cdad0883cadc61b1ddb8b7bb3";
00117   }
00118 
00119   static const char* value(const  ::metralabs_msgs::SchunkJointStatus_<ContainerAllocator> &) { return value(); } 
00120   static const uint64_t static_value1 = 0x02b6a38cdad0883cULL;
00121   static const uint64_t static_value2 = 0xadc61b1ddb8b7bb3ULL;
00122 };
00123 
00124 template<class ContainerAllocator>
00125 struct DataType< ::metralabs_msgs::SchunkJointStatus_<ContainerAllocator> > {
00126   static const char* value() 
00127   {
00128     return "metralabs_msgs/SchunkJointStatus";
00129   }
00130 
00131   static const char* value(const  ::metralabs_msgs::SchunkJointStatus_<ContainerAllocator> &) { return value(); } 
00132 };
00133 
00134 template<class ContainerAllocator>
00135 struct Definition< ::metralabs_msgs::SchunkJointStatus_<ContainerAllocator> > {
00136   static const char* value() 
00137   {
00138     return "string  jointName\n\
00139 float32 current\n\
00140 uint8 errorCode\n\
00141 bool referenced\n\
00142 bool moving\n\
00143 bool progMode\n\
00144 bool warning\n\
00145 bool error \n\
00146 bool brake\n\
00147 bool moveEnd\n\
00148 bool posReached\n\
00149 \n\
00150 ";
00151   }
00152 
00153   static const char* value(const  ::metralabs_msgs::SchunkJointStatus_<ContainerAllocator> &) { return value(); } 
00154 };
00155 
00156 } // namespace message_traits
00157 } // namespace ros
00158 
00159 namespace ros
00160 {
00161 namespace serialization
00162 {
00163 
00164 template<class ContainerAllocator> struct Serializer< ::metralabs_msgs::SchunkJointStatus_<ContainerAllocator> >
00165 {
00166   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00167   {
00168     stream.next(m.jointName);
00169     stream.next(m.current);
00170     stream.next(m.errorCode);
00171     stream.next(m.referenced);
00172     stream.next(m.moving);
00173     stream.next(m.progMode);
00174     stream.next(m.warning);
00175     stream.next(m.error);
00176     stream.next(m.brake);
00177     stream.next(m.moveEnd);
00178     stream.next(m.posReached);
00179   }
00180 
00181   ROS_DECLARE_ALLINONE_SERIALIZER;
00182 }; // struct SchunkJointStatus_
00183 } // namespace serialization
00184 } // namespace ros
00185 
00186 namespace ros
00187 {
00188 namespace message_operations
00189 {
00190 
00191 template<class ContainerAllocator>
00192 struct Printer< ::metralabs_msgs::SchunkJointStatus_<ContainerAllocator> >
00193 {
00194   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::metralabs_msgs::SchunkJointStatus_<ContainerAllocator> & v) 
00195   {
00196     s << indent << "jointName: ";
00197     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.jointName);
00198     s << indent << "current: ";
00199     Printer<float>::stream(s, indent + "  ", v.current);
00200     s << indent << "errorCode: ";
00201     Printer<uint8_t>::stream(s, indent + "  ", v.errorCode);
00202     s << indent << "referenced: ";
00203     Printer<uint8_t>::stream(s, indent + "  ", v.referenced);
00204     s << indent << "moving: ";
00205     Printer<uint8_t>::stream(s, indent + "  ", v.moving);
00206     s << indent << "progMode: ";
00207     Printer<uint8_t>::stream(s, indent + "  ", v.progMode);
00208     s << indent << "warning: ";
00209     Printer<uint8_t>::stream(s, indent + "  ", v.warning);
00210     s << indent << "error: ";
00211     Printer<uint8_t>::stream(s, indent + "  ", v.error);
00212     s << indent << "brake: ";
00213     Printer<uint8_t>::stream(s, indent + "  ", v.brake);
00214     s << indent << "moveEnd: ";
00215     Printer<uint8_t>::stream(s, indent + "  ", v.moveEnd);
00216     s << indent << "posReached: ";
00217     Printer<uint8_t>::stream(s, indent + "  ", v.posReached);
00218   }
00219 };
00220 
00221 
00222 } // namespace message_operations
00223 } // namespace ros
00224 
00225 #endif // METRALABS_MSGS_MESSAGE_SCHUNKJOINTSTATUS_H
00226 


metralabs_msgs
Author(s): Felix Kolbe
autogenerated on Tue Jan 7 2014 11:38:53