include
cras_cpp_common
message_utils.hpp
Go to the documentation of this file.
1
9
#pragma once
10
11
#include <
ros/message_traits.h
>
12
#include <
ros/parameter_adapter.h
>
13
14
namespace
cras
15
{
16
18
template
<
typename
M>
19
using
BaseMessage
= typename ::ros::ParameterAdapter<M>::Message;
20
23
template
<
typename
M>
24
using
IsMessageParam
=
::ros::message_traits::IsMessage<::cras::BaseMessage<M>
>;
25
26
}
parameter_adapter.h
cras
Definition:
any.hpp:15
message_traits.h
ros::message_traits::IsMessage
cras::BaseMessage
typename ::ros::ParameterAdapter< M >::Message BaseMessage
Return the base message type of M (i.e. removes MessageEvent, const, &, shared_ptr etc....
Definition:
message_utils.hpp:19
cras_cpp_common
Author(s): Martin Pecka
autogenerated on Tue Nov 26 2024 03:49:04