00001
00002 #ifndef CLEARPATH_BASE_MESSAGE_GPIO_H
00003 #define CLEARPATH_BASE_MESSAGE_GPIO_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013
00014 namespace clearpath_base
00015 {
00016 template <class ContainerAllocator>
00017 struct GPIO_ : public ros::Message
00018 {
00019 typedef GPIO_<ContainerAllocator> Type;
00020
00021 GPIO_()
00022 {
00023 }
00024
00025 GPIO_(const ContainerAllocator& _alloc)
00026 {
00027 }
00028
00029
00030 private:
00031 static const char* __s_getDataType_() { return "clearpath_base/GPIO"; }
00032 public:
00033 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00034
00035 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00036
00037 private:
00038 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; }
00039 public:
00040 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00041
00042 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00043
00044 private:
00045 static const char* __s_getMessageDefinition_() { return "\n\
00046 "; }
00047 public:
00048 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00049
00050 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00051
00052 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00053 {
00054 ros::serialization::OStream stream(write_ptr, 1000000000);
00055 return stream.getData();
00056 }
00057
00058 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00059 {
00060 ros::serialization::IStream stream(read_ptr, 1000000000);
00061 return stream.getData();
00062 }
00063
00064 ROS_DEPRECATED virtual uint32_t serializationLength() const
00065 {
00066 uint32_t size = 0;
00067 return size;
00068 }
00069
00070 typedef boost::shared_ptr< ::clearpath_base::GPIO_<ContainerAllocator> > Ptr;
00071 typedef boost::shared_ptr< ::clearpath_base::GPIO_<ContainerAllocator> const> ConstPtr;
00072 };
00073 typedef ::clearpath_base::GPIO_<std::allocator<void> > GPIO;
00074
00075 typedef boost::shared_ptr< ::clearpath_base::GPIO> GPIOPtr;
00076 typedef boost::shared_ptr< ::clearpath_base::GPIO const> GPIOConstPtr;
00077
00078
00079 template<typename ContainerAllocator>
00080 std::ostream& operator<<(std::ostream& s, const ::clearpath_base::GPIO_<ContainerAllocator> & v)
00081 {
00082 ros::message_operations::Printer< ::clearpath_base::GPIO_<ContainerAllocator> >::stream(s, "", v);
00083 return s;}
00084
00085 }
00086
00087 namespace ros
00088 {
00089 namespace message_traits
00090 {
00091 template<class ContainerAllocator>
00092 struct MD5Sum< ::clearpath_base::GPIO_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "d41d8cd98f00b204e9800998ecf8427e";
00096 }
00097
00098 static const char* value(const ::clearpath_base::GPIO_<ContainerAllocator> &) { return value(); }
00099 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00100 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00101 };
00102
00103 template<class ContainerAllocator>
00104 struct DataType< ::clearpath_base::GPIO_<ContainerAllocator> > {
00105 static const char* value()
00106 {
00107 return "clearpath_base/GPIO";
00108 }
00109
00110 static const char* value(const ::clearpath_base::GPIO_<ContainerAllocator> &) { return value(); }
00111 };
00112
00113 template<class ContainerAllocator>
00114 struct Definition< ::clearpath_base::GPIO_<ContainerAllocator> > {
00115 static const char* value()
00116 {
00117 return "\n\
00118 ";
00119 }
00120
00121 static const char* value(const ::clearpath_base::GPIO_<ContainerAllocator> &) { return value(); }
00122 };
00123
00124 template<class ContainerAllocator> struct IsFixedSize< ::clearpath_base::GPIO_<ContainerAllocator> > : public TrueType {};
00125 }
00126 }
00127
00128 namespace ros
00129 {
00130 namespace serialization
00131 {
00132
00133 template<class ContainerAllocator> struct Serializer< ::clearpath_base::GPIO_<ContainerAllocator> >
00134 {
00135 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00136 {
00137 }
00138
00139 ROS_DECLARE_ALLINONE_SERIALIZER;
00140 };
00141 }
00142 }
00143
00144 namespace ros
00145 {
00146 namespace message_operations
00147 {
00148
00149 template<class ContainerAllocator>
00150 struct Printer< ::clearpath_base::GPIO_<ContainerAllocator> >
00151 {
00152 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::clearpath_base::GPIO_<ContainerAllocator> & v)
00153 {
00154 }
00155 };
00156
00157
00158 }
00159 }
00160
00161 #endif // CLEARPATH_BASE_MESSAGE_GPIO_H
00162