header file with core lcm types More...
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
Go to the source code of this file.
Classes | |
struct | ___lcm_hash_ptr |
union | double_uint64 |
union | float_uint32 |
| |
#define | __boolean_clone_array __int8_t_clone_array |
#define | __boolean_decode_array __int8_t_decode_array |
#define | __boolean_decode_array_cleanup __int8_t_decode_array_cleanup |
#define | __boolean_encode_array __int8_t_encode_array |
#define | __boolean_encoded_array_size __int8_t_encoded_array_size |
#define | __boolean_hash_recursive __int8_t_hash_recursive |
#define | __byte_decode_array_cleanup(p, sz) {} |
#define | __byte_hash_recursive(p) 0 |
#define | __double_decode_array_cleanup(p, sz) {} |
#define | __double_hash_recursive(p) 0 |
#define | __float_decode_array_cleanup(p, sz) {} |
#define | __float_hash_recursive(p) 0 |
#define | __int16_t_decode_array_cleanup(p, sz) {} |
#define | __int16_t_hash_recursive(p) 0 |
#define | __int32_t_decode_array_cleanup(p, sz) {} |
#define | __int32_t_hash_recursive(p) 0 |
#define | __int64_t_decode_array_cleanup(p, sz) {} |
#define | __int64_t_hash_recursive(p) 0 |
#define | __int8_t_decode_array_cleanup(p, sz) {} |
#define | __int8_t_hash_recursive(p) 0 |
#define | __string_hash_recursive(p) 0 |
#define | boolean_encoded_size int8_t_encoded_size |
#define | byte_encoded_size(p) ( sizeof(int64_t) + sizeof(uint8_t) ) |
#define | double_encoded_size(p) ( sizeof(int64_t) + sizeof(double) ) |
#define | float_encoded_size(p) ( sizeof(int64_t) + sizeof(float) ) |
#define | int16_t_encoded_size(p) ( sizeof(int64_t) + sizeof(int16_t) ) |
#define | int32_t_encoded_size(p) ( sizeof(int64_t) + sizeof(int32_t) ) |
#define | int64_t_encoded_size(p) ( sizeof(int64_t) + sizeof(int64_t) ) |
#define | int8_t_encoded_size(p) ( sizeof(int64_t) + sizeof(int8_t) ) |
typedef struct ___lcm_hash_ptr | __lcm_hash_ptr |
static int | __byte_clone_array (const uint8_t *p, uint8_t *q, int elements) |
static int | __byte_decode_array (const void *_buf, int offset, int maxlen, uint8_t *p, int elements) |
static int | __byte_encode_array (void *_buf, int offset, int maxlen, const uint8_t *p, int elements) |
static int | __byte_encoded_array_size (const uint8_t *p, int elements) |
static int | __double_clone_array (const double *p, double *q, int elements) |
static int | __double_decode_array (const void *_buf, int offset, int maxlen, double *p, int elements) |
static int | __double_encode_array (void *_buf, int offset, int maxlen, const double *p, int elements) |
static int | __double_encoded_array_size (const double *p, int elements) |
static int | __float_clone_array (const float *p, float *q, int elements) |
static int | __float_decode_array (const void *_buf, int offset, int maxlen, float *p, int elements) |
static int | __float_encode_array (void *_buf, int offset, int maxlen, const float *p, int elements) |
static int | __float_encoded_array_size (const float *p, int elements) |
static int | __int16_t_clone_array (const int16_t *p, int16_t *q, int elements) |
static int | __int16_t_decode_array (const void *_buf, int offset, int maxlen, int16_t *p, int elements) |
static int | __int16_t_encode_array (void *_buf, int offset, int maxlen, const int16_t *p, int elements) |
static int | __int16_t_encoded_array_size (const int16_t *p, int elements) |
static int | __int32_t_clone_array (const int32_t *p, int32_t *q, int elements) |
static int | __int32_t_decode_array (const void *_buf, int offset, int maxlen, int32_t *p, int elements) |
static int | __int32_t_encode_array (void *_buf, int offset, int maxlen, const int32_t *p, int elements) |
static int | __int32_t_encoded_array_size (const int32_t *p, int elements) |
static int | __int64_t_clone_array (const int64_t *p, int64_t *q, int elements) |
static int | __int64_t_decode_array (const void *_buf, int offset, int maxlen, int64_t *p, int elements) |
static int | __int64_t_encode_array (void *_buf, int offset, int maxlen, const int64_t *p, int elements) |
static int | __int64_t_encoded_array_size (const int64_t *p, int elements) |
static int | __int8_t_clone_array (const int8_t *p, int8_t *q, int elements) |
static int | __int8_t_decode_array (const void *_buf, int offset, int maxlen, int8_t *p, int elements) |
static int | __int8_t_encode_array (void *_buf, int offset, int maxlen, const int8_t *p, int elements) |
static int | __int8_t_encoded_array_size (const int8_t *p, int elements) |
static int | __string_clone_array (char *const *p, char **q, int elements) |
static int | __string_decode_array (const void *_buf, int offset, int maxlen, char **p, int elements) |
static int | __string_decode_array_cleanup (char **s, int elements) |
static int | __string_encode_array (void *_buf, int offset, int maxlen, char *const *p, int elements) |
static int | __string_encoded_array_size (char *const *s, int elements) |
static int | __string_encoded_size (char *const *s) |
static void * | lcm_malloc (size_t sz) |
header file with core lcm types
Definition in file lcm_coretypes.h.
#define __boolean_clone_array __int8_t_clone_array |
Definition at line 72 of file lcm_coretypes.h.
#define __boolean_decode_array __int8_t_decode_array |
Definition at line 71 of file lcm_coretypes.h.
#define __boolean_decode_array_cleanup __int8_t_decode_array_cleanup |
Definition at line 68 of file lcm_coretypes.h.
#define __boolean_encode_array __int8_t_encode_array |
Definition at line 70 of file lcm_coretypes.h.
#define __boolean_encoded_array_size __int8_t_encoded_array_size |
Definition at line 69 of file lcm_coretypes.h.
#define __boolean_hash_recursive __int8_t_hash_recursive |
BOOLEAN
Definition at line 67 of file lcm_coretypes.h.
#define __byte_decode_array_cleanup | ( | p, | |||
sz | ) | {} |
Definition at line 79 of file lcm_coretypes.h.
#define __byte_hash_recursive | ( | p | ) | 0 |
BYTE
Definition at line 78 of file lcm_coretypes.h.
#define __double_decode_array_cleanup | ( | p, | |||
sz | ) | {} |
Definition at line 362 of file lcm_coretypes.h.
#define __double_hash_recursive | ( | p | ) | 0 |
DOUBLE
Definition at line 361 of file lcm_coretypes.h.
#define __float_decode_array_cleanup | ( | p, | |||
sz | ) | {} |
Definition at line 334 of file lcm_coretypes.h.
#define __float_hash_recursive | ( | p | ) | 0 |
FLOAT
Definition at line 333 of file lcm_coretypes.h.
#define __int16_t_decode_array_cleanup | ( | p, | |||
sz | ) | {} |
Definition at line 158 of file lcm_coretypes.h.
#define __int16_t_hash_recursive | ( | p | ) | 0 |
INT16_T
Definition at line 157 of file lcm_coretypes.h.
#define __int32_t_decode_array_cleanup | ( | p, | |||
sz | ) | {} |
Definition at line 213 of file lcm_coretypes.h.
#define __int32_t_hash_recursive | ( | p | ) | 0 |
INT32_T
Definition at line 212 of file lcm_coretypes.h.
#define __int64_t_decode_array_cleanup | ( | p, | |||
sz | ) | {} |
Definition at line 270 of file lcm_coretypes.h.
#define __int64_t_hash_recursive | ( | p | ) | 0 |
INT64_T
Definition at line 269 of file lcm_coretypes.h.
#define __int8_t_decode_array_cleanup | ( | p, | |||
sz | ) | {} |
Definition at line 118 of file lcm_coretypes.h.
#define __int8_t_hash_recursive | ( | p | ) | 0 |
INT8_T
Definition at line 117 of file lcm_coretypes.h.
#define __string_hash_recursive | ( | p | ) | 0 |
STRING
Definition at line 389 of file lcm_coretypes.h.
#define boolean_encoded_size int8_t_encoded_size |
Definition at line 73 of file lcm_coretypes.h.
#define byte_encoded_size | ( | p | ) | ( sizeof(int64_t) + sizeof(uint8_t) ) |
Definition at line 80 of file lcm_coretypes.h.
#define double_encoded_size | ( | p | ) | ( sizeof(int64_t) + sizeof(double) ) |
Definition at line 363 of file lcm_coretypes.h.
#define float_encoded_size | ( | p | ) | ( sizeof(int64_t) + sizeof(float) ) |
Definition at line 335 of file lcm_coretypes.h.
#define int16_t_encoded_size | ( | p | ) | ( sizeof(int64_t) + sizeof(int16_t) ) |
Definition at line 159 of file lcm_coretypes.h.
#define int32_t_encoded_size | ( | p | ) | ( sizeof(int64_t) + sizeof(int32_t) ) |
Definition at line 214 of file lcm_coretypes.h.
#define int64_t_encoded_size | ( | p | ) | ( sizeof(int64_t) + sizeof(int64_t) ) |
Definition at line 271 of file lcm_coretypes.h.
#define int8_t_encoded_size | ( | p | ) | ( sizeof(int64_t) + sizeof(int8_t) ) |
Definition at line 119 of file lcm_coretypes.h.
typedef struct ___lcm_hash_ptr __lcm_hash_ptr |
Definition at line 57 of file lcm_coretypes.h.
static int __byte_clone_array | ( | const uint8_t * | p, | |
uint8_t * | q, | |||
int | elements | |||
) | [inline, static] |
Definition at line 109 of file lcm_coretypes.h.
static int __byte_decode_array | ( | const void * | _buf, | |
int | offset, | |||
int | maxlen, | |||
uint8_t * | p, | |||
int | elements | |||
) | [inline, static] |
Definition at line 98 of file lcm_coretypes.h.
static int __byte_encode_array | ( | void * | _buf, | |
int | offset, | |||
int | maxlen, | |||
const uint8_t * | p, | |||
int | elements | |||
) | [inline, static] |
Definition at line 87 of file lcm_coretypes.h.
static int __byte_encoded_array_size | ( | const uint8_t * | p, | |
int | elements | |||
) | [inline, static] |
Definition at line 82 of file lcm_coretypes.h.
static int __double_clone_array | ( | const double * | p, | |
double * | q, | |||
int | elements | |||
) | [inline, static] |
Definition at line 380 of file lcm_coretypes.h.
static int __double_decode_array | ( | const void * | _buf, | |
int | offset, | |||
int | maxlen, | |||
double * | p, | |||
int | elements | |||
) | [inline, static] |
Definition at line 375 of file lcm_coretypes.h.
static int __double_encode_array | ( | void * | _buf, | |
int | offset, | |||
int | maxlen, | |||
const double * | p, | |||
int | elements | |||
) | [inline, static] |
Definition at line 370 of file lcm_coretypes.h.
static int __double_encoded_array_size | ( | const double * | p, | |
int | elements | |||
) | [inline, static] |
Definition at line 365 of file lcm_coretypes.h.
static int __float_clone_array | ( | const float * | p, | |
float * | q, | |||
int | elements | |||
) | [inline, static] |
Definition at line 352 of file lcm_coretypes.h.
static int __float_decode_array | ( | const void * | _buf, | |
int | offset, | |||
int | maxlen, | |||
float * | p, | |||
int | elements | |||
) | [inline, static] |
Definition at line 347 of file lcm_coretypes.h.
static int __float_encode_array | ( | void * | _buf, | |
int | offset, | |||
int | maxlen, | |||
const float * | p, | |||
int | elements | |||
) | [inline, static] |
Definition at line 342 of file lcm_coretypes.h.
static int __float_encoded_array_size | ( | const float * | p, | |
int | elements | |||
) | [inline, static] |
Definition at line 337 of file lcm_coretypes.h.
static int __int16_t_clone_array | ( | const int16_t * | p, | |
int16_t * | q, | |||
int | elements | |||
) | [inline, static] |
Definition at line 203 of file lcm_coretypes.h.
static int __int16_t_decode_array | ( | const void * | _buf, | |
int | offset, | |||
int | maxlen, | |||
int16_t * | p, | |||
int | elements | |||
) | [inline, static] |
Definition at line 185 of file lcm_coretypes.h.
static int __int16_t_encode_array | ( | void * | _buf, | |
int | offset, | |||
int | maxlen, | |||
const int16_t * | p, | |||
int | elements | |||
) | [inline, static] |
Definition at line 166 of file lcm_coretypes.h.
static int __int16_t_encoded_array_size | ( | const int16_t * | p, | |
int | elements | |||
) | [inline, static] |
Definition at line 161 of file lcm_coretypes.h.
static int __int32_t_clone_array | ( | const int32_t * | p, | |
int32_t * | q, | |||
int | elements | |||
) | [inline, static] |
Definition at line 260 of file lcm_coretypes.h.
static int __int32_t_decode_array | ( | const void * | _buf, | |
int | offset, | |||
int | maxlen, | |||
int32_t * | p, | |||
int | elements | |||
) | [inline, static] |
Definition at line 242 of file lcm_coretypes.h.
static int __int32_t_encode_array | ( | void * | _buf, | |
int | offset, | |||
int | maxlen, | |||
const int32_t * | p, | |||
int | elements | |||
) | [inline, static] |
Definition at line 221 of file lcm_coretypes.h.
static int __int32_t_encoded_array_size | ( | const int32_t * | p, | |
int | elements | |||
) | [inline, static] |
Definition at line 216 of file lcm_coretypes.h.
static int __int64_t_clone_array | ( | const int64_t * | p, | |
int64_t * | q, | |||
int | elements | |||
) | [inline, static] |
Definition at line 324 of file lcm_coretypes.h.
static int __int64_t_decode_array | ( | const void * | _buf, | |
int | offset, | |||
int | maxlen, | |||
int64_t * | p, | |||
int | elements | |||
) | [inline, static] |
Definition at line 303 of file lcm_coretypes.h.
static int __int64_t_encode_array | ( | void * | _buf, | |
int | offset, | |||
int | maxlen, | |||
const int64_t * | p, | |||
int | elements | |||
) | [inline, static] |
Definition at line 278 of file lcm_coretypes.h.
static int __int64_t_encoded_array_size | ( | const int64_t * | p, | |
int | elements | |||
) | [inline, static] |
Definition at line 273 of file lcm_coretypes.h.
static int __int8_t_clone_array | ( | const int8_t * | p, | |
int8_t * | q, | |||
int | elements | |||
) | [inline, static] |
Definition at line 148 of file lcm_coretypes.h.
static int __int8_t_decode_array | ( | const void * | _buf, | |
int | offset, | |||
int | maxlen, | |||
int8_t * | p, | |||
int | elements | |||
) | [inline, static] |
Definition at line 137 of file lcm_coretypes.h.
static int __int8_t_encode_array | ( | void * | _buf, | |
int | offset, | |||
int | maxlen, | |||
const int8_t * | p, | |||
int | elements | |||
) | [inline, static] |
Definition at line 126 of file lcm_coretypes.h.
static int __int8_t_encoded_array_size | ( | const int8_t * | p, | |
int | elements | |||
) | [inline, static] |
Definition at line 121 of file lcm_coretypes.h.
static int __string_clone_array | ( | char *const * | p, | |
char ** | q, | |||
int | elements | |||
) | [inline, static] |
Definition at line 452 of file lcm_coretypes.h.
static int __string_decode_array | ( | const void * | _buf, | |
int | offset, | |||
int | maxlen, | |||
char ** | p, | |||
int | elements | |||
) | [inline, static] |
Definition at line 432 of file lcm_coretypes.h.
static int __string_decode_array_cleanup | ( | char ** | s, | |
int | elements | |||
) | [inline, static] |
Definition at line 391 of file lcm_coretypes.h.
static int __string_encode_array | ( | void * | _buf, | |
int | offset, | |||
int | maxlen, | |||
char *const * | p, | |||
int | elements | |||
) | [inline, static] |
Definition at line 414 of file lcm_coretypes.h.
static int __string_encoded_array_size | ( | char *const * | s, | |
int | elements | |||
) | [inline, static] |
Definition at line 399 of file lcm_coretypes.h.
static int __string_encoded_size | ( | char *const * | s | ) | [inline, static] |
Definition at line 409 of file lcm_coretypes.h.
static void* lcm_malloc | ( | size_t | sz | ) | [inline, static] |
Definition at line 464 of file lcm_coretypes.h.