Accel.h
Go to the documentation of this file.
1 // Generated by gencpp from file geometry_msgs/Accel.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef GEOMETRY_MSGS_MESSAGE_ACCEL_H
6 #define GEOMETRY_MSGS_MESSAGE_ACCEL_H
7 
8 
9 #include <string>
10 #include <vector>
11 #include <map>
12 
13 #include <ros/types.h>
14 #include <ros/serialization.h>
16 #include <ros/message_operations.h>
17 
18 #include <geometry_msgs/Vector3.h>
19 #include <geometry_msgs/Vector3.h>
20 
21 namespace geometry_msgs
22 {
23 template <class ContainerAllocator>
24 struct Accel_
25 {
27 
29  : linear()
30  , angular() {
31  }
32  Accel_(const ContainerAllocator& _alloc)
33  : linear(_alloc)
34  , angular(_alloc) {
35  (void)_alloc;
36  }
37 
38 
39 
40  typedef ::geometry_msgs::Vector3_<ContainerAllocator> _linear_type;
42 
43  typedef ::geometry_msgs::Vector3_<ContainerAllocator> _angular_type;
45 
46 
47 
48 
49  typedef std::shared_ptr< ::geometry_msgs::Accel_<ContainerAllocator> > Ptr;
50  typedef std::shared_ptr< ::geometry_msgs::Accel_<ContainerAllocator> const> ConstPtr;
51 
52 }; // struct Accel_
53 
54 typedef ::geometry_msgs::Accel_<std::allocator<void> > Accel;
55 
56 typedef std::shared_ptr< ::geometry_msgs::Accel > AccelPtr;
57 typedef std::shared_ptr< ::geometry_msgs::Accel const> AccelConstPtr;
58 
59 // constants requiring out of line definition
60 
61 
62 
63 template<typename ContainerAllocator>
64 std::ostream& operator<<(std::ostream& s, const ::geometry_msgs::Accel_<ContainerAllocator> & v)
65 {
67 return s;
68 }
69 
70 } // namespace geometry_msgs
71 
72 namespace rs2rosinternal
73 {
74 namespace message_traits
75 {
76 
77 
78 
79 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
80 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/tmp/binarydeb/ros-kinetic-geometry-msgs-1.12.5/msg']}
81 
82 // !!!!!!!!!!! ['__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']
83 
84 
85 
86 
87 template <class ContainerAllocator>
88 struct IsFixedSize< ::geometry_msgs::Accel_<ContainerAllocator> >
89  : std::true_type
90  { };
91 
92 template <class ContainerAllocator>
93 struct IsFixedSize< ::geometry_msgs::Accel_<ContainerAllocator> const>
94  : std::true_type
95  { };
96 
97 template <class ContainerAllocator>
98 struct IsMessage< ::geometry_msgs::Accel_<ContainerAllocator> >
99  : std::true_type
100  { };
101 
102 template <class ContainerAllocator>
103 struct IsMessage< ::geometry_msgs::Accel_<ContainerAllocator> const>
104  : std::true_type
105  { };
106 
107 template <class ContainerAllocator>
108 struct HasHeader< ::geometry_msgs::Accel_<ContainerAllocator> >
109  : std::false_type
110  { };
111 
112 template <class ContainerAllocator>
113 struct HasHeader< ::geometry_msgs::Accel_<ContainerAllocator> const>
114  : std::false_type
115  { };
116 
117 
118 template<class ContainerAllocator>
119 struct MD5Sum< ::geometry_msgs::Accel_<ContainerAllocator> >
120 {
121  static const char* value()
122  {
123  return "9f195f881246fdfa2798d1d3eebca84a";
124  }
125 
126  static const char* value(const ::geometry_msgs::Accel_<ContainerAllocator>&) { return value(); }
127  static const uint64_t static_value1 = 0x9f195f881246fdfaULL;
128  static const uint64_t static_value2 = 0x2798d1d3eebca84aULL;
129 };
130 
131 template<class ContainerAllocator>
132 struct DataType< ::geometry_msgs::Accel_<ContainerAllocator> >
133 {
134  static const char* value()
135  {
136  return "geometry_msgs/Accel";
137  }
138 
139  static const char* value(const ::geometry_msgs::Accel_<ContainerAllocator>&) { return value(); }
140 };
141 
142 template<class ContainerAllocator>
143 struct Definition< ::geometry_msgs::Accel_<ContainerAllocator> >
144 {
145  static const char* value()
146  {
147  return "# This expresses acceleration in free space broken into its linear and angular parts.\n\
148 Vector3 linear\n\
149 Vector3 angular\n\
150 \n\
151 ================================================================================\n\
152 MSG: geometry_msgs/Vector3\n\
153 # This represents a vector in free space. \n\
154 # It is only meant to represent a direction. Therefore, it does not\n\
155 # make sense to apply a translation to it (e.g., when applying a \n\
156 # generic rigid transformation to a Vector3, tf2 will only apply the\n\
157 # rotation). If you want your data to be translatable too, use the\n\
158 # geometry_msgs/Point message instead.\n\
159 \n\
160 float64 x\n\
161 float64 y\n\
162 float64 z\n\
163 ";
164  }
165 
166  static const char* value(const ::geometry_msgs::Accel_<ContainerAllocator>&) { return value(); }
167 };
168 
169 } // namespace message_traits
170 } // namespace rs2rosinternal
171 
172 namespace rs2rosinternal
173 {
174 namespace serialization
175 {
176 
177  template<class ContainerAllocator> struct Serializer< ::geometry_msgs::Accel_<ContainerAllocator> >
178  {
179  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
180  {
181  stream.next(m.linear);
182  stream.next(m.angular);
183  }
184 
186  }; // struct Accel_
187 
188 } // namespace serialization
189 } // namespace rs2rosinternal
190 
191 namespace rs2rosinternal
192 {
193 namespace message_operations
194 {
195 
196 template<class ContainerAllocator>
197 struct Printer< ::geometry_msgs::Accel_<ContainerAllocator> >
198 {
199  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::Accel_<ContainerAllocator>& v)
200  {
201  s << indent << "linear: ";
202  s << std::endl;
204  s << indent << "angular: ";
205  s << std::endl;
207  }
208 };
209 
210 } // namespace message_operations
211 } // namespace rs2rosinternal
212 
213 #endif // GEOMETRY_MSGS_MESSAGE_ACCEL_H
geometry_msgs::Accel_::linear
_linear_type linear
Definition: Accel.h:41
geometry_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::geometry_msgs::Accel_< ContainerAllocator > &v)
Definition: Accel.h:64
geometry_msgs::Accel_::angular
_angular_type angular
Definition: Accel.h:44
rs2rosinternal::message_traits::Definition< ::geometry_msgs::Accel_< ContainerAllocator > >::value
static const char * value()
Definition: Accel.h:145
v
GLdouble v
Definition: glad/glad/glad.h:2144
rs2rosinternal::message_traits::Definition< ::geometry_msgs::Accel_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::Accel_< ContainerAllocator > &)
Definition: Accel.h:166
string
GLsizei const GLchar *const * string
Definition: glad/glad/glad.h:2861
geometry_msgs::Accel_
Definition: Accel.h:24
geometry_msgs
Definition: ros2quaternion.h:55
void
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
rs2rosinternal::message_traits::IsFixedSize
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
Definition: message_traits.h:81
geometry_msgs::Vector3_
Definition: Vector3.h:22
rs2rosinternal
Definition: datatypes.h:39
rs2rosinternal::serialization::Serializer< ::geometry_msgs::Accel_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: Accel.h:179
geometry_msgs::Accel_::Ptr
std::shared_ptr< ::geometry_msgs::Accel_< ContainerAllocator > > Ptr
Definition: Accel.h:49
serialization.h
rs2rosinternal::message_operations::Printer< ::geometry_msgs::Accel_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::geometry_msgs::Accel_< ContainerAllocator > &v)
Definition: Accel.h:199
rs2rosinternal::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:90
m
std::mutex m
Definition: test-waiting-on.cpp:126
builtin_message_traits.h
uint64_t
unsigned __int64 uint64_t
Definition: stdint.h:90
geometry_msgs::Accel
::geometry_msgs::Accel_< std::allocator< void > > Accel
Definition: Accel.h:54
geometry_msgs::Accel_::_linear_type
::geometry_msgs::Vector3_< ContainerAllocator > _linear_type
Definition: Accel.h:40
geometry_msgs::Accel_::ConstPtr
std::shared_ptr< ::geometry_msgs::Accel_< ContainerAllocator > const > ConstPtr
Definition: Accel.h:50
geometry_msgs::Accel_::Type
Accel_< ContainerAllocator > Type
Definition: Accel.h:26
geometry_msgs::AccelPtr
std::shared_ptr< ::geometry_msgs::Accel > AccelPtr
Definition: Accel.h:56
test-device-discovery.stream
stream
Definition: test-device-discovery.py:295
rspy.log.indent
def indent(str, line_prefix=' ')
Definition: log.py:122
rs2rosinternal::message_traits::DataType< ::geometry_msgs::Accel_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::Accel_< ContainerAllocator > &)
Definition: Accel.h:139
rs2rosinternal::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:130
rs2rosinternal::message_traits::MD5Sum
Specialize to provide the md5sum for a message.
Definition: message_traits.h:96
geometry_msgs::Accel_::Accel_
Accel_()
Definition: Accel.h:28
geometry_msgs::AccelConstPtr
std::shared_ptr< ::geometry_msgs::Accel const > AccelConstPtr
Definition: Accel.h:57
Vector3.h
rs2rosinternal::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h:111
rs2rosinternal::message_traits::HasHeader
HasHeader informs whether or not there is a header that gets serialized as the first thing in the mes...
Definition: message_traits.h:85
ROS_DECLARE_ALLINONE_SERIALIZER
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
Definition: third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h:66
rs2rosinternal::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:42
rs2rosinternal::message_operations::Printer
Definition: message_operations.h:39
rs2rosinternal::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:113
rs2rosinternal::message_traits::MD5Sum< ::geometry_msgs::Accel_< ContainerAllocator > >::value
static const char * value()
Definition: Accel.h:121
rs2rosinternal::message_traits::MD5Sum< ::geometry_msgs::Accel_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::Accel_< ContainerAllocator > &)
Definition: Accel.h:126
geometry_msgs::Accel_::_angular_type
::geometry_msgs::Vector3_< ContainerAllocator > _angular_type
Definition: Accel.h:43
rs2rosinternal::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h:694
s
GLdouble s
Definition: glad/glad/glad.h:2441
types.h
message_operations.h
geometry_msgs::Accel_::Accel_
Accel_(const ContainerAllocator &_alloc)
Definition: Accel.h:32
rs2rosinternal::message_traits::DataType< ::geometry_msgs::Accel_< ContainerAllocator > >::value
static const char * value()
Definition: Accel.h:134


librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Fri Aug 2 2024 08:30:00