Main Page
Namespaces
Classes
Files
File List
File Members
include
mm_core_msgs
empty.hpp
Go to the documentation of this file.
1
6
/*****************************************************************************
7
** Ifdefs
8
*****************************************************************************/
9
10
#ifndef mm_core_msgs_EMPTY_HPP_
11
#define mm_core_msgs_EMPTY_HPP_
12
13
/*****************************************************************************
14
** Includes
15
*****************************************************************************/
16
17
#include <cstddef>
18
#include <memory>
19
#include <
mm_messages/message.hpp
>
20
21
/*****************************************************************************
22
** Namespaces
23
*****************************************************************************/
24
25
namespace
mm_core_msgs
{
26
27
/*****************************************************************************
28
** Typedefs
29
*****************************************************************************/
30
31
struct
Empty
{};
32
33
typedef
std::shared_ptr<Empty>
EmptyPtr
;
34
35
}
// namespace mm_core_msgs
36
37
/*****************************************************************************
38
** Namespaces
39
*****************************************************************************/
40
41
namespace
mm_messages
{
42
43
/*****************************************************************************
44
** Interfaces
45
*****************************************************************************/
46
47
template
<>
48
struct
Message
<
mm_core_msgs
::Empty> {
49
static
void
encode(
const
mm_core_msgs::Empty
& nothing_to_see_here,
ByteArray
& buffer);
50
static
mm_core_msgs::Empty
decode(
const
unsigned
char
* buffer,
const
unsigned
int
& size = 0);
51
};
52
53
54
}
// namespace mm_messages
55
56
#endif
/* mm_core_msgs_EMPTY_HPP_ */
mm_messages::Message
mm_messages
mm_core_msgs::EmptyPtr
std::shared_ptr< Empty > EmptyPtr
Definition:
empty.hpp:33
mm_core_msgs
Definition:
empty.hpp:25
message.hpp
mm_messages::ByteArray
std::vector< unsigned char > ByteArray
mm_core_msgs::Empty
Definition:
empty.hpp:31
mm_core_msgs
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:52:12