StatusCodes.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-multimaster_experimental/doc_stacks/2013-12-02_11-35-08.874104/multimaster_experimental/app_manager/msg/StatusCodes.msg */
00002 #ifndef APP_MANAGER_MESSAGE_STATUSCODES_H
00003 #define APP_MANAGER_MESSAGE_STATUSCODES_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 StatusCodes_ {
00022   typedef StatusCodes_<ContainerAllocator> Type;
00023 
00024   StatusCodes_()
00025   {
00026   }
00027 
00028   StatusCodes_(const ContainerAllocator& _alloc)
00029   {
00030   }
00031 
00032   enum { SUCCESS = 0 };
00033   enum { BAD_REQUEST = 400 };
00034   enum { NOT_FOUND = 404 };
00035   enum { NOT_RUNNING = 430 };
00036   enum { INTERNAL_ERROR = 500 };
00037   enum { APP_INVALID = 510 };
00038   enum { MULTIAPP_NOT_SUPPORTED = 511 };
00039 
00040   typedef boost::shared_ptr< ::app_manager::StatusCodes_<ContainerAllocator> > Ptr;
00041   typedef boost::shared_ptr< ::app_manager::StatusCodes_<ContainerAllocator>  const> ConstPtr;
00042   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00043 }; // struct StatusCodes
00044 typedef  ::app_manager::StatusCodes_<std::allocator<void> > StatusCodes;
00045 
00046 typedef boost::shared_ptr< ::app_manager::StatusCodes> StatusCodesPtr;
00047 typedef boost::shared_ptr< ::app_manager::StatusCodes const> StatusCodesConstPtr;
00048 
00049 
00050 template<typename ContainerAllocator>
00051 std::ostream& operator<<(std::ostream& s, const  ::app_manager::StatusCodes_<ContainerAllocator> & v)
00052 {
00053   ros::message_operations::Printer< ::app_manager::StatusCodes_<ContainerAllocator> >::stream(s, "", v);
00054   return s;}
00055 
00056 } // namespace app_manager
00057 
00058 namespace ros
00059 {
00060 namespace message_traits
00061 {
00062 template<class ContainerAllocator> struct IsMessage< ::app_manager::StatusCodes_<ContainerAllocator> > : public TrueType {};
00063 template<class ContainerAllocator> struct IsMessage< ::app_manager::StatusCodes_<ContainerAllocator>  const> : public TrueType {};
00064 template<class ContainerAllocator>
00065 struct MD5Sum< ::app_manager::StatusCodes_<ContainerAllocator> > {
00066   static const char* value() 
00067   {
00068     return "5f286aed2b2ab4b227e7b7185bae624d";
00069   }
00070 
00071   static const char* value(const  ::app_manager::StatusCodes_<ContainerAllocator> &) { return value(); } 
00072   static const uint64_t static_value1 = 0x5f286aed2b2ab4b2ULL;
00073   static const uint64_t static_value2 = 0x27e7b7185bae624dULL;
00074 };
00075 
00076 template<class ContainerAllocator>
00077 struct DataType< ::app_manager::StatusCodes_<ContainerAllocator> > {
00078   static const char* value() 
00079   {
00080     return "app_manager/StatusCodes";
00081   }
00082 
00083   static const char* value(const  ::app_manager::StatusCodes_<ContainerAllocator> &) { return value(); } 
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct Definition< ::app_manager::StatusCodes_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "# Common error codes used with App Manager.\n\
00091 int32 SUCCESS = 0\n\
00092 # Request was invalid.\n\
00093 int32 BAD_REQUEST = 400\n\
00094 # App is not installed.\n\
00095 int32 NOT_FOUND = 404\n\
00096 # App is not running.\n\
00097 int32 NOT_RUNNING = 430\n\
00098 # Unknown internal error on the server.\n\
00099 int32 INTERNAL_ERROR = 500\n\
00100 # App is installed but failed validation.\n\
00101 int32 APP_INVALID = 510\n\
00102 # App manager does not support launching multiple apps simultaneously. Running app must first be stopped.\n\
00103 int32 MULTIAPP_NOT_SUPPORTED = 511\n\
00104 \n\
00105 ";
00106   }
00107 
00108   static const char* value(const  ::app_manager::StatusCodes_<ContainerAllocator> &) { return value(); } 
00109 };
00110 
00111 template<class ContainerAllocator> struct IsFixedSize< ::app_manager::StatusCodes_<ContainerAllocator> > : public TrueType {};
00112 } // namespace message_traits
00113 } // namespace ros
00114 
00115 namespace ros
00116 {
00117 namespace serialization
00118 {
00119 
00120 template<class ContainerAllocator> struct Serializer< ::app_manager::StatusCodes_<ContainerAllocator> >
00121 {
00122   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00123   {
00124   }
00125 
00126   ROS_DECLARE_ALLINONE_SERIALIZER;
00127 }; // struct StatusCodes_
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::StatusCodes_<ContainerAllocator> >
00138 {
00139   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::app_manager::StatusCodes_<ContainerAllocator> & v) 
00140   {
00141   }
00142 };
00143 
00144 
00145 } // namespace message_operations
00146 } // namespace ros
00147 
00148 #endif // APP_MANAGER_MESSAGE_STATUSCODES_H
00149 


app_manager
Author(s): Jeremy Leibs, Ken Conley
autogenerated on Mon Dec 2 2013 11:36:52