/home/laradmin/lar/utils/mit_darpa_logs_player/src/eventlog.cpp File Reference

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>
Include dependency graph for eventlog.cpp:
This graph shows which files directly or indirectly include this file:

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_tlcm_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_tlcm_eventlog_read_next_event (lcm_eventlog_t *l)
int lcm_eventlog_seek_to_timestamp (lcm_eventlog_t *l, int64_t timestamp)

Detailed Description

logging lcm events. cpp file *

Definition in file eventlog.cpp.


Define Documentation

#define MAGIC   ((int32_t) 0xEDA1DA01L)

Definition at line 39 of file eventlog.cpp.


Function Documentation

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.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines


mit_darpa_logs_player
Author(s): Miguel Oliveira
autogenerated on Wed Jul 23 04:34:16 2014