Fawkes API
Fawkes Development Version
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
qa_worldinfo_msgsizes.cpp
1
2
/***************************************************************************
3
* qa_worldinfo_msgsizes.h - Worldinfo QA showing sizes of messages
4
*
5
* Created: Wed Jun 13 18:43:00
6
* Copyright 2006-2008 Tim Niemueller [www.niemueller.de]
7
*
8
****************************************************************************/
9
10
/* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version. A runtime exception applies to
14
* this software (see LICENSE.GPL_WRE file mentioned below for details).
15
*
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU Library General Public License for more details.
20
*
21
* Read the full text in the LICENSE.GPL_WRE file in the doc directory.
22
*/
23
24
25
#include <netcomm/worldinfo/messages.h>
26
27
#include <cstdio>
28
29
using namespace
fawkes;
30
31
int
32
main(
int
argc,
char
**argv)
33
{
34
35
printf(
"sizeof(worldinfo_message_header_t) = %lu\n"
, (
unsigned
long
int
)
sizeof
(
worldinfo_message_header_t
));
36
printf(
"sizeof(worldinfo_header_t) = %lu\n"
, (
unsigned
long
int
)
sizeof
(
worldinfo_header_t
));
37
printf(
"sizeof(worldinfo_pose_message_t) = %lu\n"
, (
unsigned
long
int
)
sizeof
(
worldinfo_pose_message_t
));
38
printf(
"sizeof(worldinfo_velocity_message_t) = %lu\n"
, (
unsigned
long
int
)
sizeof
(
worldinfo_velocity_message_t
));
39
printf(
"sizeof(worldinfo_relballpos_message_t) = %lu\n"
, (
unsigned
long
int
)
sizeof
(
worldinfo_relballpos_message_t
));
40
printf(
"sizeof(worldinfo_relballvelo_message_t) = %lu\n"
, (
unsigned
long
int
)
sizeof
(
worldinfo_relballvelo_message_t
));
41
printf(
"sizeof(worldinfo_opppose_message_t) = %lu\n"
, (
unsigned
long
int
)
sizeof
(
worldinfo_opppose_message_t
));
42
printf(
"sizeof(worldinfo_fat_message_t) = %lu\n"
, (
unsigned
long
int
)
sizeof
(
worldinfo_fat_message_t
));
43
44
return
0;
45
}
46
src
libs
netcomm
qa
qa_worldinfo_msgsizes.cpp
Generated by
1.8.1.1