logging lcm events. cpp file * More...
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include <arpa/inet.h>
#include <features.h>
#include <bits/types.h>
#include <time.h>
#include <stddef.h>
#include <sys/types.h>
#include <endian.h>
#include <bits/wordsize.h>
#include <stdio.h>
#include <inttypes.h>
Go to the source code of this file.
| |
#define | MAGIC ((int32_t) 0xEDA1DA01L) |
static int | fread32 (FILE *f, int32_t *v32) |
static int | fread64 (FILE *f, int64_t *v64) |
static int64_t | get_event_time (lcm_eventlog_t *l) |
lcm_eventlog_t * | lcm_eventlog_create (const char *path, const char *mode) |
void | lcm_eventlog_destroy (lcm_eventlog_t *l) |
void | lcm_eventlog_free_event (lcm_eventlog_event_t *le) |
lcm_eventlog_event_t * | lcm_eventlog_read_next_event (lcm_eventlog_t *l) |
int | lcm_eventlog_seek_to_timestamp (lcm_eventlog_t *l, int64_t timestamp) |
logging lcm events. cpp file *
Definition in file eventlog.cpp.
#define MAGIC ((int32_t) 0xEDA1DA01L) |
Definition at line 39 of file eventlog.cpp.
static int fread32 | ( | FILE * | f, | |
int32_t * | v32 | |||
) | [inline, static] |
Definition at line 41 of file eventlog.cpp.
static int fread64 | ( | FILE * | f, | |
int64_t * | v64 | |||
) | [inline, static] |
Definition at line 50 of file eventlog.cpp.
static int64_t get_event_time | ( | lcm_eventlog_t * | l | ) | [static] |
Definition at line 126 of file eventlog.cpp.
lcm_eventlog_t* lcm_eventlog_create | ( | const char * | path, | |
const char * | mode | |||
) |
Definition at line 61 of file eventlog.cpp.
void lcm_eventlog_destroy | ( | lcm_eventlog_t * | l | ) |
Definition at line 74 of file eventlog.cpp.
void lcm_eventlog_free_event | ( | lcm_eventlog_event_t * | le | ) |
Definition at line 118 of file eventlog.cpp.
lcm_eventlog_event_t* lcm_eventlog_read_next_event | ( | lcm_eventlog_t * | l | ) |
Definition at line 80 of file eventlog.cpp.
int lcm_eventlog_seek_to_timestamp | ( | lcm_eventlog_t * | l, | |
int64_t | timestamp | |||
) |
Definition at line 151 of file eventlog.cpp.