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 
38 
39 
40 
41 
42  typedef std::shared_ptr< ::rosgraph_msgs::Clock_<ContainerAllocator> > Ptr;
43  typedef std::shared_ptr< ::rosgraph_msgs::Clock_<ContainerAllocator> const> ConstPtr;
44 
45 }; // struct Clock_
46 
47 typedef ::rosgraph_msgs::Clock_<std::allocator<void> > Clock;
48 
49 typedef std::shared_ptr< ::rosgraph_msgs::Clock > ClockPtr;
50 typedef std::shared_ptr< ::rosgraph_msgs::Clock const> ClockConstPtr;
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  : std::true_type
83  { };
84 
85 template <class ContainerAllocator>
86 struct IsFixedSize< ::rosgraph_msgs::Clock_<ContainerAllocator> const>
87  : std::true_type
88  { };
89 
90 template <class ContainerAllocator>
91 struct IsMessage< ::rosgraph_msgs::Clock_<ContainerAllocator> >
92  : std::true_type
93  { };
94 
95 template <class ContainerAllocator>
96 struct IsMessage< ::rosgraph_msgs::Clock_<ContainerAllocator> const>
97  : std::true_type
98  { };
99 
100 template <class ContainerAllocator>
101 struct HasHeader< ::rosgraph_msgs::Clock_<ContainerAllocator> >
102  : std::false_type
103  { };
104 
105 template <class ContainerAllocator>
106 struct HasHeader< ::rosgraph_msgs::Clock_<ContainerAllocator> const>
107  : std::false_type
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: ";
183  }
184 };
185 
186 } // namespace message_operations
187 } // namespace rs2rosinternal
188 
189 #endif // ROSGRAPH_MSGS_MESSAGE_CLOCK_H
rosgraph_msgs::Clock_::Clock_
Clock_(const ContainerAllocator &_alloc)
Definition: Clock.h:29
rs2rosinternal::Time
Time representation. May either represent wall clock time or ROS clock time.
Definition: time.h:206
rosgraph_msgs::Clock_::Type
Clock_< ContainerAllocator > Type
Definition: Clock.h:24
rosgraph_msgs
Definition: Clock.h:19
v
GLdouble v
Definition: glad/glad/glad.h:2144
rosgraph_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::rosgraph_msgs::Clock_< ContainerAllocator > &v)
Definition: Clock.h:57
string
GLsizei const GLchar *const * string
Definition: glad/glad/glad.h:2861
rosgraph_msgs::Clock
::rosgraph_msgs::Clock_< std::allocator< void > > Clock
Definition: Clock.h:47
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
rs2rosinternal
Definition: datatypes.h:39
rosgraph_msgs::Clock_::clock
_clock_type clock
Definition: Clock.h:37
rs2rosinternal::message_traits::MD5Sum< ::rosgraph_msgs::Clock_< ContainerAllocator > >::value
static const char * value(const ::rosgraph_msgs::Clock_< ContainerAllocator > &)
Definition: Clock.h:119
rs2rosinternal::message_traits::DataType< ::rosgraph_msgs::Clock_< ContainerAllocator > >::value
static const char * value()
Definition: Clock.h:127
serialization.h
rs2rosinternal::message_traits::MD5Sum< ::rosgraph_msgs::Clock_< ContainerAllocator > >::value
static const char * value()
Definition: Clock.h:114
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
rosgraph_msgs::Clock_::Ptr
std::shared_ptr< ::rosgraph_msgs::Clock_< ContainerAllocator > > Ptr
Definition: Clock.h:42
rs2rosinternal::message_traits::DataType< ::rosgraph_msgs::Clock_< ContainerAllocator > >::value
static const char * value(const ::rosgraph_msgs::Clock_< ContainerAllocator > &)
Definition: Clock.h:132
uint64_t
unsigned __int64 uint64_t
Definition: stdint.h:90
rosgraph_msgs::Clock_::Clock_
Clock_()
Definition: Clock.h:26
rs2rosinternal::message_traits::Definition< ::rosgraph_msgs::Clock_< ContainerAllocator > >::value
static const char * value()
Definition: Clock.h:138
rosgraph_msgs::Clock_::ConstPtr
std::shared_ptr< ::rosgraph_msgs::Clock_< ContainerAllocator > const > ConstPtr
Definition: Clock.h:43
rosgraph_msgs::ClockPtr
std::shared_ptr< ::rosgraph_msgs::Clock > ClockPtr
Definition: Clock.h:49
rosgraph_msgs::Clock_::_clock_type
rs2rosinternal::Time _clock_type
Definition: Clock.h:36
rosgraph_msgs::Clock_
Definition: Clock.h:22
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::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
rs2rosinternal::serialization::Serializer< ::rosgraph_msgs::Clock_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: Clock.h:160
rosgraph_msgs::ClockConstPtr
std::shared_ptr< ::rosgraph_msgs::Clock const > ClockConstPtr
Definition: Clock.h:50
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::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
rs2rosinternal::message_operations::Printer< ::rosgraph_msgs::Clock_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::rosgraph_msgs::Clock_< ContainerAllocator > &v)
Definition: Clock.h:179
s
GLdouble s
Definition: glad/glad/glad.h:2441
types.h
message_operations.h
rs2rosinternal::message_traits::Definition< ::rosgraph_msgs::Clock_< ContainerAllocator > >::value
static const char * value(const ::rosgraph_msgs::Clock_< ContainerAllocator > &)
Definition: Clock.h:147


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