Go to the documentation of this file.00001
00002 #ifndef CONCERT_MSGS_MESSAGE_CONCERTCLIENTS_H
00003 #define CONCERT_MSGS_MESSAGE_CONCERTCLIENTS_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 #include "concert_msgs/ConcertClient.h"
00018
00019 namespace concert_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct ConcertClients_ {
00023 typedef ConcertClients_<ContainerAllocator> Type;
00024
00025 ConcertClients_()
00026 : clients()
00027 {
00028 }
00029
00030 ConcertClients_(const ContainerAllocator& _alloc)
00031 : clients(_alloc)
00032 {
00033 }
00034
00035 typedef std::vector< ::concert_msgs::ConcertClient_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::concert_msgs::ConcertClient_<ContainerAllocator> >::other > _clients_type;
00036 std::vector< ::concert_msgs::ConcertClient_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::concert_msgs::ConcertClient_<ContainerAllocator> >::other > clients;
00037
00038
00039 typedef boost::shared_ptr< ::concert_msgs::ConcertClients_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::concert_msgs::ConcertClients_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::concert_msgs::ConcertClients_<std::allocator<void> > ConcertClients;
00044
00045 typedef boost::shared_ptr< ::concert_msgs::ConcertClients> ConcertClientsPtr;
00046 typedef boost::shared_ptr< ::concert_msgs::ConcertClients const> ConcertClientsConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::concert_msgs::ConcertClients_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::concert_msgs::ConcertClients_<ContainerAllocator> >::stream(s, "", v);
00053 return s;}
00054
00055 }
00056
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::concert_msgs::ConcertClients_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::concert_msgs::ConcertClients_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::concert_msgs::ConcertClients_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "ca5bde9313481be0700a430a87dd022f";
00068 }
00069
00070 static const char* value(const ::concert_msgs::ConcertClients_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0xca5bde9313481be0ULL;
00072 static const uint64_t static_value2 = 0x700a430a87dd022fULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::concert_msgs::ConcertClients_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "concert_msgs/ConcertClients";
00080 }
00081
00082 static const char* value(const ::concert_msgs::ConcertClients_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::concert_msgs::ConcertClients_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "# \n\
00090 # List of ConcertClient's.\n\
00091 #\n\
00092 concert_msgs/ConcertClient[] clients\n\
00093 \n\
00094 ================================================================================\n\
00095 MSG: concert_msgs/ConcertClient\n\
00096 # \n\
00097 # Describes a concert client - used only on the concert side\n\
00098 #\n\
00099 # Unique name (comes from the gateway systems unique naming system)\n\
00100 string name\n\
00101 \n\
00102 # The platform id triple (refer to concert_clients/PlatformInfo.msg for string values)\n\
00103 string platform\n\
00104 string system\n\
00105 string robot\n\
00106 \n\
00107 # Current status of the concert client (refer to concert_msgs/ConcertClient.msg for mode strings)\n\
00108 string client_status\n\
00109 string app_status\n\
00110 \n\
00111 # Depracate this\n\
00112 string status\n\
00113 \n\
00114 # Statistics\n\
00115 time last_connection_timestamp\n\
00116 \n\
00117 appmanager_msgs/AppDescription[] apps\n\
00118 \n\
00119 ================================================================================\n\
00120 MSG: appmanager_msgs/AppDescription\n\
00121 string name\n\
00122 string display\n\
00123 string description\n\
00124 string platform\n\
00125 string status\n\
00126 \n\
00127 ";
00128 }
00129
00130 static const char* value(const ::concert_msgs::ConcertClients_<ContainerAllocator> &) { return value(); }
00131 };
00132
00133 }
00134 }
00135
00136 namespace ros
00137 {
00138 namespace serialization
00139 {
00140
00141 template<class ContainerAllocator> struct Serializer< ::concert_msgs::ConcertClients_<ContainerAllocator> >
00142 {
00143 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00144 {
00145 stream.next(m.clients);
00146 }
00147
00148 ROS_DECLARE_ALLINONE_SERIALIZER;
00149 };
00150 }
00151 }
00152
00153 namespace ros
00154 {
00155 namespace message_operations
00156 {
00157
00158 template<class ContainerAllocator>
00159 struct Printer< ::concert_msgs::ConcertClients_<ContainerAllocator> >
00160 {
00161 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::concert_msgs::ConcertClients_<ContainerAllocator> & v)
00162 {
00163 s << indent << "clients[]" << std::endl;
00164 for (size_t i = 0; i < v.clients.size(); ++i)
00165 {
00166 s << indent << " clients[" << i << "]: ";
00167 s << std::endl;
00168 s << indent;
00169 Printer< ::concert_msgs::ConcertClient_<ContainerAllocator> >::stream(s, indent + " ", v.clients[i]);
00170 }
00171 }
00172 };
00173
00174
00175 }
00176 }
00177
00178 #endif // CONCERT_MSGS_MESSAGE_CONCERTCLIENTS_H
00179