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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
/** THIS IS AN AUTOMATICALLY GENERATED FILE. DO NOT MODIFY
* BY HAND!!
*
* Generated by lcm-gen
**/
#include "lcmtype.h"
#include <stdint.h>
#include <stdlib.h>
#ifndef _path_t_h
#define _path_t_h
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _path_t path_t;
struct _path_t {
int64_t utime;
int16_t length;
double **xyr;
};
path_t *path_t_copy(const path_t *p);
void path_t_destroy(path_t *p);
typedef struct _path_t_subscription_t path_t_subscription_t;
typedef void (*path_t_handler_t)(const lcm_recv_buf_t *rbuf,
const char *channel, const path_t *msg,
void *user);
int path_t_publish(lcm_t *lcm, const char *channel, const path_t *p);
path_t_subscription_t *path_t_subscribe(lcm_t *lcm, const char *channel,
path_t_handler_t f, void *userdata);
int path_t_unsubscribe(lcm_t *lcm, path_t_subscription_t *hid);
int path_t_subscription_set_queue_capacity(path_t_subscription_t *subs,
int num_messages);
int path_t_encode(void *buf, int offset, int maxlen, const path_t *p);
int path_t_decode(const void *buf, int offset, int maxlen, path_t *p);
int path_t_decode_cleanup(path_t *p);
int path_t_encoded_size(const path_t *p);
// LCM support functions. Users should not call these
int64_t __path_t_get_hash(void);
int64_t __path_t_hash_recursive(const __lcm_hash_ptr *p);
int __path_t_encode_array(void *buf, int offset, int maxlen, const path_t *p,
int elements);
int __path_t_decode_array(const void *buf, int offset, int maxlen, path_t *p,
int elements);
int __path_t_decode_array_cleanup(path_t *p, int elements);
int __path_t_encoded_array_size(const path_t *p, int elements);
int __path_t_clone_array(const path_t *p, path_t *q, int elements);
#ifdef __cplusplus
}
#endif
#endif
|