Serialization.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 TOPIC_VARIANT_SERIALIZATION_H
24 #define TOPIC_VARIANT_SERIALIZATION_H
25 
26 #include <ros/ros.h>
27 
29 
30 namespace ros {
31  namespace serialization {
32  template <> struct Serializer<variant_topic_tools::Message> {
33  template <class Stream> inline static void read(Stream& stream,
35  template <class Stream> inline static void write(Stream& stream,
36  const variant_topic_tools::Message& message);
37  inline static uint32_t serializedLength(const
39  };
40 
41  template <> struct PreDeserialize<variant_topic_tools::Message> {
42  static void notify(const
44  };
45  };
46 };
47 
48 #include <variant_topic_tools/Serialization.tpp>
49 
50 #endif
static void write(Stream &stream, typename boost::call_traits< T >::param_type t)
Generic message type.
Definition: Message.h:43
static uint32_t serializedLength(typename boost::call_traits< T >::param_type t)
Header file providing the Message class interface.
static void read(Stream &stream, typename boost::call_traits< T >::reference t)


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