Main Page
Namespaces
Classes
Files
File List
File Members
include
mm_core_msgs
integers.hpp
Go to the documentation of this file.
1
6
/*****************************************************************************
7
** Ifdefs
8
*****************************************************************************/
9
10
#ifndef mm_core_msgs_INTEGERS_HPP_
11
#define mm_core_msgs_INTEGERS_HPP_
12
13
/*****************************************************************************
14
** Includes
15
*****************************************************************************/
16
17
#include <
mm_messages/message.hpp
>
18
19
/*****************************************************************************
20
** Namespaces
21
*****************************************************************************/
22
23
namespace
mm_core_msgs
{
24
25
typedef
unsigned
char
uint8
;
26
typedef
signed
char
int8
;
27
28
}
// namespace mm_core_msgs
29
30
/*****************************************************************************
31
** Namespaces
32
*****************************************************************************/
33
34
namespace
mm_messages
{
35
36
template
<>
37
struct
Message
<
mm_core_msgs
::
uint8
> {
38
static
void
encode(
const
mm_core_msgs::uint8
& i,
ByteArray
& buffer);
39
static
mm_core_msgs::uint8
decode(
const
unsigned
char
* buffer,
const
unsigned
int
& size = 1);
40
};
41
42
}
// namespace mm_messages
43
44
#endif
/* mm_core_msgs_STRING_HPP_ */
mm_messages::Message
mm_messages
mm_core_msgs::uint8
unsigned char uint8
Definition:
integers.hpp:25
mm_core_msgs
Definition:
empty.hpp:25
message.hpp
mm_core_msgs::int8
signed char int8
Definition:
integers.hpp:26
mm_messages::ByteArray
std::vector< unsigned char > ByteArray
mm_core_msgs
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:52:12