Clock.h
Go to the documentation of this file.
1 // Generated by gencpp from file rosgraph_msgs/Clock.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef ROSGRAPH_MSGS_MESSAGE_CLOCK_H
6 #define ROSGRAPH_MSGS_MESSAGE_CLOCK_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 
19 namespace rosgraph_msgs
20 {
21 template <class ContainerAllocator>
22 struct Clock_
23 {
25 
27  : clock() {
28  }
29  Clock_(const ContainerAllocator& _alloc)
30  : clock() {
31  (void)_alloc;
32  }
33 
34 
35 
37  _clock_type clock;
38 
39 
40 
41 
44 
45 }; // struct Clock_
46 
47 typedef ::rosgraph_msgs::Clock_<std::allocator<void> > Clock;
48 
51 
52 // constants requiring out of line definition
53 
54 
55 
56 template<typename ContainerAllocator>
57 std::ostream& operator<<(std::ostream& s, const ::rosgraph_msgs::Clock_<ContainerAllocator> & v)
58 {
60 return s;
61 }
62 
63 } // namespace rosgraph_msgs
64 
65 namespace rs2rosinternal
66 {
67 namespace message_traits
68 {
69 
70 
71 
72 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
73 // {'rosgraph_msgs': ['/tmp/binarydeb/ros-kinetic-rosgraph-msgs-1.11.2/msg'], 'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg']}
74 
75 // !!!!!!!!!!! ['__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']
76 
77 
78 
79 
80 template <class ContainerAllocator>
81 struct IsFixedSize< ::rosgraph_msgs::Clock_<ContainerAllocator> >
82  : TrueType
83  { };
84 
85 template <class ContainerAllocator>
86 struct IsFixedSize< ::rosgraph_msgs::Clock_<ContainerAllocator> const>
87  : TrueType
88  { };
89 
90 template <class ContainerAllocator>
91 struct IsMessage< ::rosgraph_msgs::Clock_<ContainerAllocator> >
92  : TrueType
93  { };
94 
95 template <class ContainerAllocator>
96 struct IsMessage< ::rosgraph_msgs::Clock_<ContainerAllocator> const>
97  : TrueType
98  { };
99 
100 template <class ContainerAllocator>
101 struct HasHeader< ::rosgraph_msgs::Clock_<ContainerAllocator> >
102  : FalseType
103  { };
104 
105 template <class ContainerAllocator>
106 struct HasHeader< ::rosgraph_msgs::Clock_<ContainerAllocator> const>
107  : FalseType
108  { };
109 
110 
111 template<class ContainerAllocator>
112 struct MD5Sum< ::rosgraph_msgs::Clock_<ContainerAllocator> >
113 {
114  static const char* value()
115  {
116  return "a9c97c1d230cfc112e270351a944ee47";
117  }
118 
119  static const char* value(const ::rosgraph_msgs::Clock_<ContainerAllocator>&) { return value(); }
120  static const uint64_t static_value1 = 0xa9c97c1d230cfc11ULL;
121  static const uint64_t static_value2 = 0x2e270351a944ee47ULL;
122 };
123 
124 template<class ContainerAllocator>
125 struct DataType< ::rosgraph_msgs::Clock_<ContainerAllocator> >
126 {
127  static const char* value()
128  {
129  return "rosgraph_msgs/Clock";
130  }
131 
132  static const char* value(const ::rosgraph_msgs::Clock_<ContainerAllocator>&) { return value(); }
133 };
134 
135 template<class ContainerAllocator>
136 struct Definition< ::rosgraph_msgs::Clock_<ContainerAllocator> >
137 {
138  static const char* value()
139  {
140  return "# roslib/Clock is used for publishing simulated time in ROS. \n\
141 # This message simply communicates the current time.\n\
142 # For more information, see http://www.ros.org/wiki/Clock\n\
143 time clock\n\
144 ";
145  }
146 
147  static const char* value(const ::rosgraph_msgs::Clock_<ContainerAllocator>&) { return value(); }
148 };
149 
150 } // namespace message_traits
151 } // namespace rs2rosinternal
152 
153 namespace rs2rosinternal
154 {
155 namespace serialization
156 {
157 
158  template<class ContainerAllocator> struct Serializer< ::rosgraph_msgs::Clock_<ContainerAllocator> >
159  {
160  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
161  {
162  stream.next(m.clock);
163  }
164 
166  }; // struct Clock_
167 
168 } // namespace serialization
169 } // namespace rs2rosinternal
170 
171 namespace rs2rosinternal
172 {
173 namespace message_operations
174 {
175 
176 template<class ContainerAllocator>
177 struct Printer< ::rosgraph_msgs::Clock_<ContainerAllocator> >
178 {
179  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::rosgraph_msgs::Clock_<ContainerAllocator>& v)
180  {
181  s << indent << "clock: ";
182  Printer<rs2rosinternal::Time>::stream(s, indent + " ", v.clock);
183  }
184 };
185 
186 } // namespace message_operations
187 } // namespace rs2rosinternal
188 
189 #endif // ROSGRAPH_MSGS_MESSAGE_CLOCK_H
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Clock_< ContainerAllocator > Type
Definition: Clock.h:24
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
boost::shared_ptr< ::rosgraph_msgs::Clock_< ContainerAllocator > > Ptr
Definition: Clock.h:42
static const char * value(const ::rosgraph_msgs::Clock_< ContainerAllocator > &)
Definition: Clock.h:147
GLdouble s
rs2rosinternal::Time _clock_type
Definition: Clock.h:36
const GLfloat * m
Definition: glext.h:6814
Specialize to provide the md5sum for a message.
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLsizei const GLchar *const * string
Specialize to provide the datatype for a message.
HasHeader informs whether or not there is a header that gets serialized as the first thing in the mes...
GLuint GLuint stream
Definition: glext.h:1790
static const char * value(const ::rosgraph_msgs::Clock_< ContainerAllocator > &)
Definition: Clock.h:119
Clock_(const ContainerAllocator &_alloc)
Definition: Clock.h:29
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
Stream base-class, provides common functionality for IStream and OStream.
Time representation. May either represent wall clock time or ROS clock time.
Definition: time.h:177
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
unsigned __int64 uint64_t
Definition: stdint.h:90
Specialize to provide the definition for a message.
static const char * value(const ::rosgraph_msgs::Clock_< ContainerAllocator > &)
Definition: Clock.h:132
boost::shared_ptr< ::rosgraph_msgs::Clock > ClockPtr
Definition: Clock.h:49
static void stream(Stream &s, const std::string &indent, const ::rosgraph_msgs::Clock_< ContainerAllocator > &v)
Definition: Clock.h:179
boost::shared_ptr< ::rosgraph_msgs::Clock_< ContainerAllocator > const > ConstPtr
Definition: Clock.h:43
boost::shared_ptr< ::rosgraph_msgs::Clock const > ClockConstPtr
Definition: Clock.h:50
_clock_type clock
Definition: Clock.h:37
Templated serialization class. Default implementation provides backwards compatibility with old messa...
::rosgraph_msgs::Clock_< std::allocator< void > > Clock
Definition: Clock.h:47
GLdouble v


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:11