00001
00002 #ifndef CONCERT_MSGS_MESSAGE_PLATFORMINFO_H
00003 #define CONCERT_MSGS_MESSAGE_PLATFORMINFO_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 PlatformInfo_ {
00022 typedef PlatformInfo_<ContainerAllocator> Type;
00023
00024 PlatformInfo_()
00025 : platform()
00026 , system()
00027 , robot()
00028 , name()
00029 {
00030 }
00031
00032 PlatformInfo_(const ContainerAllocator& _alloc)
00033 : platform(_alloc)
00034 , system(_alloc)
00035 , robot(_alloc)
00036 , name(_alloc)
00037 {
00038 }
00039
00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _platform_type;
00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > platform;
00042
00043 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _system_type;
00044 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > system;
00045
00046 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _robot_type;
00047 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > robot;
00048
00049 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type;
00050 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > name;
00051
00052
00053 typedef boost::shared_ptr< ::concert_msgs::PlatformInfo_<ContainerAllocator> > Ptr;
00054 typedef boost::shared_ptr< ::concert_msgs::PlatformInfo_<ContainerAllocator> const> ConstPtr;
00055 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 };
00057 typedef ::concert_msgs::PlatformInfo_<std::allocator<void> > PlatformInfo;
00058
00059 typedef boost::shared_ptr< ::concert_msgs::PlatformInfo> PlatformInfoPtr;
00060 typedef boost::shared_ptr< ::concert_msgs::PlatformInfo const> PlatformInfoConstPtr;
00061
00062
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const ::concert_msgs::PlatformInfo_<ContainerAllocator> & v)
00065 {
00066 ros::message_operations::Printer< ::concert_msgs::PlatformInfo_<ContainerAllocator> >::stream(s, "", v);
00067 return s;}
00068
00069 }
00070
00071 namespace ros
00072 {
00073 namespace message_traits
00074 {
00075 template<class ContainerAllocator> struct IsMessage< ::concert_msgs::PlatformInfo_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::concert_msgs::PlatformInfo_<ContainerAllocator> const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::concert_msgs::PlatformInfo_<ContainerAllocator> > {
00079 static const char* value()
00080 {
00081 return "b7eecb507ba2be3745396d9bffd407ef";
00082 }
00083
00084 static const char* value(const ::concert_msgs::PlatformInfo_<ContainerAllocator> &) { return value(); }
00085 static const uint64_t static_value1 = 0xb7eecb507ba2be37ULL;
00086 static const uint64_t static_value2 = 0x45396d9bffd407efULL;
00087 };
00088
00089 template<class ContainerAllocator>
00090 struct DataType< ::concert_msgs::PlatformInfo_<ContainerAllocator> > {
00091 static const char* value()
00092 {
00093 return "concert_msgs/PlatformInfo";
00094 }
00095
00096 static const char* value(const ::concert_msgs::PlatformInfo_<ContainerAllocator> &) { return value(); }
00097 };
00098
00099 template<class ContainerAllocator>
00100 struct Definition< ::concert_msgs::PlatformInfo_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "# Provides platform details from the app manager.\n\
00104 #\n\
00105 # Valid string constants are provided by concert_msgs/Constants.msg\n\
00106 \n\
00107 string platform\n\
00108 string system\n\
00109 string robot\n\
00110 string name\n\
00111 \n\
00112 ";
00113 }
00114
00115 static const char* value(const ::concert_msgs::PlatformInfo_<ContainerAllocator> &) { return value(); }
00116 };
00117
00118 }
00119 }
00120
00121 namespace ros
00122 {
00123 namespace serialization
00124 {
00125
00126 template<class ContainerAllocator> struct Serializer< ::concert_msgs::PlatformInfo_<ContainerAllocator> >
00127 {
00128 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00129 {
00130 stream.next(m.platform);
00131 stream.next(m.system);
00132 stream.next(m.robot);
00133 stream.next(m.name);
00134 }
00135
00136 ROS_DECLARE_ALLINONE_SERIALIZER;
00137 };
00138 }
00139 }
00140
00141 namespace ros
00142 {
00143 namespace message_operations
00144 {
00145
00146 template<class ContainerAllocator>
00147 struct Printer< ::concert_msgs::PlatformInfo_<ContainerAllocator> >
00148 {
00149 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::concert_msgs::PlatformInfo_<ContainerAllocator> & v)
00150 {
00151 s << indent << "platform: ";
00152 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.platform);
00153 s << indent << "system: ";
00154 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.system);
00155 s << indent << "robot: ";
00156 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.robot);
00157 s << indent << "name: ";
00158 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.name);
00159 }
00160 };
00161
00162
00163 }
00164 }
00165
00166 #endif // CONCERT_MSGS_MESSAGE_PLATFORMINFO_H
00167