00001
00002 #ifndef CONCERT_MSGS_MESSAGE_CONCERTCLIENTCONFIGURATION_H
00003 #define CONCERT_MSGS_MESSAGE_CONCERTCLIENTCONFIGURATION_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 ConcertClientConfiguration_ {
00022 typedef ConcertClientConfiguration_<ContainerAllocator> Type;
00023
00024 ConcertClientConfiguration_()
00025 : platform()
00026 , system()
00027 , robot()
00028 , app()
00029 {
00030 }
00031
00032 ConcertClientConfiguration_(const ContainerAllocator& _alloc)
00033 : platform(_alloc)
00034 , system(_alloc)
00035 , robot(_alloc)
00036 , app(_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 > _app_type;
00050 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > app;
00051
00052
00053 typedef boost::shared_ptr< ::concert_msgs::ConcertClientConfiguration_<ContainerAllocator> > Ptr;
00054 typedef boost::shared_ptr< ::concert_msgs::ConcertClientConfiguration_<ContainerAllocator> const> ConstPtr;
00055 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 };
00057 typedef ::concert_msgs::ConcertClientConfiguration_<std::allocator<void> > ConcertClientConfiguration;
00058
00059 typedef boost::shared_ptr< ::concert_msgs::ConcertClientConfiguration> ConcertClientConfigurationPtr;
00060 typedef boost::shared_ptr< ::concert_msgs::ConcertClientConfiguration const> ConcertClientConfigurationConstPtr;
00061
00062
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const ::concert_msgs::ConcertClientConfiguration_<ContainerAllocator> & v)
00065 {
00066 ros::message_operations::Printer< ::concert_msgs::ConcertClientConfiguration_<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::ConcertClientConfiguration_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::concert_msgs::ConcertClientConfiguration_<ContainerAllocator> const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::concert_msgs::ConcertClientConfiguration_<ContainerAllocator> > {
00079 static const char* value()
00080 {
00081 return "271180ccd464930e6cd371441f8f7bf5";
00082 }
00083
00084 static const char* value(const ::concert_msgs::ConcertClientConfiguration_<ContainerAllocator> &) { return value(); }
00085 static const uint64_t static_value1 = 0x271180ccd464930eULL;
00086 static const uint64_t static_value2 = 0x6cd371441f8f7bf5ULL;
00087 };
00088
00089 template<class ContainerAllocator>
00090 struct DataType< ::concert_msgs::ConcertClientConfiguration_<ContainerAllocator> > {
00091 static const char* value()
00092 {
00093 return "concert_msgs/ConcertClientConfiguration";
00094 }
00095
00096 static const char* value(const ::concert_msgs::ConcertClientConfiguration_<ContainerAllocator> &) { return value(); }
00097 };
00098
00099 template<class ContainerAllocator>
00100 struct Definition< ::concert_msgs::ConcertClientConfiguration_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "# This provides information about the concert client\n\
00104 # and app configuration required by an implementation\n\
00105 # of an orchestrated concert solution.\n\
00106 \n\
00107 # The platform id triple\n\
00108 string platform\n\
00109 string system\n\
00110 string robot\n\
00111 \n\
00112 # App that should run\n\
00113 string app\n\
00114 ";
00115 }
00116
00117 static const char* value(const ::concert_msgs::ConcertClientConfiguration_<ContainerAllocator> &) { return value(); }
00118 };
00119
00120 }
00121 }
00122
00123 namespace ros
00124 {
00125 namespace serialization
00126 {
00127
00128 template<class ContainerAllocator> struct Serializer< ::concert_msgs::ConcertClientConfiguration_<ContainerAllocator> >
00129 {
00130 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00131 {
00132 stream.next(m.platform);
00133 stream.next(m.system);
00134 stream.next(m.robot);
00135 stream.next(m.app);
00136 }
00137
00138 ROS_DECLARE_ALLINONE_SERIALIZER;
00139 };
00140 }
00141 }
00142
00143 namespace ros
00144 {
00145 namespace message_operations
00146 {
00147
00148 template<class ContainerAllocator>
00149 struct Printer< ::concert_msgs::ConcertClientConfiguration_<ContainerAllocator> >
00150 {
00151 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::concert_msgs::ConcertClientConfiguration_<ContainerAllocator> & v)
00152 {
00153 s << indent << "platform: ";
00154 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.platform);
00155 s << indent << "system: ";
00156 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.system);
00157 s << indent << "robot: ";
00158 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.robot);
00159 s << indent << "app: ";
00160 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.app);
00161 }
00162 };
00163
00164
00165 }
00166 }
00167
00168 #endif // CONCERT_MSGS_MESSAGE_CONCERTCLIENTCONFIGURATION_H
00169