ObjectState.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-hector_worldmodel/doc_stacks/2014-10-06_00-33-41.120387/hector_worldmodel/hector_worldmodel_msgs/msg/ObjectState.msg */
00002 #ifndef HECTOR_WORLDMODEL_MSGS_MESSAGE_OBJECTSTATE_H
00003 #define HECTOR_WORLDMODEL_MSGS_MESSAGE_OBJECTSTATE_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 hector_worldmodel_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct ObjectState_ {
00022   typedef ObjectState_<ContainerAllocator> Type;
00023 
00024   ObjectState_()
00025   : state(0)
00026   {
00027   }
00028 
00029   ObjectState_(const ContainerAllocator& _alloc)
00030   : state(0)
00031   {
00032   }
00033 
00034   typedef int8_t _state_type;
00035   int8_t state;
00036 
00037   enum { UNKNOWN = 0 };
00038   enum { PENDING = 1 };
00039   enum { ACTIVE = 2 };
00040   enum { INACTIVE = 3 };
00041   enum { CONFIRMED = -1 };
00042   enum { DISCARDED = -2 };
00043   enum { APPROACHING = -3 };
00044 
00045   typedef boost::shared_ptr< ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct ObjectState
00049 typedef  ::hector_worldmodel_msgs::ObjectState_<std::allocator<void> > ObjectState;
00050 
00051 typedef boost::shared_ptr< ::hector_worldmodel_msgs::ObjectState> ObjectStatePtr;
00052 typedef boost::shared_ptr< ::hector_worldmodel_msgs::ObjectState const> ObjectStateConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace hector_worldmodel_msgs
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "5bb1b6744a4e40af3e4b8b56b4e06597";
00074   }
00075 
00076   static const char* value(const  ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0x5bb1b6744a4e40afULL;
00078   static const uint64_t static_value2 = 0x3e4b8b56b4e06597ULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "hector_worldmodel_msgs/ObjectState";
00086   }
00087 
00088   static const char* value(const  ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "# The state of an object estimate used to track\n\
00096 # states smaller than 0 disable all updates\n\
00097 \n\
00098 # Predefined states. Use states smaller than 0 or bigger than 63 for user defined states.\n\
00099 int8 UNKNOWN = 0\n\
00100 int8 PENDING = 1\n\
00101 int8 ACTIVE  = 2\n\
00102 int8 INACTIVE = 3\n\
00103 int8 CONFIRMED = -1\n\
00104 int8 DISCARDED = -2\n\
00105 int8 APPROACHING = -3\n\
00106 \n\
00107 int8 state\n\
00108 \n\
00109 ";
00110   }
00111 
00112   static const char* value(const  ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator> &) { return value(); } 
00113 };
00114 
00115 template<class ContainerAllocator> struct IsFixedSize< ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator> > : public TrueType {};
00116 } // namespace message_traits
00117 } // namespace ros
00118 
00119 namespace ros
00120 {
00121 namespace serialization
00122 {
00123 
00124 template<class ContainerAllocator> struct Serializer< ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator> >
00125 {
00126   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00127   {
00128     stream.next(m.state);
00129   }
00130 
00131   ROS_DECLARE_ALLINONE_SERIALIZER;
00132 }; // struct ObjectState_
00133 } // namespace serialization
00134 } // namespace ros
00135 
00136 namespace ros
00137 {
00138 namespace message_operations
00139 {
00140 
00141 template<class ContainerAllocator>
00142 struct Printer< ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator> >
00143 {
00144   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator> & v) 
00145   {
00146     s << indent << "state: ";
00147     Printer<int8_t>::stream(s, indent + "  ", v.state);
00148   }
00149 };
00150 
00151 
00152 } // namespace message_operations
00153 } // namespace ros
00154 
00155 #endif // HECTOR_WORLDMODEL_MSGS_MESSAGE_OBJECTSTATE_H
00156 


hector_worldmodel_msgs
Author(s): Johannes Meyer
autogenerated on Mon Oct 6 2014 00:36:27