1#ifndef _LCM_EVENTLOG_H_
2#define _LCM_EVENTLOG_H_
7#include "lcm_c_namespace.h"
12#include "lcm_export.h"
19#define lcm_eventlog_create LCM_C_NAMESPACED(eventlog_create)
20#define lcm_eventlog_read_next_event LCM_C_NAMESPACED(eventlog_read_next_event)
21#define lcm_eventlog_free_event LCM_C_NAMESPACED(eventlog_free_event)
22#define lcm_eventlog_seek_to_timestamp LCM_C_NAMESPACED(eventlog_seek_to_timestamp)
23#define lcm_eventlog_write_event LCM_C_NAMESPACED(eventlog_write_event)
24#define lcm_eventlog_destroy LCM_C_NAMESPACED(eventlog_destroy)
96lcm_eventlog_t *lcm_eventlog_create(
const char *path,
const char *mode);
108lcm_eventlog_event_t *lcm_eventlog_read_next_event(lcm_eventlog_t *eventlog);
116void lcm_eventlog_free_event(lcm_eventlog_event_t *event);
127int lcm_eventlog_seek_to_timestamp(lcm_eventlog_t *eventlog, int64_t ts);
139int lcm_eventlog_write_event(lcm_eventlog_t *eventlog, lcm_eventlog_event_t *event);
147void lcm_eventlog_destroy(lcm_eventlog_t *eventlog);
int64_t eventnum
Definition eventlog.h:62
char * channel
Definition eventlog.h:80
void * data
Definition eventlog.h:84
int64_t timestamp
Definition eventlog.h:67
int32_t channellen
Definition eventlog.h:71
int32_t datalen
Definition eventlog.h:75
int64_t eventcount
Definition eventlog.h:50
FILE * f
Definition eventlog.h:45