/** THIS IS AN AUTOMATICALLY GENERATED FILE. DO NOT MODIFY * BY HAND!! * * Generated by lcm-gen **/ #include "lcmtype.h" #include #include #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