MessageTraits.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright (C) 2014 by Ralf Kaestner *
3  * ralf.kaestner@gmail.com *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the Lesser GNU General Public License as published by*
7  * the Free Software Foundation; either version 3 of the License, or *
8  * (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * Lesser GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the Lesser GNU General Public License *
16  * along with this program. If not, see <http://www.gnu.org/licenses/>. *
17  ******************************************************************************/
18 
23 #ifndef VARIANT_TOPIC_TOOLS_MESSAGE_TRAITS_H
24 #define VARIANT_TOPIC_TOOLS_MESSAGE_TRAITS_H
25 
26 #include <ros/ros.h>
27 
29 
30 namespace ros {
31  namespace message_traits {
32  template <> struct IsMessage<variant_topic_tools::Message> :
33  TrueType {};
34  template <> struct IsMessage<const variant_topic_tools::Message> :
35  TrueType {};
36 
37  template <> struct MD5Sum<variant_topic_tools::Message> {
38  static const char* value(const variant_topic_tools::Message& message);
39  static const char* value();
40  };
41 
42  template <> struct DataType<variant_topic_tools::Message> {
43  static const char* value(const variant_topic_tools::Message& message);
44  static const char* value();
45  };
46 
47  template <> struct Definition<variant_topic_tools::Message> {
48  static const char* value(const variant_topic_tools::Message& message);
49  };
50  };
51 };
52 
53 #endif
Generic message type.
Definition: Message.h:43
Header file providing the Message class interface.


variant_topic_tools
Author(s): Ralf Kaestner
autogenerated on Sat Jan 9 2021 03:56:49