ExecutiveState.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-flirtlib_features/doc_stacks/2013-11-28_11-19-05.212220/flirtlib_features/flirtlib_ros/msg/ExecutiveState.msg */
00002 #ifndef FLIRTLIB_ROS_MESSAGE_EXECUTIVESTATE_H
00003 #define FLIRTLIB_ROS_MESSAGE_EXECUTIVESTATE_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 flirtlib_ros
00019 {
00020 template <class ContainerAllocator>
00021 struct ExecutiveState_ {
00022   typedef ExecutiveState_<ContainerAllocator> Type;
00023 
00024   ExecutiveState_()
00025   : publishing_localization(false)
00026   , localization_badness(0.0)
00027   , successful_navs(0)
00028   {
00029   }
00030 
00031   ExecutiveState_(const ContainerAllocator& _alloc)
00032   : publishing_localization(false)
00033   , localization_badness(0.0)
00034   , successful_navs(0)
00035   {
00036   }
00037 
00038   typedef uint8_t _publishing_localization_type;
00039   uint8_t publishing_localization;
00040 
00041   typedef float _localization_badness_type;
00042   float localization_badness;
00043 
00044   typedef uint32_t _successful_navs_type;
00045   uint32_t successful_navs;
00046 
00047 
00048   typedef boost::shared_ptr< ::flirtlib_ros::ExecutiveState_<ContainerAllocator> > Ptr;
00049   typedef boost::shared_ptr< ::flirtlib_ros::ExecutiveState_<ContainerAllocator>  const> ConstPtr;
00050   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 }; // struct ExecutiveState
00052 typedef  ::flirtlib_ros::ExecutiveState_<std::allocator<void> > ExecutiveState;
00053 
00054 typedef boost::shared_ptr< ::flirtlib_ros::ExecutiveState> ExecutiveStatePtr;
00055 typedef boost::shared_ptr< ::flirtlib_ros::ExecutiveState const> ExecutiveStateConstPtr;
00056 
00057 
00058 template<typename ContainerAllocator>
00059 std::ostream& operator<<(std::ostream& s, const  ::flirtlib_ros::ExecutiveState_<ContainerAllocator> & v)
00060 {
00061   ros::message_operations::Printer< ::flirtlib_ros::ExecutiveState_<ContainerAllocator> >::stream(s, "", v);
00062   return s;}
00063 
00064 } // namespace flirtlib_ros
00065 
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070 template<class ContainerAllocator> struct IsMessage< ::flirtlib_ros::ExecutiveState_<ContainerAllocator> > : public TrueType {};
00071 template<class ContainerAllocator> struct IsMessage< ::flirtlib_ros::ExecutiveState_<ContainerAllocator>  const> : public TrueType {};
00072 template<class ContainerAllocator>
00073 struct MD5Sum< ::flirtlib_ros::ExecutiveState_<ContainerAllocator> > {
00074   static const char* value() 
00075   {
00076     return "87a76fce09087102a8a2c11f3e8fb6be";
00077   }
00078 
00079   static const char* value(const  ::flirtlib_ros::ExecutiveState_<ContainerAllocator> &) { return value(); } 
00080   static const uint64_t static_value1 = 0x87a76fce09087102ULL;
00081   static const uint64_t static_value2 = 0xa8a2c11f3e8fb6beULL;
00082 };
00083 
00084 template<class ContainerAllocator>
00085 struct DataType< ::flirtlib_ros::ExecutiveState_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "flirtlib_ros/ExecutiveState";
00089   }
00090 
00091   static const char* value(const  ::flirtlib_ros::ExecutiveState_<ContainerAllocator> &) { return value(); } 
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct Definition< ::flirtlib_ros::ExecutiveState_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "# Will the node publish localization messages to reset amcl if possible?\n\
00099 bool publishing_localization\n\
00100 \n\
00101 # How bad the current localization is\n\
00102 float32 localization_badness\n\
00103 \n\
00104 # How many successful navigations have been observed so far\n\
00105 uint32 successful_navs\n\
00106 ";
00107   }
00108 
00109   static const char* value(const  ::flirtlib_ros::ExecutiveState_<ContainerAllocator> &) { return value(); } 
00110 };
00111 
00112 template<class ContainerAllocator> struct IsFixedSize< ::flirtlib_ros::ExecutiveState_<ContainerAllocator> > : public TrueType {};
00113 } // namespace message_traits
00114 } // namespace ros
00115 
00116 namespace ros
00117 {
00118 namespace serialization
00119 {
00120 
00121 template<class ContainerAllocator> struct Serializer< ::flirtlib_ros::ExecutiveState_<ContainerAllocator> >
00122 {
00123   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00124   {
00125     stream.next(m.publishing_localization);
00126     stream.next(m.localization_badness);
00127     stream.next(m.successful_navs);
00128   }
00129 
00130   ROS_DECLARE_ALLINONE_SERIALIZER;
00131 }; // struct ExecutiveState_
00132 } // namespace serialization
00133 } // namespace ros
00134 
00135 namespace ros
00136 {
00137 namespace message_operations
00138 {
00139 
00140 template<class ContainerAllocator>
00141 struct Printer< ::flirtlib_ros::ExecutiveState_<ContainerAllocator> >
00142 {
00143   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::flirtlib_ros::ExecutiveState_<ContainerAllocator> & v) 
00144   {
00145     s << indent << "publishing_localization: ";
00146     Printer<uint8_t>::stream(s, indent + "  ", v.publishing_localization);
00147     s << indent << "localization_badness: ";
00148     Printer<float>::stream(s, indent + "  ", v.localization_badness);
00149     s << indent << "successful_navs: ";
00150     Printer<uint32_t>::stream(s, indent + "  ", v.successful_navs);
00151   }
00152 };
00153 
00154 
00155 } // namespace message_operations
00156 } // namespace ros
00157 
00158 #endif // FLIRTLIB_ROS_MESSAGE_EXECUTIVESTATE_H
00159 


flirtlib_ros
Author(s): Bhaskara Marthi
autogenerated on Thu Nov 28 2013 11:21:50