AppStatus.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /tmp/buildd/ros-groovy-multimaster-experimental-0.2.1/debian/ros-groovy-multimaster-experimental/opt/ros/groovy/stacks/multimaster_experimental/app_manager/msg/AppStatus.msg */
00002 #ifndef APP_MANAGER_MESSAGE_APPSTATUS_H
00003 #define APP_MANAGER_MESSAGE_APPSTATUS_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 app_manager
00019 {
00020 template <class ContainerAllocator>
00021 struct AppStatus_ {
00022   typedef AppStatus_<ContainerAllocator> Type;
00023 
00024   AppStatus_()
00025   : type(0)
00026   , status()
00027   {
00028   }
00029 
00030   AppStatus_(const ContainerAllocator& _alloc)
00031   : type(0)
00032   , status(_alloc)
00033   {
00034   }
00035 
00036   typedef int32_t _type_type;
00037   int32_t type;
00038 
00039   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _status_type;
00040   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  status;
00041 
00042   enum { INFO = 0 };
00043   enum { WARN = 1 };
00044   enum { ERROR = 2 };
00045 
00046   typedef boost::shared_ptr< ::app_manager::AppStatus_<ContainerAllocator> > Ptr;
00047   typedef boost::shared_ptr< ::app_manager::AppStatus_<ContainerAllocator>  const> ConstPtr;
00048   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00049 }; // struct AppStatus
00050 typedef  ::app_manager::AppStatus_<std::allocator<void> > AppStatus;
00051 
00052 typedef boost::shared_ptr< ::app_manager::AppStatus> AppStatusPtr;
00053 typedef boost::shared_ptr< ::app_manager::AppStatus const> AppStatusConstPtr;
00054 
00055 
00056 template<typename ContainerAllocator>
00057 std::ostream& operator<<(std::ostream& s, const  ::app_manager::AppStatus_<ContainerAllocator> & v)
00058 {
00059   ros::message_operations::Printer< ::app_manager::AppStatus_<ContainerAllocator> >::stream(s, "", v);
00060   return s;}
00061 
00062 } // namespace app_manager
00063 
00064 namespace ros
00065 {
00066 namespace message_traits
00067 {
00068 template<class ContainerAllocator> struct IsMessage< ::app_manager::AppStatus_<ContainerAllocator> > : public TrueType {};
00069 template<class ContainerAllocator> struct IsMessage< ::app_manager::AppStatus_<ContainerAllocator>  const> : public TrueType {};
00070 template<class ContainerAllocator>
00071 struct MD5Sum< ::app_manager::AppStatus_<ContainerAllocator> > {
00072   static const char* value() 
00073   {
00074     return "4f59466d6810d5e9557e6b8ff75c9437";
00075   }
00076 
00077   static const char* value(const  ::app_manager::AppStatus_<ContainerAllocator> &) { return value(); } 
00078   static const uint64_t static_value1 = 0x4f59466d6810d5e9ULL;
00079   static const uint64_t static_value2 = 0x557e6b8ff75c9437ULL;
00080 };
00081 
00082 template<class ContainerAllocator>
00083 struct DataType< ::app_manager::AppStatus_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "app_manager/AppStatus";
00087   }
00088 
00089   static const char* value(const  ::app_manager::AppStatus_<ContainerAllocator> &) { return value(); } 
00090 };
00091 
00092 template<class ContainerAllocator>
00093 struct Definition< ::app_manager::AppStatus_<ContainerAllocator> > {
00094   static const char* value() 
00095   {
00096     return "int32 INFO=0\n\
00097 int32 WARN=1\n\
00098 int32 ERROR=2\n\
00099 # Status type.  One of INFO, WARN, ERROR.\n\
00100 int32 type\n\
00101 # Status message.\n\
00102 string status\n\
00103 \n\
00104 ";
00105   }
00106 
00107   static const char* value(const  ::app_manager::AppStatus_<ContainerAllocator> &) { return value(); } 
00108 };
00109 
00110 } // namespace message_traits
00111 } // namespace ros
00112 
00113 namespace ros
00114 {
00115 namespace serialization
00116 {
00117 
00118 template<class ContainerAllocator> struct Serializer< ::app_manager::AppStatus_<ContainerAllocator> >
00119 {
00120   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00121   {
00122     stream.next(m.type);
00123     stream.next(m.status);
00124   }
00125 
00126   ROS_DECLARE_ALLINONE_SERIALIZER;
00127 }; // struct AppStatus_
00128 } // namespace serialization
00129 } // namespace ros
00130 
00131 namespace ros
00132 {
00133 namespace message_operations
00134 {
00135 
00136 template<class ContainerAllocator>
00137 struct Printer< ::app_manager::AppStatus_<ContainerAllocator> >
00138 {
00139   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::app_manager::AppStatus_<ContainerAllocator> & v) 
00140   {
00141     s << indent << "type: ";
00142     Printer<int32_t>::stream(s, indent + "  ", v.type);
00143     s << indent << "status: ";
00144     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.status);
00145   }
00146 };
00147 
00148 
00149 } // namespace message_operations
00150 } // namespace ros
00151 
00152 #endif // APP_MANAGER_MESSAGE_APPSTATUS_H
00153 


app_manager
Author(s): Jeremy Leibs, Ken Conley
autogenerated on Thu Sep 3 2015 10:15:41