/usr/include/std_srvs/Empty.h is in libstd-srvs-dev 1.11.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | // Generated by gencpp from file std_srvs/Empty.msg
// DO NOT EDIT!
#ifndef STD_SRVS_MESSAGE_EMPTY_H
#define STD_SRVS_MESSAGE_EMPTY_H
#include <ros/service_traits.h>
#include <std_srvs/EmptyRequest.h>
#include <std_srvs/EmptyResponse.h>
namespace std_srvs
{
struct Empty
{
typedef EmptyRequest Request;
typedef EmptyResponse Response;
Request request;
Response response;
typedef Request RequestType;
typedef Response ResponseType;
}; // struct Empty
} // namespace std_srvs
namespace ros
{
namespace service_traits
{
template<>
struct MD5Sum< ::std_srvs::Empty > {
static const char* value()
{
return "d41d8cd98f00b204e9800998ecf8427e";
}
static const char* value(const ::std_srvs::Empty&) { return value(); }
};
template<>
struct DataType< ::std_srvs::Empty > {
static const char* value()
{
return "std_srvs/Empty";
}
static const char* value(const ::std_srvs::Empty&) { return value(); }
};
// service_traits::MD5Sum< ::std_srvs::EmptyRequest> should match
// service_traits::MD5Sum< ::std_srvs::Empty >
template<>
struct MD5Sum< ::std_srvs::EmptyRequest>
{
static const char* value()
{
return MD5Sum< ::std_srvs::Empty >::value();
}
static const char* value(const ::std_srvs::EmptyRequest&)
{
return value();
}
};
// service_traits::DataType< ::std_srvs::EmptyRequest> should match
// service_traits::DataType< ::std_srvs::Empty >
template<>
struct DataType< ::std_srvs::EmptyRequest>
{
static const char* value()
{
return DataType< ::std_srvs::Empty >::value();
}
static const char* value(const ::std_srvs::EmptyRequest&)
{
return value();
}
};
// service_traits::MD5Sum< ::std_srvs::EmptyResponse> should match
// service_traits::MD5Sum< ::std_srvs::Empty >
template<>
struct MD5Sum< ::std_srvs::EmptyResponse>
{
static const char* value()
{
return MD5Sum< ::std_srvs::Empty >::value();
}
static const char* value(const ::std_srvs::EmptyResponse&)
{
return value();
}
};
// service_traits::DataType< ::std_srvs::EmptyResponse> should match
// service_traits::DataType< ::std_srvs::Empty >
template<>
struct DataType< ::std_srvs::EmptyResponse>
{
static const char* value()
{
return DataType< ::std_srvs::Empty >::value();
}
static const char* value(const ::std_srvs::EmptyResponse&)
{
return value();
}
};
} // namespace service_traits
} // namespace ros
#endif // STD_SRVS_MESSAGE_EMPTY_H
|