5 #ifndef realsense_legacy_msgs_MESSAGE_CONTROLLER_EVENT_H 6 #define realsense_legacy_msgs_MESSAGE_CONTROLLER_EVENT_H 22 template <
class ContainerAllocator>
60 typedef std::shared_ptr< ::realsense_legacy_msgs::controller_event_<ContainerAllocator> >
Ptr;
61 typedef std::shared_ptr< ::realsense_legacy_msgs::controller_event_<ContainerAllocator>
const>
ConstPtr;
65 typedef ::realsense_legacy_msgs::controller_event_<std::allocator<void> >
controller_event;
74 template<
typename ContainerAllocator>
75 std::ostream& operator<<(std::ostream& s, const ::realsense_legacy_msgs::controller_event_<ContainerAllocator> &
v)
85 namespace message_traits
98 template <
class ContainerAllocator>
103 template <
class ContainerAllocator>
108 template <
class ContainerAllocator>
113 template <
class ContainerAllocator>
118 template <
class ContainerAllocator>
123 template <
class ContainerAllocator>
129 template<
class ContainerAllocator>
134 return "2cbcc2243504f0f4d13d886a9bafd85f";
137 static const char*
value(const ::realsense_legacy_msgs::controller_event_<ContainerAllocator>&) {
return value(); }
138 static const uint64_t static_value1 = 0x2cbcc2243504f0f4ULL;
139 static const uint64_t static_value2 = 0xd13d886a9bafd85fULL;
142 template<
class ContainerAllocator>
147 return "realsense_legacy_msgs/controller_event";
150 static const char*
value(const ::realsense_legacy_msgs::controller_event_<ContainerAllocator>&) {
return value(); }
153 template<
class ContainerAllocator>
158 return "uint8 controller_id\n\ 160 uint8[6] mac_address\n\ 165 static const char*
value(const ::realsense_legacy_msgs::controller_event_<ContainerAllocator>&) {
return value(); }
173 namespace serialization
180 stream.next(m.controller_id);
182 stream.next(m.mac_address);
183 stream.next(m.timestamp);
194 namespace message_operations
197 template<
class ContainerAllocator>
200 template<
typename Stream>
static void stream(Stream&
s,
const std::string&
indent, const ::realsense_legacy_msgs::controller_event_<ContainerAllocator>&
v)
202 s << indent <<
"controller_id: ";
204 s << indent <<
"type: ";
206 s << indent <<
"mac_address[]" << std::endl;
207 for (
size_t i = 0;
i < v.mac_address.size(); ++
i)
209 s << indent <<
" mac_address[" <<
i <<
"]: ";
212 s << indent <<
"timestamp: ";
220 #endif // realsense_legacy_msgs_MESSAGE_CONTROLLER_EVENT_H
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
std::array< uint8_t, 6 > _mac_address_type
Specialize to provide the md5sum for a message.
_mac_address_type mac_address
static void allInOne(Stream &stream, T m)
def indent(str, line_prefix=' ')
static const char * value()
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
_controller_id_type controller_id
Specialize to provide the datatype for a message.
static const char * value()
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
static void stream(Stream &s, const std::string &indent, const ::realsense_legacy_msgs::controller_event_< ContainerAllocator > &v)
Stream base-class, provides common functionality for IStream and OStream.
std::shared_ptr< ::realsense_legacy_msgs::controller_event const > controller_eventConstPtr
uint8_t _controller_id_type
std::shared_ptr< ::realsense_legacy_msgs::controller_event_< ContainerAllocator > const > ConstPtr
Time representation. May either represent wall clock time or ROS clock time.
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
unsigned __int64 uint64_t
Specialize to provide the definition for a message.
static const char * value()
rs2rosinternal::Time _timestamp_type
controller_event_< ContainerAllocator > Type
::realsense_legacy_msgs::controller_event_< std::allocator< void > > controller_event
std::shared_ptr< ::realsense_legacy_msgs::controller_event_< ContainerAllocator > > Ptr
_timestamp_type timestamp
static const char * value(const ::realsense_legacy_msgs::controller_event_< ContainerAllocator > &)
Templated serialization class. Default implementation provides backwards compatibility with old messa...
static const char * value(const ::realsense_legacy_msgs::controller_event_< ContainerAllocator > &)
controller_event_(const ContainerAllocator &_alloc)
static const char * value(const ::realsense_legacy_msgs::controller_event_< ContainerAllocator > &)
std::shared_ptr< ::realsense_legacy_msgs::controller_event > controller_eventPtr