Constants.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-bond_core/doc_stacks/2013-08-15_10-09-12.487376/bond_core/bond/msg/Constants.msg */
00002 #ifndef BOND_MESSAGE_CONSTANTS_H
00003 #define BOND_MESSAGE_CONSTANTS_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 bond
00019 {
00020 template <class ContainerAllocator>
00021 struct Constants_ {
00022   typedef Constants_<ContainerAllocator> Type;
00023 
00024   Constants_()
00025   {
00026   }
00027 
00028   Constants_(const ContainerAllocator& _alloc)
00029   {
00030   }
00031 
00032   static const float DEAD_PUBLISH_PERIOD;
00033   static const float DEFAULT_CONNECT_TIMEOUT;
00034   static const float DEFAULT_HEARTBEAT_TIMEOUT;
00035   static const float DEFAULT_DISCONNECT_TIMEOUT;
00036   static const float DEFAULT_HEARTBEAT_PERIOD;
00037   static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  DISABLE_HEARTBEAT_TIMEOUT_PARAM;
00038 
00039   typedef boost::shared_ptr< ::bond::Constants_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::bond::Constants_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct Constants
00043 typedef  ::bond::Constants_<std::allocator<void> > Constants;
00044 
00045 typedef boost::shared_ptr< ::bond::Constants> ConstantsPtr;
00046 typedef boost::shared_ptr< ::bond::Constants const> ConstantsConstPtr;
00047 
00048 template<typename ContainerAllocator> const float Constants_<ContainerAllocator>::DEAD_PUBLISH_PERIOD = 0.05;
00049 template<typename ContainerAllocator> const float Constants_<ContainerAllocator>::DEFAULT_CONNECT_TIMEOUT = 10.0;
00050 template<typename ContainerAllocator> const float Constants_<ContainerAllocator>::DEFAULT_HEARTBEAT_TIMEOUT = 4.0;
00051 template<typename ContainerAllocator> const float Constants_<ContainerAllocator>::DEFAULT_DISCONNECT_TIMEOUT = 2.0;
00052 template<typename ContainerAllocator> const float Constants_<ContainerAllocator>::DEFAULT_HEARTBEAT_PERIOD = 1.0;
00053 template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  Constants_<ContainerAllocator>::DISABLE_HEARTBEAT_TIMEOUT_PARAM = "/bond_disable_heartbeat_timeout";
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::bond::Constants_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::bond::Constants_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace bond
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::bond::Constants_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::bond::Constants_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::bond::Constants_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "6fc594dc1d7bd7919077042712f8c8b0";
00074   }
00075 
00076   static const char* value(const  ::bond::Constants_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0x6fc594dc1d7bd791ULL;
00078   static const uint64_t static_value2 = 0x9077042712f8c8b0ULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::bond::Constants_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "bond/Constants";
00086   }
00087 
00088   static const char* value(const  ::bond::Constants_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::bond::Constants_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "float32 DEAD_PUBLISH_PERIOD = 0.05\n\
00096 float32 DEFAULT_CONNECT_TIMEOUT = 10.0\n\
00097 float32 DEFAULT_HEARTBEAT_TIMEOUT = 4.0\n\
00098 float32 DEFAULT_DISCONNECT_TIMEOUT = 2.0\n\
00099 float32 DEFAULT_HEARTBEAT_PERIOD = 1.0\n\
00100 \n\
00101 string DISABLE_HEARTBEAT_TIMEOUT_PARAM=/bond_disable_heartbeat_timeout\n\
00102 ";
00103   }
00104 
00105   static const char* value(const  ::bond::Constants_<ContainerAllocator> &) { return value(); } 
00106 };
00107 
00108 template<class ContainerAllocator> struct IsFixedSize< ::bond::Constants_<ContainerAllocator> > : public TrueType {};
00109 } // namespace message_traits
00110 } // namespace ros
00111 
00112 namespace ros
00113 {
00114 namespace serialization
00115 {
00116 
00117 template<class ContainerAllocator> struct Serializer< ::bond::Constants_<ContainerAllocator> >
00118 {
00119   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00120   {
00121   }
00122 
00123   ROS_DECLARE_ALLINONE_SERIALIZER;
00124 }; // struct Constants_
00125 } // namespace serialization
00126 } // namespace ros
00127 
00128 namespace ros
00129 {
00130 namespace message_operations
00131 {
00132 
00133 template<class ContainerAllocator>
00134 struct Printer< ::bond::Constants_<ContainerAllocator> >
00135 {
00136   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::bond::Constants_<ContainerAllocator> & v) 
00137   {
00138   }
00139 };
00140 
00141 
00142 } // namespace message_operations
00143 } // namespace ros
00144 
00145 #endif // BOND_MESSAGE_CONSTANTS_H
00146 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


bond
Author(s): Stuart Glaser
autogenerated on Thu Aug 15 2013 10:10:34