LinkGraph.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-rocon_msgs/doc_stacks/2013-01-15_17-40-23.156253/rocon_msgs/concert_msgs/msg/LinkGraph.msg */
00002 #ifndef CONCERT_MSGS_MESSAGE_LINKGRAPH_H
00003 #define CONCERT_MSGS_MESSAGE_LINKGRAPH_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/LinkNode.h"
00018 #include "concert_msgs/LinkConnection.h"
00019 #include "concert_msgs/LinkConnection.h"
00020 #include "concert_msgs/LinkEdge.h"
00021 
00022 namespace concert_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct LinkGraph_ {
00026   typedef LinkGraph_<ContainerAllocator> Type;
00027 
00028   LinkGraph_()
00029   : nodes()
00030   , topics()
00031   , actions()
00032   , edges()
00033   {
00034   }
00035 
00036   LinkGraph_(const ContainerAllocator& _alloc)
00037   : nodes(_alloc)
00038   , topics(_alloc)
00039   , actions(_alloc)
00040   , edges(_alloc)
00041   {
00042   }
00043 
00044   typedef std::vector< ::concert_msgs::LinkNode_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::concert_msgs::LinkNode_<ContainerAllocator> >::other >  _nodes_type;
00045   std::vector< ::concert_msgs::LinkNode_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::concert_msgs::LinkNode_<ContainerAllocator> >::other >  nodes;
00046 
00047   typedef std::vector< ::concert_msgs::LinkConnection_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::concert_msgs::LinkConnection_<ContainerAllocator> >::other >  _topics_type;
00048   std::vector< ::concert_msgs::LinkConnection_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::concert_msgs::LinkConnection_<ContainerAllocator> >::other >  topics;
00049 
00050   typedef std::vector< ::concert_msgs::LinkConnection_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::concert_msgs::LinkConnection_<ContainerAllocator> >::other >  _actions_type;
00051   std::vector< ::concert_msgs::LinkConnection_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::concert_msgs::LinkConnection_<ContainerAllocator> >::other >  actions;
00052 
00053   typedef std::vector< ::concert_msgs::LinkEdge_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::concert_msgs::LinkEdge_<ContainerAllocator> >::other >  _edges_type;
00054   std::vector< ::concert_msgs::LinkEdge_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::concert_msgs::LinkEdge_<ContainerAllocator> >::other >  edges;
00055 
00056 
00057   typedef boost::shared_ptr< ::concert_msgs::LinkGraph_<ContainerAllocator> > Ptr;
00058   typedef boost::shared_ptr< ::concert_msgs::LinkGraph_<ContainerAllocator>  const> ConstPtr;
00059   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00060 }; // struct LinkGraph
00061 typedef  ::concert_msgs::LinkGraph_<std::allocator<void> > LinkGraph;
00062 
00063 typedef boost::shared_ptr< ::concert_msgs::LinkGraph> LinkGraphPtr;
00064 typedef boost::shared_ptr< ::concert_msgs::LinkGraph const> LinkGraphConstPtr;
00065 
00066 
00067 template<typename ContainerAllocator>
00068 std::ostream& operator<<(std::ostream& s, const  ::concert_msgs::LinkGraph_<ContainerAllocator> & v)
00069 {
00070   ros::message_operations::Printer< ::concert_msgs::LinkGraph_<ContainerAllocator> >::stream(s, "", v);
00071   return s;}
00072 
00073 } // namespace concert_msgs
00074 
00075 namespace ros
00076 {
00077 namespace message_traits
00078 {
00079 template<class ContainerAllocator> struct IsMessage< ::concert_msgs::LinkGraph_<ContainerAllocator> > : public TrueType {};
00080 template<class ContainerAllocator> struct IsMessage< ::concert_msgs::LinkGraph_<ContainerAllocator>  const> : public TrueType {};
00081 template<class ContainerAllocator>
00082 struct MD5Sum< ::concert_msgs::LinkGraph_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "f8caacb00340f906505dd4be305725a4";
00086   }
00087 
00088   static const char* value(const  ::concert_msgs::LinkGraph_<ContainerAllocator> &) { return value(); } 
00089   static const uint64_t static_value1 = 0xf8caacb00340f906ULL;
00090   static const uint64_t static_value2 = 0x505dd4be305725a4ULL;
00091 };
00092 
00093 template<class ContainerAllocator>
00094 struct DataType< ::concert_msgs::LinkGraph_<ContainerAllocator> > {
00095   static const char* value() 
00096   {
00097     return "concert_msgs/LinkGraph";
00098   }
00099 
00100   static const char* value(const  ::concert_msgs::LinkGraph_<ContainerAllocator> &) { return value(); } 
00101 };
00102 
00103 template<class ContainerAllocator>
00104 struct Definition< ::concert_msgs::LinkGraph_<ContainerAllocator> > {
00105   static const char* value() 
00106   {
00107     return "# A list of 'named' nodes, e.g. linux.ros.robosem.rocon_teleop\n\
00108 \n\
00109 LinkNode[] nodes\n\
00110 LinkConnection[] topics\n\
00111 LinkConnection[] actions\n\
00112 LinkEdge[] edges\n\
00113 \n\
00114 ================================================================================\n\
00115 MSG: concert_msgs/LinkNode\n\
00116 # Representation of a concert client node in the \n\
00117 # implementation graph\n\
00118 \n\
00119 # unique identifier\n\
00120 string id\n\
00121 # tuple representing the client node - platform.system.robot.app, e.g. linux.ros.turtlebot.turtle_stroll\n\
00122 string tuple\n\
00123 \n\
00124 ================================================================================\n\
00125 MSG: concert_msgs/LinkConnection\n\
00126 # Representation of a topic/action node in the \n\
00127 # implementation graph\n\
00128 \n\
00129 # unique identifier\n\
00130 string id\n\
00131 # type of the topic, e.g. std_msgs/String\n\
00132 string type\n\
00133 \n\
00134 ================================================================================\n\
00135 MSG: concert_msgs/LinkEdge\n\
00136 # Edge of the implementation graph. Client-Topic, or \n\
00137 # Topic-Client or Client-Action or Action-Client\n\
00138 \n\
00139 string start\n\
00140 string finish\n\
00141 string remap_from\n\
00142 string remap_to\n\
00143 ";
00144   }
00145 
00146   static const char* value(const  ::concert_msgs::LinkGraph_<ContainerAllocator> &) { return value(); } 
00147 };
00148 
00149 } // namespace message_traits
00150 } // namespace ros
00151 
00152 namespace ros
00153 {
00154 namespace serialization
00155 {
00156 
00157 template<class ContainerAllocator> struct Serializer< ::concert_msgs::LinkGraph_<ContainerAllocator> >
00158 {
00159   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00160   {
00161     stream.next(m.nodes);
00162     stream.next(m.topics);
00163     stream.next(m.actions);
00164     stream.next(m.edges);
00165   }
00166 
00167   ROS_DECLARE_ALLINONE_SERIALIZER;
00168 }; // struct LinkGraph_
00169 } // namespace serialization
00170 } // namespace ros
00171 
00172 namespace ros
00173 {
00174 namespace message_operations
00175 {
00176 
00177 template<class ContainerAllocator>
00178 struct Printer< ::concert_msgs::LinkGraph_<ContainerAllocator> >
00179 {
00180   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::concert_msgs::LinkGraph_<ContainerAllocator> & v) 
00181   {
00182     s << indent << "nodes[]" << std::endl;
00183     for (size_t i = 0; i < v.nodes.size(); ++i)
00184     {
00185       s << indent << "  nodes[" << i << "]: ";
00186       s << std::endl;
00187       s << indent;
00188       Printer< ::concert_msgs::LinkNode_<ContainerAllocator> >::stream(s, indent + "    ", v.nodes[i]);
00189     }
00190     s << indent << "topics[]" << std::endl;
00191     for (size_t i = 0; i < v.topics.size(); ++i)
00192     {
00193       s << indent << "  topics[" << i << "]: ";
00194       s << std::endl;
00195       s << indent;
00196       Printer< ::concert_msgs::LinkConnection_<ContainerAllocator> >::stream(s, indent + "    ", v.topics[i]);
00197     }
00198     s << indent << "actions[]" << std::endl;
00199     for (size_t i = 0; i < v.actions.size(); ++i)
00200     {
00201       s << indent << "  actions[" << i << "]: ";
00202       s << std::endl;
00203       s << indent;
00204       Printer< ::concert_msgs::LinkConnection_<ContainerAllocator> >::stream(s, indent + "    ", v.actions[i]);
00205     }
00206     s << indent << "edges[]" << std::endl;
00207     for (size_t i = 0; i < v.edges.size(); ++i)
00208     {
00209       s << indent << "  edges[" << i << "]: ";
00210       s << std::endl;
00211       s << indent;
00212       Printer< ::concert_msgs::LinkEdge_<ContainerAllocator> >::stream(s, indent + "    ", v.edges[i]);
00213     }
00214   }
00215 };
00216 
00217 
00218 } // namespace message_operations
00219 } // namespace ros
00220 
00221 #endif // CONCERT_MSGS_MESSAGE_LINKGRAPH_H
00222 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


concert_msgs
Author(s): Daniel Stonier
autogenerated on Tue Jan 15 2013 17:43:37