JointStatus.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-nasa_r2_common/doc_stacks/2014-10-06_02-39-31.575241/nasa_r2_common/nasa_r2_common_msgs/msg/JointStatus.msg */
00002 #ifndef NASA_R2_COMMON_MSGS_MESSAGE_JOINTSTATUS_H
00003 #define NASA_R2_COMMON_MSGS_MESSAGE_JOINTSTATUS_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 nasa_r2_common_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct JointStatus_ {
00022   typedef JointStatus_<ContainerAllocator> Type;
00023 
00024   JointStatus_()
00025   : publisher()
00026   , joint()
00027   , registerValue(0)
00028   , coeffsLoaded(false)
00029   , bridgeEnabled(false)
00030   , motorEnabled(false)
00031   , brakeReleased(false)
00032   , motorPowerDetected(false)
00033   , embeddedMotCom(false)
00034   , jointFaulted(false)
00035   {
00036   }
00037 
00038   JointStatus_(const ContainerAllocator& _alloc)
00039   : publisher(_alloc)
00040   , joint(_alloc)
00041   , registerValue(0)
00042   , coeffsLoaded(false)
00043   , bridgeEnabled(false)
00044   , motorEnabled(false)
00045   , brakeReleased(false)
00046   , motorPowerDetected(false)
00047   , embeddedMotCom(false)
00048   , jointFaulted(false)
00049   {
00050   }
00051 
00052   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _publisher_type;
00053   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  publisher;
00054 
00055   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _joint_type;
00056   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  joint;
00057 
00058   typedef uint32_t _registerValue_type;
00059   uint32_t registerValue;
00060 
00061   typedef uint8_t _coeffsLoaded_type;
00062   uint8_t coeffsLoaded;
00063 
00064   typedef uint8_t _bridgeEnabled_type;
00065   uint8_t bridgeEnabled;
00066 
00067   typedef uint8_t _motorEnabled_type;
00068   uint8_t motorEnabled;
00069 
00070   typedef uint8_t _brakeReleased_type;
00071   uint8_t brakeReleased;
00072 
00073   typedef uint8_t _motorPowerDetected_type;
00074   uint8_t motorPowerDetected;
00075 
00076   typedef uint8_t _embeddedMotCom_type;
00077   uint8_t embeddedMotCom;
00078 
00079   typedef uint8_t _jointFaulted_type;
00080   uint8_t jointFaulted;
00081 
00082 
00083   typedef boost::shared_ptr< ::nasa_r2_common_msgs::JointStatus_<ContainerAllocator> > Ptr;
00084   typedef boost::shared_ptr< ::nasa_r2_common_msgs::JointStatus_<ContainerAllocator>  const> ConstPtr;
00085   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00086 }; // struct JointStatus
00087 typedef  ::nasa_r2_common_msgs::JointStatus_<std::allocator<void> > JointStatus;
00088 
00089 typedef boost::shared_ptr< ::nasa_r2_common_msgs::JointStatus> JointStatusPtr;
00090 typedef boost::shared_ptr< ::nasa_r2_common_msgs::JointStatus const> JointStatusConstPtr;
00091 
00092 
00093 template<typename ContainerAllocator>
00094 std::ostream& operator<<(std::ostream& s, const  ::nasa_r2_common_msgs::JointStatus_<ContainerAllocator> & v)
00095 {
00096   ros::message_operations::Printer< ::nasa_r2_common_msgs::JointStatus_<ContainerAllocator> >::stream(s, "", v);
00097   return s;}
00098 
00099 } // namespace nasa_r2_common_msgs
00100 
00101 namespace ros
00102 {
00103 namespace message_traits
00104 {
00105 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::JointStatus_<ContainerAllocator> > : public TrueType {};
00106 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::JointStatus_<ContainerAllocator>  const> : public TrueType {};
00107 template<class ContainerAllocator>
00108 struct MD5Sum< ::nasa_r2_common_msgs::JointStatus_<ContainerAllocator> > {
00109   static const char* value() 
00110   {
00111     return "69537d8fb608e752f0cf704b8738add6";
00112   }
00113 
00114   static const char* value(const  ::nasa_r2_common_msgs::JointStatus_<ContainerAllocator> &) { return value(); } 
00115   static const uint64_t static_value1 = 0x69537d8fb608e752ULL;
00116   static const uint64_t static_value2 = 0xf0cf704b8738add6ULL;
00117 };
00118 
00119 template<class ContainerAllocator>
00120 struct DataType< ::nasa_r2_common_msgs::JointStatus_<ContainerAllocator> > {
00121   static const char* value() 
00122   {
00123     return "nasa_r2_common_msgs/JointStatus";
00124   }
00125 
00126   static const char* value(const  ::nasa_r2_common_msgs::JointStatus_<ContainerAllocator> &) { return value(); } 
00127 };
00128 
00129 template<class ContainerAllocator>
00130 struct Definition< ::nasa_r2_common_msgs::JointStatus_<ContainerAllocator> > {
00131   static const char* value() 
00132   {
00133     return "string publisher\n\
00134 string joint\n\
00135 uint32 registerValue\n\
00136 bool coeffsLoaded\n\
00137 bool bridgeEnabled\n\
00138 bool motorEnabled\n\
00139 bool brakeReleased\n\
00140 bool motorPowerDetected\n\
00141 bool embeddedMotCom\n\
00142 bool jointFaulted\n\
00143 \n\
00144 ";
00145   }
00146 
00147   static const char* value(const  ::nasa_r2_common_msgs::JointStatus_<ContainerAllocator> &) { return value(); } 
00148 };
00149 
00150 } // namespace message_traits
00151 } // namespace ros
00152 
00153 namespace ros
00154 {
00155 namespace serialization
00156 {
00157 
00158 template<class ContainerAllocator> struct Serializer< ::nasa_r2_common_msgs::JointStatus_<ContainerAllocator> >
00159 {
00160   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00161   {
00162     stream.next(m.publisher);
00163     stream.next(m.joint);
00164     stream.next(m.registerValue);
00165     stream.next(m.coeffsLoaded);
00166     stream.next(m.bridgeEnabled);
00167     stream.next(m.motorEnabled);
00168     stream.next(m.brakeReleased);
00169     stream.next(m.motorPowerDetected);
00170     stream.next(m.embeddedMotCom);
00171     stream.next(m.jointFaulted);
00172   }
00173 
00174   ROS_DECLARE_ALLINONE_SERIALIZER;
00175 }; // struct JointStatus_
00176 } // namespace serialization
00177 } // namespace ros
00178 
00179 namespace ros
00180 {
00181 namespace message_operations
00182 {
00183 
00184 template<class ContainerAllocator>
00185 struct Printer< ::nasa_r2_common_msgs::JointStatus_<ContainerAllocator> >
00186 {
00187   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::nasa_r2_common_msgs::JointStatus_<ContainerAllocator> & v) 
00188   {
00189     s << indent << "publisher: ";
00190     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.publisher);
00191     s << indent << "joint: ";
00192     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.joint);
00193     s << indent << "registerValue: ";
00194     Printer<uint32_t>::stream(s, indent + "  ", v.registerValue);
00195     s << indent << "coeffsLoaded: ";
00196     Printer<uint8_t>::stream(s, indent + "  ", v.coeffsLoaded);
00197     s << indent << "bridgeEnabled: ";
00198     Printer<uint8_t>::stream(s, indent + "  ", v.bridgeEnabled);
00199     s << indent << "motorEnabled: ";
00200     Printer<uint8_t>::stream(s, indent + "  ", v.motorEnabled);
00201     s << indent << "brakeReleased: ";
00202     Printer<uint8_t>::stream(s, indent + "  ", v.brakeReleased);
00203     s << indent << "motorPowerDetected: ";
00204     Printer<uint8_t>::stream(s, indent + "  ", v.motorPowerDetected);
00205     s << indent << "embeddedMotCom: ";
00206     Printer<uint8_t>::stream(s, indent + "  ", v.embeddedMotCom);
00207     s << indent << "jointFaulted: ";
00208     Printer<uint8_t>::stream(s, indent + "  ", v.jointFaulted);
00209   }
00210 };
00211 
00212 
00213 } // namespace message_operations
00214 } // namespace ros
00215 
00216 #endif // NASA_R2_COMMON_MSGS_MESSAGE_JOINTSTATUS_H
00217 


nasa_r2_common_msgs
Author(s): Paul Dinh. Maintained by Jennifer Turner
autogenerated on Mon Oct 6 2014 02:42:34