00001
00002 #ifndef PR2_LASER_SNAPSHOTTER_MESSAGE_TILTLASERSNAPSHOTGOAL_H
00003 #define PR2_LASER_SNAPSHOTTER_MESSAGE_TILTLASERSNAPSHOTGOAL_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 pr2_laser_snapshotter
00015 {
00016 template <class ContainerAllocator>
00017 struct TiltLaserSnapshotGoal_ : public ros::Message
00018 {
00019 typedef TiltLaserSnapshotGoal_<ContainerAllocator> Type;
00020
00021 TiltLaserSnapshotGoal_()
00022 : angle_begin(0.0)
00023 , angle_end(0.0)
00024 , duration(0.0)
00025 {
00026 }
00027
00028 TiltLaserSnapshotGoal_(const ContainerAllocator& _alloc)
00029 : angle_begin(0.0)
00030 , angle_end(0.0)
00031 , duration(0.0)
00032 {
00033 }
00034
00035 typedef double _angle_begin_type;
00036 double angle_begin;
00037
00038 typedef double _angle_end_type;
00039 double angle_end;
00040
00041 typedef double _duration_type;
00042 double duration;
00043
00044
00045 private:
00046 static const char* __s_getDataType_() { return "pr2_laser_snapshotter/TiltLaserSnapshotGoal"; }
00047 public:
00048 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00049
00050 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00051
00052 private:
00053 static const char* __s_getMD5Sum_() { return "f30b95de7b6756e5f67b5d49f4f7affd"; }
00054 public:
00055 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00056
00057 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00058
00059 private:
00060 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00061 float64 angle_begin\n\
00062 float64 angle_end\n\
00063 float64 duration\n\
00064 \n\
00065 "; }
00066 public:
00067 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00068
00069 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00070
00071 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00072 {
00073 ros::serialization::OStream stream(write_ptr, 1000000000);
00074 ros::serialization::serialize(stream, angle_begin);
00075 ros::serialization::serialize(stream, angle_end);
00076 ros::serialization::serialize(stream, duration);
00077 return stream.getData();
00078 }
00079
00080 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00081 {
00082 ros::serialization::IStream stream(read_ptr, 1000000000);
00083 ros::serialization::deserialize(stream, angle_begin);
00084 ros::serialization::deserialize(stream, angle_end);
00085 ros::serialization::deserialize(stream, duration);
00086 return stream.getData();
00087 }
00088
00089 ROS_DEPRECATED virtual uint32_t serializationLength() const
00090 {
00091 uint32_t size = 0;
00092 size += ros::serialization::serializationLength(angle_begin);
00093 size += ros::serialization::serializationLength(angle_end);
00094 size += ros::serialization::serializationLength(duration);
00095 return size;
00096 }
00097
00098 typedef boost::shared_ptr< ::pr2_laser_snapshotter::TiltLaserSnapshotGoal_<ContainerAllocator> > Ptr;
00099 typedef boost::shared_ptr< ::pr2_laser_snapshotter::TiltLaserSnapshotGoal_<ContainerAllocator> const> ConstPtr;
00100 };
00101 typedef ::pr2_laser_snapshotter::TiltLaserSnapshotGoal_<std::allocator<void> > TiltLaserSnapshotGoal;
00102
00103 typedef boost::shared_ptr< ::pr2_laser_snapshotter::TiltLaserSnapshotGoal> TiltLaserSnapshotGoalPtr;
00104 typedef boost::shared_ptr< ::pr2_laser_snapshotter::TiltLaserSnapshotGoal const> TiltLaserSnapshotGoalConstPtr;
00105
00106
00107 template<typename ContainerAllocator>
00108 std::ostream& operator<<(std::ostream& s, const ::pr2_laser_snapshotter::TiltLaserSnapshotGoal_<ContainerAllocator> & v)
00109 {
00110 ros::message_operations::Printer< ::pr2_laser_snapshotter::TiltLaserSnapshotGoal_<ContainerAllocator> >::stream(s, "", v);
00111 return s;}
00112
00113 }
00114
00115 namespace ros
00116 {
00117 namespace message_traits
00118 {
00119 template<class ContainerAllocator>
00120 struct MD5Sum< ::pr2_laser_snapshotter::TiltLaserSnapshotGoal_<ContainerAllocator> > {
00121 static const char* value()
00122 {
00123 return "f30b95de7b6756e5f67b5d49f4f7affd";
00124 }
00125
00126 static const char* value(const ::pr2_laser_snapshotter::TiltLaserSnapshotGoal_<ContainerAllocator> &) { return value(); }
00127 static const uint64_t static_value1 = 0xf30b95de7b6756e5ULL;
00128 static const uint64_t static_value2 = 0xf67b5d49f4f7affdULL;
00129 };
00130
00131 template<class ContainerAllocator>
00132 struct DataType< ::pr2_laser_snapshotter::TiltLaserSnapshotGoal_<ContainerAllocator> > {
00133 static const char* value()
00134 {
00135 return "pr2_laser_snapshotter/TiltLaserSnapshotGoal";
00136 }
00137
00138 static const char* value(const ::pr2_laser_snapshotter::TiltLaserSnapshotGoal_<ContainerAllocator> &) { return value(); }
00139 };
00140
00141 template<class ContainerAllocator>
00142 struct Definition< ::pr2_laser_snapshotter::TiltLaserSnapshotGoal_<ContainerAllocator> > {
00143 static const char* value()
00144 {
00145 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00146 float64 angle_begin\n\
00147 float64 angle_end\n\
00148 float64 duration\n\
00149 \n\
00150 ";
00151 }
00152
00153 static const char* value(const ::pr2_laser_snapshotter::TiltLaserSnapshotGoal_<ContainerAllocator> &) { return value(); }
00154 };
00155
00156 template<class ContainerAllocator> struct IsFixedSize< ::pr2_laser_snapshotter::TiltLaserSnapshotGoal_<ContainerAllocator> > : public TrueType {};
00157 }
00158 }
00159
00160 namespace ros
00161 {
00162 namespace serialization
00163 {
00164
00165 template<class ContainerAllocator> struct Serializer< ::pr2_laser_snapshotter::TiltLaserSnapshotGoal_<ContainerAllocator> >
00166 {
00167 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00168 {
00169 stream.next(m.angle_begin);
00170 stream.next(m.angle_end);
00171 stream.next(m.duration);
00172 }
00173
00174 ROS_DECLARE_ALLINONE_SERIALIZER;
00175 };
00176 }
00177 }
00178
00179 namespace ros
00180 {
00181 namespace message_operations
00182 {
00183
00184 template<class ContainerAllocator>
00185 struct Printer< ::pr2_laser_snapshotter::TiltLaserSnapshotGoal_<ContainerAllocator> >
00186 {
00187 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_laser_snapshotter::TiltLaserSnapshotGoal_<ContainerAllocator> & v)
00188 {
00189 s << indent << "angle_begin: ";
00190 Printer<double>::stream(s, indent + " ", v.angle_begin);
00191 s << indent << "angle_end: ";
00192 Printer<double>::stream(s, indent + " ", v.angle_end);
00193 s << indent << "duration: ";
00194 Printer<double>::stream(s, indent + " ", v.duration);
00195 }
00196 };
00197
00198
00199 }
00200 }
00201
00202 #endif // PR2_LASER_SNAPSHOTTER_MESSAGE_TILTLASERSNAPSHOTGOAL_H
00203