openreroc_motion_sensor.h
Go to the documentation of this file.
00001 /* Software License Agreement (BSD License)
00002  *
00003  * Copyright (c) 2011, Willow Garage, Inc.
00004  * All rights reserved.
00005  *
00006  * Redistribution and use in source and binary forms, with or without
00007  * modification, are permitted provided that the following conditions
00008  * are met:
00009  *
00010  *  * Redistributions of source code must retain the above copyright
00011  *    notice, this list of conditions and the following disclaimer.
00012  *  * Redistributions in binary form must reproduce the above
00013  *    copyright notice, this list of conditions and the following
00014  *    disclaimer in the documentation and/or other materials provided
00015  *    with the distribution.
00016  *  * Neither the name of Willow Garage, Inc. nor the names of its
00017  *    contributors may be used to endorse or promote products derived
00018  *    from this software without specific prior written permission.
00019  *
00020  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00021  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00022  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
00023  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
00024  * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
00025  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
00026  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00027  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00028  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
00029  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
00030  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00031  * POSSIBILITY OF SUCH DAMAGE.
00032  *
00033  * Auto-generated by genmsg_cpp from file /root/open_reroc_ws/src/openreroc_motion_sensor/msg/openreroc_motion_sensor.msg
00034  *
00035  */
00036 
00037 
00038 #ifndef OPENREROC_MOTION_SENSOR_MESSAGE_OPENREROC_MOTION_SENSOR_H
00039 #define OPENREROC_MOTION_SENSOR_MESSAGE_OPENREROC_MOTION_SENSOR_H
00040 
00041 
00042 #include <string>
00043 #include <vector>
00044 #include <map>
00045 
00046 #include <ros/types.h>
00047 #include <ros/serialization.h>
00048 #include <ros/builtin_message_traits.h>
00049 #include <ros/message_operations.h>
00050 
00051 
00052 namespace openreroc_motion_sensor
00053 {
00054 template <class ContainerAllocator>
00055 struct openreroc_motion_sensor_
00056 {
00057   typedef openreroc_motion_sensor_<ContainerAllocator> Type;
00058 
00059   openreroc_motion_sensor_()
00060     : sensor_data(0)  {
00061     }
00062   openreroc_motion_sensor_(const ContainerAllocator& _alloc)
00063     : sensor_data(0)  {
00064     }
00065 
00066 
00067 
00068    typedef uint32_t _sensor_data_type;
00069   _sensor_data_type sensor_data;
00070 
00071 
00072 
00073 
00074   typedef boost::shared_ptr< ::openreroc_motion_sensor::openreroc_motion_sensor_<ContainerAllocator> > Ptr;
00075   typedef boost::shared_ptr< ::openreroc_motion_sensor::openreroc_motion_sensor_<ContainerAllocator> const> ConstPtr;
00076   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00077 
00078 }; // struct openreroc_motion_sensor_
00079 
00080 typedef ::openreroc_motion_sensor::openreroc_motion_sensor_<std::allocator<void> > openreroc_motion_sensor;
00081 
00082 typedef boost::shared_ptr< ::openreroc_motion_sensor::openreroc_motion_sensor > openreroc_motion_sensorPtr;
00083 typedef boost::shared_ptr< ::openreroc_motion_sensor::openreroc_motion_sensor const> openreroc_motion_sensorConstPtr;
00084 
00085 // constants requiring out of line definition
00086 
00087 
00088 
00089 template<typename ContainerAllocator>
00090 std::ostream& operator<<(std::ostream& s, const ::openreroc_motion_sensor::openreroc_motion_sensor_<ContainerAllocator> & v)
00091 {
00092 ros::message_operations::Printer< ::openreroc_motion_sensor::openreroc_motion_sensor_<ContainerAllocator> >::stream(s, "", v);
00093 return s;
00094 }
00095 
00096 } // namespace openreroc_motion_sensor
00097 
00098 namespace ros
00099 {
00100 namespace message_traits
00101 {
00102 
00103 
00104 
00105 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
00106 // {'openreroc_motion_sensor': ['/root/open_reroc_ws/src/openreroc_motion_sensor/msg'], 'std_msgs': ['/opt/ros/groovy/share/std_msgs/cmake/../msg']}
00107 
00108 // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
00109 
00110 
00111 
00112 
00113 template <class ContainerAllocator>
00114 struct IsFixedSize< ::openreroc_motion_sensor::openreroc_motion_sensor_<ContainerAllocator> >
00115   : TrueType
00116   { };
00117 
00118 template <class ContainerAllocator>
00119 struct IsFixedSize< ::openreroc_motion_sensor::openreroc_motion_sensor_<ContainerAllocator> const>
00120   : TrueType
00121   { };
00122 
00123 template <class ContainerAllocator>
00124 struct IsMessage< ::openreroc_motion_sensor::openreroc_motion_sensor_<ContainerAllocator> >
00125   : TrueType
00126   { };
00127 
00128 template <class ContainerAllocator>
00129 struct IsMessage< ::openreroc_motion_sensor::openreroc_motion_sensor_<ContainerAllocator> const>
00130   : TrueType
00131   { };
00132 
00133 template <class ContainerAllocator>
00134 struct HasHeader< ::openreroc_motion_sensor::openreroc_motion_sensor_<ContainerAllocator> >
00135   : FalseType
00136   { };
00137 
00138 template <class ContainerAllocator>
00139 struct HasHeader< ::openreroc_motion_sensor::openreroc_motion_sensor_<ContainerAllocator> const>
00140   : FalseType
00141   { };
00142 
00143 
00144 template<class ContainerAllocator>
00145 struct MD5Sum< ::openreroc_motion_sensor::openreroc_motion_sensor_<ContainerAllocator> >
00146 {
00147   static const char* value()
00148   {
00149     return "a59f8daa014a50a933154683c4a6d913";
00150   }
00151 
00152   static const char* value(const ::openreroc_motion_sensor::openreroc_motion_sensor_<ContainerAllocator>&) { return value(); }
00153   static const uint64_t static_value1 = 0xa59f8daa014a50a9ULL;
00154   static const uint64_t static_value2 = 0x33154683c4a6d913ULL;
00155 };
00156 
00157 template<class ContainerAllocator>
00158 struct DataType< ::openreroc_motion_sensor::openreroc_motion_sensor_<ContainerAllocator> >
00159 {
00160   static const char* value()
00161   {
00162     return "openreroc_motion_sensor/openreroc_motion_sensor";
00163   }
00164 
00165   static const char* value(const ::openreroc_motion_sensor::openreroc_motion_sensor_<ContainerAllocator>&) { return value(); }
00166 };
00167 
00168 template<class ContainerAllocator>
00169 struct Definition< ::openreroc_motion_sensor::openreroc_motion_sensor_<ContainerAllocator> >
00170 {
00171   static const char* value()
00172   {
00173     return "uint32 sensor_data\n\
00174 ";
00175   }
00176 
00177   static const char* value(const ::openreroc_motion_sensor::openreroc_motion_sensor_<ContainerAllocator>&) { return value(); }
00178 };
00179 
00180 } // namespace message_traits
00181 } // namespace ros
00182 
00183 namespace ros
00184 {
00185 namespace serialization
00186 {
00187 
00188   template<class ContainerAllocator> struct Serializer< ::openreroc_motion_sensor::openreroc_motion_sensor_<ContainerAllocator> >
00189   {
00190     template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00191     {
00192       stream.next(m.sensor_data);
00193     }
00194 
00195     ROS_DECLARE_ALLINONE_SERIALIZER;
00196   }; // struct openreroc_motion_sensor_
00197 
00198 } // namespace serialization
00199 } // namespace ros
00200 
00201 namespace ros
00202 {
00203 namespace message_operations
00204 {
00205 
00206 template<class ContainerAllocator>
00207 struct Printer< ::openreroc_motion_sensor::openreroc_motion_sensor_<ContainerAllocator> >
00208 {
00209   template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::openreroc_motion_sensor::openreroc_motion_sensor_<ContainerAllocator>& v)
00210   {
00211     s << indent << "sensor_data: ";
00212     Printer<uint32_t>::stream(s, indent + "  ", v.sensor_data);
00213   }
00214 };
00215 
00216 } // namespace message_operations
00217 } // namespace ros
00218 
00219 #endif // OPENREROC_MOTION_SENSOR_MESSAGE_OPENREROC_MOTION_SENSOR_H


openreroc_motion_sensor
Author(s): Kazushi Yamashina
autogenerated on Thu Jun 6 2019 20:29:37