RemoteRule.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/gateway_msgs/msg/RemoteRule.msg */
00002 #ifndef GATEWAY_MSGS_MESSAGE_REMOTERULE_H
00003 #define GATEWAY_MSGS_MESSAGE_REMOTERULE_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 "gateway_msgs/Rule.h"
00018 
00019 namespace gateway_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct RemoteRule_ {
00023   typedef RemoteRule_<ContainerAllocator> Type;
00024 
00025   RemoteRule_()
00026   : gateway()
00027   , rule()
00028   {
00029   }
00030 
00031   RemoteRule_(const ContainerAllocator& _alloc)
00032   : gateway(_alloc)
00033   , rule(_alloc)
00034   {
00035   }
00036 
00037   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _gateway_type;
00038   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  gateway;
00039 
00040   typedef  ::gateway_msgs::Rule_<ContainerAllocator>  _rule_type;
00041    ::gateway_msgs::Rule_<ContainerAllocator>  rule;
00042 
00043 
00044   typedef boost::shared_ptr< ::gateway_msgs::RemoteRule_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::gateway_msgs::RemoteRule_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct RemoteRule
00048 typedef  ::gateway_msgs::RemoteRule_<std::allocator<void> > RemoteRule;
00049 
00050 typedef boost::shared_ptr< ::gateway_msgs::RemoteRule> RemoteRulePtr;
00051 typedef boost::shared_ptr< ::gateway_msgs::RemoteRule const> RemoteRuleConstPtr;
00052 
00053 
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const  ::gateway_msgs::RemoteRule_<ContainerAllocator> & v)
00056 {
00057   ros::message_operations::Printer< ::gateway_msgs::RemoteRule_<ContainerAllocator> >::stream(s, "", v);
00058   return s;}
00059 
00060 } // namespace gateway_msgs
00061 
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::gateway_msgs::RemoteRule_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::gateway_msgs::RemoteRule_<ContainerAllocator>  const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::gateway_msgs::RemoteRule_<ContainerAllocator> > {
00070   static const char* value() 
00071   {
00072     return "14f4c5aaf33b32b22c50fd514747f99f";
00073   }
00074 
00075   static const char* value(const  ::gateway_msgs::RemoteRule_<ContainerAllocator> &) { return value(); } 
00076   static const uint64_t static_value1 = 0x14f4c5aaf33b32b2ULL;
00077   static const uint64_t static_value2 = 0x2c50fd514747f99fULL;
00078 };
00079 
00080 template<class ContainerAllocator>
00081 struct DataType< ::gateway_msgs::RemoteRule_<ContainerAllocator> > {
00082   static const char* value() 
00083   {
00084     return "gateway_msgs/RemoteRule";
00085   }
00086 
00087   static const char* value(const  ::gateway_msgs::RemoteRule_<ContainerAllocator> &) { return value(); } 
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct Definition< ::gateway_msgs::RemoteRule_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "# Definition for a flip. It represents either:\n\
00095 #\n\
00096 # 1) an existing flipped connection (from the local gateway)\n\
00097 # 2) a rule that is put on a watchlist\n\
00098 \n\
00099 # The target recipient of the flip\n\
00100 string gateway\n\
00101 \n\
00102 # Connection has the following parameters that need setting\n\
00103 # - name : fully qualified name of the connection (str)\n\
00104 # - type : connection type (str)\n\
00105 #  \n\
00106 # Use one of the types defined in Connection string constants:\n\
00107 #     (publisher, subscriber, service, action_client, action_server)\n\
00108 #\n\
00109 # - node : name of the node it originates from (str)(optional)\n\
00110 #\n\
00111 # Node name is necessary, for instance, if you have multiple subscribers\n\
00112 # publishing to a single topic. Most of the time it is not necessary,\n\
00113 # but in some cases it helps refine the rule. It helps refine the rule.\n\
00114 #\n\
00115 Rule rule\n\
00116 \n\
00117 ================================================================================\n\
00118 MSG: gateway_msgs/Rule\n\
00119 # Standard gateway connection rule\n\
00120 \n\
00121 # type of connection (from gateway_msgs.msg.Connection)\n\
00122 string type\n\
00123 \n\
00124 # this is the topic/service name or the action base name (a regex is supported)\n\
00125 string name \n\
00126 \n\
00127 # (optional) an optional node name can be provided. if node name is not provided\n\
00128 # then all nodes are matched (also supports regex)\n\
00129 string node\n\
00130 \n\
00131 ";
00132   }
00133 
00134   static const char* value(const  ::gateway_msgs::RemoteRule_<ContainerAllocator> &) { return value(); } 
00135 };
00136 
00137 } // namespace message_traits
00138 } // namespace ros
00139 
00140 namespace ros
00141 {
00142 namespace serialization
00143 {
00144 
00145 template<class ContainerAllocator> struct Serializer< ::gateway_msgs::RemoteRule_<ContainerAllocator> >
00146 {
00147   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00148   {
00149     stream.next(m.gateway);
00150     stream.next(m.rule);
00151   }
00152 
00153   ROS_DECLARE_ALLINONE_SERIALIZER;
00154 }; // struct RemoteRule_
00155 } // namespace serialization
00156 } // namespace ros
00157 
00158 namespace ros
00159 {
00160 namespace message_operations
00161 {
00162 
00163 template<class ContainerAllocator>
00164 struct Printer< ::gateway_msgs::RemoteRule_<ContainerAllocator> >
00165 {
00166   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::gateway_msgs::RemoteRule_<ContainerAllocator> & v) 
00167   {
00168     s << indent << "gateway: ";
00169     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.gateway);
00170     s << indent << "rule: ";
00171 s << std::endl;
00172     Printer< ::gateway_msgs::Rule_<ContainerAllocator> >::stream(s, indent + "  ", v.rule);
00173   }
00174 };
00175 
00176 
00177 } // namespace message_operations
00178 } // namespace ros
00179 
00180 #endif // GATEWAY_MSGS_MESSAGE_REMOTERULE_H
00181 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends


gateway_msgs
Author(s): Jihoon
autogenerated on Tue Jan 15 2013 17:43:49