$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-bond_core/doc_stacks/2013-03-01_14-14-12.234153/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 private: 00040 static const char* __s_getDataType_() { return "bond/Constants"; } 00041 public: 00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00043 00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00045 00046 private: 00047 static const char* __s_getMD5Sum_() { return "6fc594dc1d7bd7919077042712f8c8b0"; } 00048 public: 00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00050 00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00052 00053 private: 00054 static const char* __s_getMessageDefinition_() { return "float32 DEAD_PUBLISH_PERIOD = 0.05\n\ 00055 float32 DEFAULT_CONNECT_TIMEOUT = 10.0\n\ 00056 float32 DEFAULT_HEARTBEAT_TIMEOUT = 4.0\n\ 00057 float32 DEFAULT_DISCONNECT_TIMEOUT = 2.0\n\ 00058 float32 DEFAULT_HEARTBEAT_PERIOD = 1.0\n\ 00059 \n\ 00060 string DISABLE_HEARTBEAT_TIMEOUT_PARAM=/bond_disable_heartbeat_timeout\n\ 00061 "; } 00062 public: 00063 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00064 00065 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00066 00067 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00068 { 00069 ros::serialization::OStream stream(write_ptr, 1000000000); 00070 return stream.getData(); 00071 } 00072 00073 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00074 { 00075 ros::serialization::IStream stream(read_ptr, 1000000000); 00076 return stream.getData(); 00077 } 00078 00079 ROS_DEPRECATED virtual uint32_t serializationLength() const 00080 { 00081 uint32_t size = 0; 00082 return size; 00083 } 00084 00085 typedef boost::shared_ptr< ::bond::Constants_<ContainerAllocator> > Ptr; 00086 typedef boost::shared_ptr< ::bond::Constants_<ContainerAllocator> const> ConstPtr; 00087 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00088 }; // struct Constants 00089 typedef ::bond::Constants_<std::allocator<void> > Constants; 00090 00091 typedef boost::shared_ptr< ::bond::Constants> ConstantsPtr; 00092 typedef boost::shared_ptr< ::bond::Constants const> ConstantsConstPtr; 00093 00094 template<typename ContainerAllocator> const float Constants_<ContainerAllocator>::DEAD_PUBLISH_PERIOD = 0.05; 00095 template<typename ContainerAllocator> const float Constants_<ContainerAllocator>::DEFAULT_CONNECT_TIMEOUT = 10.0; 00096 template<typename ContainerAllocator> const float Constants_<ContainerAllocator>::DEFAULT_HEARTBEAT_TIMEOUT = 4.0; 00097 template<typename ContainerAllocator> const float Constants_<ContainerAllocator>::DEFAULT_DISCONNECT_TIMEOUT = 2.0; 00098 template<typename ContainerAllocator> const float Constants_<ContainerAllocator>::DEFAULT_HEARTBEAT_PERIOD = 1.0; 00099 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"; 00100 00101 template<typename ContainerAllocator> 00102 std::ostream& operator<<(std::ostream& s, const ::bond::Constants_<ContainerAllocator> & v) 00103 { 00104 ros::message_operations::Printer< ::bond::Constants_<ContainerAllocator> >::stream(s, "", v); 00105 return s;} 00106 00107 } // namespace bond 00108 00109 namespace ros 00110 { 00111 namespace message_traits 00112 { 00113 template<class ContainerAllocator> struct IsMessage< ::bond::Constants_<ContainerAllocator> > : public TrueType {}; 00114 template<class ContainerAllocator> struct IsMessage< ::bond::Constants_<ContainerAllocator> const> : public TrueType {}; 00115 template<class ContainerAllocator> 00116 struct MD5Sum< ::bond::Constants_<ContainerAllocator> > { 00117 static const char* value() 00118 { 00119 return "6fc594dc1d7bd7919077042712f8c8b0"; 00120 } 00121 00122 static const char* value(const ::bond::Constants_<ContainerAllocator> &) { return value(); } 00123 static const uint64_t static_value1 = 0x6fc594dc1d7bd791ULL; 00124 static const uint64_t static_value2 = 0x9077042712f8c8b0ULL; 00125 }; 00126 00127 template<class ContainerAllocator> 00128 struct DataType< ::bond::Constants_<ContainerAllocator> > { 00129 static const char* value() 00130 { 00131 return "bond/Constants"; 00132 } 00133 00134 static const char* value(const ::bond::Constants_<ContainerAllocator> &) { return value(); } 00135 }; 00136 00137 template<class ContainerAllocator> 00138 struct Definition< ::bond::Constants_<ContainerAllocator> > { 00139 static const char* value() 00140 { 00141 return "float32 DEAD_PUBLISH_PERIOD = 0.05\n\ 00142 float32 DEFAULT_CONNECT_TIMEOUT = 10.0\n\ 00143 float32 DEFAULT_HEARTBEAT_TIMEOUT = 4.0\n\ 00144 float32 DEFAULT_DISCONNECT_TIMEOUT = 2.0\n\ 00145 float32 DEFAULT_HEARTBEAT_PERIOD = 1.0\n\ 00146 \n\ 00147 string DISABLE_HEARTBEAT_TIMEOUT_PARAM=/bond_disable_heartbeat_timeout\n\ 00148 "; 00149 } 00150 00151 static const char* value(const ::bond::Constants_<ContainerAllocator> &) { return value(); } 00152 }; 00153 00154 template<class ContainerAllocator> struct IsFixedSize< ::bond::Constants_<ContainerAllocator> > : public TrueType {}; 00155 } // namespace message_traits 00156 } // namespace ros 00157 00158 namespace ros 00159 { 00160 namespace serialization 00161 { 00162 00163 template<class ContainerAllocator> struct Serializer< ::bond::Constants_<ContainerAllocator> > 00164 { 00165 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00166 { 00167 } 00168 00169 ROS_DECLARE_ALLINONE_SERIALIZER; 00170 }; // struct Constants_ 00171 } // namespace serialization 00172 } // namespace ros 00173 00174 namespace ros 00175 { 00176 namespace message_operations 00177 { 00178 00179 template<class ContainerAllocator> 00180 struct Printer< ::bond::Constants_<ContainerAllocator> > 00181 { 00182 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::bond::Constants_<ContainerAllocator> & v) 00183 { 00184 } 00185 }; 00186 00187 00188 } // namespace message_operations 00189 } // namespace ros 00190 00191 #endif // BOND_MESSAGE_CONSTANTS_H 00192