00001
00002 #ifndef CONCERT_MSGS_MESSAGE_CONSTANTS_H
00003 #define CONCERT_MSGS_MESSAGE_CONSTANTS_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 concert_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct Constants_ {
00022 typedef Constants_<ContainerAllocator> Type;
00023
00024 Constants_()
00025 {
00026 }
00027
00028 Constants_(const ContainerAllocator& _alloc)
00029 {
00030 }
00031
00032 static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > PLATFORM_ANY;
00033 static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > PLATFORM_LINUX;
00034 static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > PLATFORM_WINDOZE;
00035 static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > PLATFORM_ANDROID;
00036 static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > SYSTEM_CUSTOM;
00037 static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > SYSTEM_ROS;
00038 static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > SYSTEM_OPROS;
00039 static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > ROBOT_ANY;
00040 static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > ROBOT_PC;
00041 static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > ROBOT_ROBOSEM;
00042 static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > ROBOT_KOBUKI;
00043 static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > ROBOT_TURTLEBOT;
00044 static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > CONCERT_CLIENT_STATUS_AVAILABLE;
00045 static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > CONCERT_CLIENT_STATUS_CONCERT;
00046 static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > CONCERT_CLIENT_STATUS_PAIRED;
00047 static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > APP_STATUS_STOPPED;
00048 static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > APP_STATUS_RUNNING;
00049
00050 typedef boost::shared_ptr< ::concert_msgs::Constants_<ContainerAllocator> > Ptr;
00051 typedef boost::shared_ptr< ::concert_msgs::Constants_<ContainerAllocator> const> ConstPtr;
00052 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 };
00054 typedef ::concert_msgs::Constants_<std::allocator<void> > Constants;
00055
00056 typedef boost::shared_ptr< ::concert_msgs::Constants> ConstantsPtr;
00057 typedef boost::shared_ptr< ::concert_msgs::Constants const> ConstantsConstPtr;
00058
00059 template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > Constants_<ContainerAllocator>::PLATFORM_ANY = "*";
00060 template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > Constants_<ContainerAllocator>::PLATFORM_LINUX = "linux";
00061 template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > Constants_<ContainerAllocator>::PLATFORM_WINDOZE = "windoze";
00062 template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > Constants_<ContainerAllocator>::PLATFORM_ANDROID = "android";
00063 template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > Constants_<ContainerAllocator>::SYSTEM_CUSTOM = "custom";
00064 template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > Constants_<ContainerAllocator>::SYSTEM_ROS = "ros";
00065 template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > Constants_<ContainerAllocator>::SYSTEM_OPROS = "opros";
00066 template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > Constants_<ContainerAllocator>::ROBOT_ANY = "*";
00067 template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > Constants_<ContainerAllocator>::ROBOT_PC = "pc";
00068 template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > Constants_<ContainerAllocator>::ROBOT_ROBOSEM = "robosem";
00069 template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > Constants_<ContainerAllocator>::ROBOT_KOBUKI = "kobuki";
00070 template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > Constants_<ContainerAllocator>::ROBOT_TURTLEBOT = "turtlebot";
00071 template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > Constants_<ContainerAllocator>::CONCERT_CLIENT_STATUS_AVAILABLE = "available";
00072 template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > Constants_<ContainerAllocator>::CONCERT_CLIENT_STATUS_CONCERT = "concert_mode";
00073 template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > Constants_<ContainerAllocator>::CONCERT_CLIENT_STATUS_PAIRED = "paired_mode";
00074 template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > Constants_<ContainerAllocator>::APP_STATUS_STOPPED = "stopped";
00075 template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > Constants_<ContainerAllocator>::APP_STATUS_RUNNING = "running";
00076
00077 template<typename ContainerAllocator>
00078 std::ostream& operator<<(std::ostream& s, const ::concert_msgs::Constants_<ContainerAllocator> & v)
00079 {
00080 ros::message_operations::Printer< ::concert_msgs::Constants_<ContainerAllocator> >::stream(s, "", v);
00081 return s;}
00082
00083 }
00084
00085 namespace ros
00086 {
00087 namespace message_traits
00088 {
00089 template<class ContainerAllocator> struct IsMessage< ::concert_msgs::Constants_<ContainerAllocator> > : public TrueType {};
00090 template<class ContainerAllocator> struct IsMessage< ::concert_msgs::Constants_<ContainerAllocator> const> : public TrueType {};
00091 template<class ContainerAllocator>
00092 struct MD5Sum< ::concert_msgs::Constants_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "58b2355f4046375bd3afad2b1f121bb8";
00096 }
00097
00098 static const char* value(const ::concert_msgs::Constants_<ContainerAllocator> &) { return value(); }
00099 static const uint64_t static_value1 = 0x58b2355f4046375bULL;
00100 static const uint64_t static_value2 = 0xd3afad2b1f121bb8ULL;
00101 };
00102
00103 template<class ContainerAllocator>
00104 struct DataType< ::concert_msgs::Constants_<ContainerAllocator> > {
00105 static const char* value()
00106 {
00107 return "concert_msgs/Constants";
00108 }
00109
00110 static const char* value(const ::concert_msgs::Constants_<ContainerAllocator> &) { return value(); }
00111 };
00112
00113 template<class ContainerAllocator>
00114 struct Definition< ::concert_msgs::Constants_<ContainerAllocator> > {
00115 static const char* value()
00116 {
00117 return "# Constants used for many of the concert messages and services.\n\
00118 \n\
00119 ######################## Platform Triple ########################\n\
00120 \n\
00121 string PLATFORM_ANY=*\n\
00122 string PLATFORM_LINUX=linux\n\
00123 string PLATFORM_WINDOZE=windoze\n\
00124 string PLATFORM_ANDROID=android\n\
00125 \n\
00126 string SYSTEM_CUSTOM=custom\n\
00127 string SYSTEM_ROS=ros\n\
00128 string SYSTEM_OPROS=opros\n\
00129 \n\
00130 # Valid robot types, though this is totally not\n\
00131 # official, and we aren't relying on it.\n\
00132 string ROBOT_ANY=*\n\
00133 string ROBOT_PC=pc\n\
00134 string ROBOT_ROBOSEM=robosem\n\
00135 string ROBOT_KOBUKI=kobuki\n\
00136 string ROBOT_TURTLEBOT=turtlebot\n\
00137 \n\
00138 ######################### Status Modes ##########################\n\
00139 \n\
00140 string CONCERT_CLIENT_STATUS_AVAILABLE=available\n\
00141 string CONCERT_CLIENT_STATUS_CONCERT=concert_mode\n\
00142 string CONCERT_CLIENT_STATUS_PAIRED=paired_mode\n\
00143 \n\
00144 string APP_STATUS_STOPPED=stopped\n\
00145 string APP_STATUS_RUNNING=running\n\
00146 \n\
00147 ";
00148 }
00149
00150 static const char* value(const ::concert_msgs::Constants_<ContainerAllocator> &) { return value(); }
00151 };
00152
00153 template<class ContainerAllocator> struct IsFixedSize< ::concert_msgs::Constants_<ContainerAllocator> > : public TrueType {};
00154 }
00155 }
00156
00157 namespace ros
00158 {
00159 namespace serialization
00160 {
00161
00162 template<class ContainerAllocator> struct Serializer< ::concert_msgs::Constants_<ContainerAllocator> >
00163 {
00164 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00165 {
00166 }
00167
00168 ROS_DECLARE_ALLINONE_SERIALIZER;
00169 };
00170 }
00171 }
00172
00173 namespace ros
00174 {
00175 namespace message_operations
00176 {
00177
00178 template<class ContainerAllocator>
00179 struct Printer< ::concert_msgs::Constants_<ContainerAllocator> >
00180 {
00181 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::concert_msgs::Constants_<ContainerAllocator> & v)
00182 {
00183 }
00184 };
00185
00186
00187 }
00188 }
00189
00190 #endif // CONCERT_MSGS_MESSAGE_CONSTANTS_H
00191