You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
200 lines
5.6 KiB
200 lines
5.6 KiB
// Generated by gencpp from file realsense_legacy_msgs/metadata.msg
|
|
// DO NOT EDIT!
|
|
|
|
|
|
#ifndef realsense_legacy_msgs_MESSAGE_METADATA_H
|
|
#define realsense_legacy_msgs_MESSAGE_METADATA_H
|
|
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <map>
|
|
|
|
#include <ros/types.h>
|
|
#include <ros/serialization.h>
|
|
#include <ros/builtin_message_traits.h>
|
|
#include <ros/message_operations.h>
|
|
|
|
|
|
namespace realsense_legacy_msgs
|
|
{
|
|
template <class ContainerAllocator>
|
|
struct metadata_
|
|
{
|
|
typedef metadata_<ContainerAllocator> Type;
|
|
|
|
metadata_()
|
|
: type(0)
|
|
, data() {
|
|
}
|
|
metadata_(const ContainerAllocator& _alloc)
|
|
: type(0)
|
|
, data(_alloc) {
|
|
(void)_alloc;
|
|
}
|
|
|
|
|
|
|
|
typedef uint32_t _type_type;
|
|
_type_type type;
|
|
|
|
typedef std::vector<uint8_t, typename std::allocator_traits< ContainerAllocator >::template rebind_alloc< uint8_t > > _data_type;
|
|
_data_type data;
|
|
|
|
|
|
|
|
|
|
typedef std::shared_ptr< ::realsense_legacy_msgs::metadata_<ContainerAllocator> > Ptr;
|
|
typedef std::shared_ptr< ::realsense_legacy_msgs::metadata_<ContainerAllocator> const> ConstPtr;
|
|
|
|
}; // struct metadata_
|
|
|
|
typedef ::realsense_legacy_msgs::metadata_<std::allocator<void> > metadata;
|
|
|
|
typedef std::shared_ptr< ::realsense_legacy_msgs::metadata > metadataPtr;
|
|
typedef std::shared_ptr< ::realsense_legacy_msgs::metadata const> metadataConstPtr;
|
|
|
|
// constants requiring out of line definition
|
|
|
|
|
|
|
|
template<typename ContainerAllocator>
|
|
std::ostream& operator<<(std::ostream& s, const ::realsense_legacy_msgs::metadata_<ContainerAllocator> & v)
|
|
{
|
|
rs2rosinternal::message_operations::Printer< ::realsense_legacy_msgs::metadata_<ContainerAllocator> >::stream(s, "", v);
|
|
return s;
|
|
}
|
|
|
|
} // namespace realsense_legacy_msgs
|
|
|
|
namespace rs2rosinternal
|
|
{
|
|
namespace message_traits
|
|
{
|
|
|
|
|
|
|
|
// BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
|
|
// {'sensor_msgs': ['/opt/ros/kinetic/share/sensor_msgs/cmake/../msg'], 'geometry_msgs': ['/opt/ros/kinetic/share/geometry_msgs/cmake/../msg'], 'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'realsense_legacy_msgs': ['/home/administrator/ros/realsense_sdk_internal/sdk_internal/tools/realsense_legacy_msgs_generator/msg']}
|
|
|
|
// !!!!!!!!!!! ['__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']
|
|
|
|
|
|
|
|
|
|
template <class ContainerAllocator>
|
|
struct IsFixedSize< ::realsense_legacy_msgs::metadata_<ContainerAllocator> >
|
|
: std::false_type
|
|
{ };
|
|
|
|
template <class ContainerAllocator>
|
|
struct IsFixedSize< ::realsense_legacy_msgs::metadata_<ContainerAllocator> const>
|
|
: std::false_type
|
|
{ };
|
|
|
|
template <class ContainerAllocator>
|
|
struct IsMessage< ::realsense_legacy_msgs::metadata_<ContainerAllocator> >
|
|
: std::true_type
|
|
{ };
|
|
|
|
template <class ContainerAllocator>
|
|
struct IsMessage< ::realsense_legacy_msgs::metadata_<ContainerAllocator> const>
|
|
: std::true_type
|
|
{ };
|
|
|
|
template <class ContainerAllocator>
|
|
struct HasHeader< ::realsense_legacy_msgs::metadata_<ContainerAllocator> >
|
|
: std::false_type
|
|
{ };
|
|
|
|
template <class ContainerAllocator>
|
|
struct HasHeader< ::realsense_legacy_msgs::metadata_<ContainerAllocator> const>
|
|
: std::false_type
|
|
{ };
|
|
|
|
|
|
template<class ContainerAllocator>
|
|
struct MD5Sum< ::realsense_legacy_msgs::metadata_<ContainerAllocator> >
|
|
{
|
|
static const char* value()
|
|
{
|
|
return "ca2eb36f087bcfd95f0aa6ff2df9ebdb";
|
|
}
|
|
|
|
static const char* value(const ::realsense_legacy_msgs::metadata_<ContainerAllocator>&) { return value(); }
|
|
static const uint64_t static_value1 = 0xca2eb36f087bcfd9ULL;
|
|
static const uint64_t static_value2 = 0x5f0aa6ff2df9ebdbULL;
|
|
};
|
|
|
|
template<class ContainerAllocator>
|
|
struct DataType< ::realsense_legacy_msgs::metadata_<ContainerAllocator> >
|
|
{
|
|
static const char* value()
|
|
{
|
|
return "realsense_legacy_msgs/metadata";
|
|
}
|
|
|
|
static const char* value(const ::realsense_legacy_msgs::metadata_<ContainerAllocator>&) { return value(); }
|
|
};
|
|
|
|
template<class ContainerAllocator>
|
|
struct Definition< ::realsense_legacy_msgs::metadata_<ContainerAllocator> >
|
|
{
|
|
static const char* value()
|
|
{
|
|
return "uint32 type\n\
|
|
uint8[] data\n\
|
|
";
|
|
}
|
|
|
|
static const char* value(const ::realsense_legacy_msgs::metadata_<ContainerAllocator>&) { return value(); }
|
|
};
|
|
|
|
} // namespace message_traits
|
|
} // namespace rs2rosinternal
|
|
|
|
namespace rs2rosinternal
|
|
{
|
|
namespace serialization
|
|
{
|
|
|
|
template<class ContainerAllocator> struct Serializer< ::realsense_legacy_msgs::metadata_<ContainerAllocator> >
|
|
{
|
|
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
|
|
{
|
|
stream.next(m.type);
|
|
stream.next(m.data);
|
|
}
|
|
|
|
ROS_DECLARE_ALLINONE_SERIALIZER
|
|
}; // struct metadata_
|
|
|
|
} // namespace serialization
|
|
} // namespace rs2rosinternal
|
|
|
|
namespace rs2rosinternal
|
|
{
|
|
namespace message_operations
|
|
{
|
|
|
|
template<class ContainerAllocator>
|
|
struct Printer< ::realsense_legacy_msgs::metadata_<ContainerAllocator> >
|
|
{
|
|
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::realsense_legacy_msgs::metadata_<ContainerAllocator>& v)
|
|
{
|
|
s << indent << "type: ";
|
|
Printer<uint32_t>::stream(s, indent + " ", v.type);
|
|
s << indent << "data[]" << std::endl;
|
|
for (size_t i = 0; i < v.data.size(); ++i)
|
|
{
|
|
s << indent << " data[" << i << "]: ";
|
|
Printer<uint8_t>::stream(s, indent + " ", v.data[i]);
|
|
}
|
|
}
|
|
};
|
|
|
|
} // namespace message_operations
|
|
} // namespace rs2rosinternal
|
|
|
|
#endif // realsense_legacy_msgs_MESSAGE_METADATA_H
|