Go to the documentation of this file.00001
00002 #ifndef DRIVER_BASE_MESSAGE_SENSORLEVELS_H
00003 #define DRIVER_BASE_MESSAGE_SENSORLEVELS_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 driver_base
00019 {
00020 template <class ContainerAllocator>
00021 struct SensorLevels_ {
00022 typedef SensorLevels_<ContainerAllocator> Type;
00023
00024 SensorLevels_()
00025 {
00026 }
00027
00028 SensorLevels_(const ContainerAllocator& _alloc)
00029 {
00030 }
00031
00032 enum { RECONFIGURE_CLOSE = 3 };
00033 enum { RECONFIGURE_STOP = 1 };
00034 enum { RECONFIGURE_RUNNING = 0 };
00035
00036 typedef boost::shared_ptr< ::driver_base::SensorLevels_<ContainerAllocator> > Ptr;
00037 typedef boost::shared_ptr< ::driver_base::SensorLevels_<ContainerAllocator> const> ConstPtr;
00038 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00039 };
00040 typedef ::driver_base::SensorLevels_<std::allocator<void> > SensorLevels;
00041
00042 typedef boost::shared_ptr< ::driver_base::SensorLevels> SensorLevelsPtr;
00043 typedef boost::shared_ptr< ::driver_base::SensorLevels const> SensorLevelsConstPtr;
00044
00045
00046 template<typename ContainerAllocator>
00047 std::ostream& operator<<(std::ostream& s, const ::driver_base::SensorLevels_<ContainerAllocator> & v)
00048 {
00049 ros::message_operations::Printer< ::driver_base::SensorLevels_<ContainerAllocator> >::stream(s, "", v);
00050 return s;}
00051
00052 }
00053
00054 namespace ros
00055 {
00056 namespace message_traits
00057 {
00058 template<class ContainerAllocator> struct IsMessage< ::driver_base::SensorLevels_<ContainerAllocator> > : public TrueType {};
00059 template<class ContainerAllocator> struct IsMessage< ::driver_base::SensorLevels_<ContainerAllocator> const> : public TrueType {};
00060 template<class ContainerAllocator>
00061 struct MD5Sum< ::driver_base::SensorLevels_<ContainerAllocator> > {
00062 static const char* value()
00063 {
00064 return "6322637bee96d5489db6e2127c47602c";
00065 }
00066
00067 static const char* value(const ::driver_base::SensorLevels_<ContainerAllocator> &) { return value(); }
00068 static const uint64_t static_value1 = 0x6322637bee96d548ULL;
00069 static const uint64_t static_value2 = 0x9db6e2127c47602cULL;
00070 };
00071
00072 template<class ContainerAllocator>
00073 struct DataType< ::driver_base::SensorLevels_<ContainerAllocator> > {
00074 static const char* value()
00075 {
00076 return "driver_base/SensorLevels";
00077 }
00078
00079 static const char* value(const ::driver_base::SensorLevels_<ContainerAllocator> &) { return value(); }
00080 };
00081
00082 template<class ContainerAllocator>
00083 struct Definition< ::driver_base::SensorLevels_<ContainerAllocator> > {
00084 static const char* value()
00085 {
00086 return "byte RECONFIGURE_CLOSE = 3 # Parameters that need a sensor to be stopped completely when changed\n\
00087 byte RECONFIGURE_STOP = 1 # Parameters that need a sensor to stop streaming when changed\n\
00088 byte RECONFIGURE_RUNNING = 0 # Parameters that can be changed while a sensor is streaming\n\
00089 \n\
00090 ";
00091 }
00092
00093 static const char* value(const ::driver_base::SensorLevels_<ContainerAllocator> &) { return value(); }
00094 };
00095
00096 template<class ContainerAllocator> struct IsFixedSize< ::driver_base::SensorLevels_<ContainerAllocator> > : public TrueType {};
00097 }
00098 }
00099
00100 namespace ros
00101 {
00102 namespace serialization
00103 {
00104
00105 template<class ContainerAllocator> struct Serializer< ::driver_base::SensorLevels_<ContainerAllocator> >
00106 {
00107 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00108 {
00109 }
00110
00111 ROS_DECLARE_ALLINONE_SERIALIZER;
00112 };
00113 }
00114 }
00115
00116 namespace ros
00117 {
00118 namespace message_operations
00119 {
00120
00121 template<class ContainerAllocator>
00122 struct Printer< ::driver_base::SensorLevels_<ContainerAllocator> >
00123 {
00124 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::driver_base::SensorLevels_<ContainerAllocator> & v)
00125 {
00126 }
00127 };
00128
00129
00130 }
00131 }
00132
00133 #endif // DRIVER_BASE_MESSAGE_SENSORLEVELS_H
00134