File: common.hpp

package info (click to toggle)
lcm 1.3.1%2Brepack1-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,848 kB
  • sloc: ansic: 16,186; java: 6,843; cs: 2,266; cpp: 1,594; python: 989; makefile: 352; xml: 252; sh: 59
file content (35 lines) | stat: -rw-r--r-- 1,331 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef __common_hpp__
#define __common_hpp__

#include <lcm/lcm-cpp.hpp>
#include "lcmtest/primitives_t.hpp"
#include "lcmtest/primitives_list_t.hpp"
#include "lcmtest/node_t.hpp"
#include "lcmtest/multidim_array_t.hpp"
#include "lcmtest2/cross_package_t.hpp"

int CheckLcmType(const lcmtest::multidim_array_t* msg, int expected);
void FillLcmType(int num_children, lcmtest::multidim_array_t* result);
void ClearLcmType(lcmtest::multidim_array_t* msg);

int CheckLcmType(const lcmtest::node_t* msg, int expected);
void FillLcmType(int num_children, lcmtest::node_t* result);
void ClearLcmType(lcmtest::node_t* msg);

int CheckLcmType(const lcmtest::primitives_list_t* msg, int expected);
void FillLcmType(int num, lcmtest::primitives_list_t* msg);
void ClearLcmType(lcmtest::primitives_list_t* msg);

int CheckLcmType(const lcmtest::primitives_t* msg, int expected);
void FillLcmType(int n, lcmtest::primitives_t* msg);
void ClearLcmType(lcmtest::primitives_t* msg);

int CheckLcmType(const lcmtest2::cross_package_t* msg, int expected);
void FillLcmType(int n, lcmtest2::cross_package_t* msg);
void ClearLcmType(lcmtest2::cross_package_t* msg);

int CheckLcmType(const lcmtest2::another_type_t* msg, int expected);
void FillLcmType(int n, lcmtest2::another_type_t* msg);
void ClearLcmType(lcmtest2::another_type_t* msg);

#endif