aboutsummaryrefslogtreecommitdiffstats
path: root/lcmtype/path_t.h
diff options
context:
space:
mode:
Diffstat (limited to 'lcmtype/path_t.h')
-rw-r--r--lcmtype/path_t.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/lcmtype/path_t.h b/lcmtype/path_t.h
new file mode 100644
index 0000000..a9956c9
--- /dev/null
+++ b/lcmtype/path_t.h
@@ -0,0 +1,60 @@
1/** THIS IS AN AUTOMATICALLY GENERATED FILE. DO NOT MODIFY
2 * BY HAND!!
3 *
4 * Generated by lcm-gen
5 **/
6
7#include "lcmtype.h"
8#include <stdint.h>
9#include <stdlib.h>
10
11#ifndef _path_t_h
12#define _path_t_h
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18typedef struct _path_t path_t;
19struct _path_t {
20 int64_t utime;
21 int16_t length;
22 double **xyr;
23};
24
25path_t *path_t_copy(const path_t *p);
26void path_t_destroy(path_t *p);
27
28typedef struct _path_t_subscription_t path_t_subscription_t;
29typedef void (*path_t_handler_t)(const lcm_recv_buf_t *rbuf,
30 const char *channel, const path_t *msg,
31 void *user);
32
33int path_t_publish(lcm_t *lcm, const char *channel, const path_t *p);
34path_t_subscription_t *path_t_subscribe(lcm_t *lcm, const char *channel,
35 path_t_handler_t f, void *userdata);
36int path_t_unsubscribe(lcm_t *lcm, path_t_subscription_t *hid);
37int path_t_subscription_set_queue_capacity(path_t_subscription_t *subs,
38 int num_messages);
39
40int path_t_encode(void *buf, int offset, int maxlen, const path_t *p);
41int path_t_decode(const void *buf, int offset, int maxlen, path_t *p);
42int path_t_decode_cleanup(path_t *p);
43int path_t_encoded_size(const path_t *p);
44
45// LCM support functions. Users should not call these
46int64_t __path_t_get_hash(void);
47int64_t __path_t_hash_recursive(const __lcm_hash_ptr *p);
48int __path_t_encode_array(void *buf, int offset, int maxlen, const path_t *p,
49 int elements);
50int __path_t_decode_array(const void *buf, int offset, int maxlen, path_t *p,
51 int elements);
52int __path_t_decode_array_cleanup(path_t *p, int elements);
53int __path_t_encoded_array_size(const path_t *p, int elements);
54int __path_t_clone_array(const path_t *p, path_t *q, int elements);
55
56#ifdef __cplusplus
57}
58#endif
59
60#endif