Header.h
Go to the documentation of this file.
1 #include "sick_scan/sick_scan_base.h" /* Base definitions included in all header files, added by add_sick_scan_base_header.py. Do not edit this line. */
2 // Generated by gencpp from file std_msgs/Header.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef STD_MSGS_MESSAGE_HEADER_H
7 #define STD_MSGS_MESSAGE_HEADER_H
8 
9 
10 #include <string>
11 #include <vector>
12 #include <map>
13 
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
18 
19 
20 namespace std_msgs
21 {
22 template <class ContainerAllocator>
23 struct Header_
24 {
26 
28  : seq(0)
29  , stamp()
30  , frame_id() {
31  }
32  Header_(const ContainerAllocator& _alloc)
33  : seq(0)
34  , stamp()
35  , frame_id(_alloc) {
36  (void)_alloc;
37  }
38 
39 
40 
41  typedef uint32_t _seq_type;
43 
46 
47  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _frame_id_type;
49 
50 
51 
52 
53  typedef std::shared_ptr< ::std_msgs::Header_<ContainerAllocator> > Ptr;
54  typedef std::shared_ptr< ::std_msgs::Header_<ContainerAllocator> const> ConstPtr;
55 
56 }; // struct Header_
57 
58 typedef ::std_msgs::Header_<std::allocator<void> > Header;
59 
60 typedef std::shared_ptr< ::std_msgs::Header > HeaderPtr;
61 typedef std::shared_ptr< ::std_msgs::Header const> HeaderConstPtr;
62 
63 // constants requiring out of line definition
64 
65 
66 
67 template<typename ContainerAllocator>
68 std::ostream& operator<<(std::ostream& s, const ::std_msgs::Header_<ContainerAllocator> & v)
69 {
71 return s;
72 }
73 
74 } // namespace std_msgs
75 
76 namespace roswrap
77 {
78 namespace message_traits
79 {
80 
81 
82 
83 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
84 // {'std_msgs': ['/tmp/binarydeb/ros-kinetic-std-msgs-0.5.11/msg']}
85 
86 // !!!!!!!!!!! ['__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']
87 
88 
89 
90 
91 template <class ContainerAllocator>
92 struct IsFixedSize< ::std_msgs::Header_<ContainerAllocator> >
93  : FalseType
94  { };
95 
96 template <class ContainerAllocator>
97 struct IsFixedSize< ::std_msgs::Header_<ContainerAllocator> const>
98  : FalseType
99  { };
100 
101 template <class ContainerAllocator>
102 struct IsMessage< ::std_msgs::Header_<ContainerAllocator> >
103  : TrueType
104  { };
105 
106 template <class ContainerAllocator>
107 struct IsMessage< ::std_msgs::Header_<ContainerAllocator> const>
108  : TrueType
109  { };
110 
111 template <class ContainerAllocator>
112 struct HasHeader< ::std_msgs::Header_<ContainerAllocator> >
113  : FalseType
114  { };
115 
116 template <class ContainerAllocator>
117 struct HasHeader< ::std_msgs::Header_<ContainerAllocator> const>
118  : FalseType
119  { };
120 
121 
122 template<class ContainerAllocator>
123 struct MD5Sum< ::std_msgs::Header_<ContainerAllocator> >
124 {
125  static const char* value()
126  {
127  return "2176decaecbce78abc3b96ef049fabed";
128  }
129 
130  static const char* value(const ::std_msgs::Header_<ContainerAllocator>&) { return value(); }
131  static const uint64_t static_value1 = 0x2176decaecbce78aULL;
132  static const uint64_t static_value2 = 0xbc3b96ef049fabedULL;
133 };
134 
135 template<class ContainerAllocator>
136 struct DataType< ::std_msgs::Header_<ContainerAllocator> >
137 {
138  static const char* value()
139  {
140  return "std_msgs/Header";
141  }
142 
143  static const char* value(const ::std_msgs::Header_<ContainerAllocator>&) { return value(); }
144 };
145 
146 template<class ContainerAllocator>
147 struct Definition< ::std_msgs::Header_<ContainerAllocator> >
148 {
149  static const char* value()
150  {
151  return "# Standard metadata for higher-level stamped data types.\n\
152 # This is generally used to communicate timestamped data \n\
153 # in a particular coordinate frame.\n\
154 # \n\
155 # sequence ID: consecutively increasing ID \n\
156 uint32 seq\n\
157 #Two-integer timestamp that is expressed as:\n\
158 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
159 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
160 # time-handling sugar is provided by the client library\n\
161 time stamp\n\
162 #Frame this data is associated with\n\
163 # 0: no frame\n\
164 # 1: global frame\n\
165 string frame_id\n\
166 ";
167  }
168 
169  static const char* value(const ::std_msgs::Header_<ContainerAllocator>&) { return value(); }
170 };
171 
172 } // namespace message_traits
173 } // namespace roswrap
174 
175 namespace roswrap
176 {
177 namespace serialization
178 {
179 
180  template<class ContainerAllocator> struct Serializer< ::std_msgs::Header_<ContainerAllocator> >
181  {
182  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
183  {
184  stream.next(m.seq);
185  stream.next(m.stamp);
186  stream.next(m.frame_id);
187  }
188 
190  }; // struct Header_
191 
192 } // namespace serialization
193 } // namespace roswrap
194 
195 namespace roswrap
196 {
197 namespace message_operations
198 {
199 
200 template<class ContainerAllocator>
201 struct Printer< ::std_msgs::Header_<ContainerAllocator> >
202 {
203  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Header_<ContainerAllocator>& v)
204  {
205  s << indent << "seq: ";
206  Printer<uint32_t>::stream(s, indent + " ", v.seq);
207  s << indent << "stamp: ";
208  Printer<ros::Time>::stream(s, indent + " ", v.stamp);
209  s << indent << "frame_id: ";
210  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.frame_id);
211  }
212 };
213 
214 } // namespace message_operations
215 } // namespace roswrap
216 
217 #endif // STD_MSGS_MESSAGE_HEADER_H
roswrap::message_traits::FalseType
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Definition: message_traits.h:89
std_msgs::Header_::stamp
_stamp_type stamp
Definition: Header.h:45
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
std_msgs::HeaderPtr
std::shared_ptr< ::std_msgs::Header > HeaderPtr
Definition: Header.h:60
roswrap::message_traits::DataType< ::std_msgs::Header_< ContainerAllocator > >::value
static const char * value()
Definition: Header.h:138
roswrap::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: serialization.h:120
std_msgs::Header_::Type
Header_< ContainerAllocator > Type
Definition: Header.h:25
roswrap::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:107
roswrap::message_traits::DataType< ::std_msgs::Header_< ContainerAllocator > >::value
static const char * value(const ::std_msgs::Header_< ContainerAllocator > &)
Definition: Header.h:143
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
std_msgs::Header_::_seq_type
uint32_t _seq_type
Definition: Header.h:41
std_msgs::Header_::Header_
Header_(const ContainerAllocator &_alloc)
Definition: Header.h:32
roswrap::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:43
std_msgs::Header_::Header_
Header_()
Definition: Header.h:27
roswrap::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:103
roswrap::message_traits::Definition< ::std_msgs::Header_< ContainerAllocator > >::value
static const char * value()
Definition: Header.h:149
std_msgs::Header_::_stamp_type
ros::Time _stamp_type
Definition: Header.h:44
ros::message_operations::Printer
std_msgs::Header_::_frame_id_type
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _frame_id_type
Definition: Header.h:47
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: serialization.h:74
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
std_msgs::Header_::ConstPtr
std::shared_ptr< ::std_msgs::Header_< ContainerAllocator > const > ConstPtr
Definition: Header.h:54
roswrap::message_traits::MD5Sum< ::std_msgs::Header_< ContainerAllocator > >::value
static const char * value()
Definition: Header.h:125
std_msgs
roswrap::message_traits::Definition< ::std_msgs::Header_< ContainerAllocator > >::value
static const char * value(const ::std_msgs::Header_< ContainerAllocator > &)
Definition: Header.h:169
std_msgs::Header_::seq
_seq_type seq
Definition: Header.h:42
std_msgs::HeaderConstPtr
std::shared_ptr< ::std_msgs::Header const > HeaderConstPtr
Definition: Header.h:61
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
std_msgs::Header_
Definition: Header.h:23
roswrap::message_traits::MD5Sum< ::std_msgs::Header_< ContainerAllocator > >::value
static const char * value(const ::std_msgs::Header_< ContainerAllocator > &)
Definition: Header.h:130
roswrap::message_traits::TrueType
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Definition: message_traits.h:79
roswrap::message_traits::MD5Sum
Specialize to provide the md5sum for a message.
Definition: message_traits.h:118
std_msgs::Header_::frame_id
_frame_id_type frame_id
Definition: Header.h:48
ros::Time
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
std_msgs::Header
::std_msgs::Header_< std::allocator< void > > Header
Definition: Header.h:58
roswrap::message_operations::Printer< ::std_msgs::Header_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::std_msgs::Header_< ContainerAllocator > &v)
Definition: Header.h:203
std_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::std_msgs::Bool_< ContainerAllocator > &v)
Definition: Bool.h:58
roswrap::serialization::Serializer< ::std_msgs::Header_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: Header.h:182
std_msgs::Header_::Ptr
std::shared_ptr< ::std_msgs::Header_< ContainerAllocator > > Ptr
Definition: Header.h:53


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:08