#include <simstruc.h>
#include <lcm/lcm.h>
#include <string>
#include <list>
#include <inttypes.h>
#include <sys/select.h>
#include "cg_sfun.h"
#define MDL_CHECK_PARAMETERS |
#define MDL_INITIAL_SIZES |
#define MDL_INITIALIZE_SAMPLE_TIMES |
#define S_FUNCTION_LEVEL 2 |
#define S_FUNCTION_NAME lcmLogger |
#define UNUSED |
( |
|
x | ) |
(void)(x) |
static void mdlInitializeSampleTimes |
( |
SimStruct * |
S | ) |
|
|
static |
static void mdlInitializeSizes |
( |
SimStruct * |
S | ) |
|
|
static |
static void mdlOutputs |
( |
SimStruct * |
S, |
|
|
int_T |
tid |
|
) |
| |
|
static |
static void mdlStart |
( |
SimStruct * |
S | ) |
|
|
static |
static void mdlTerminate |
( |
SimStruct * |
S | ) |
|
|
static |
static void mdlUpdate |
( |
SimStruct * |
S, |
|
|
int_T |
tid |
|
) |
| |
|
static |
static void message_handler |
( |
const lcm_recv_buf_t * |
rbuf, |
|
|
const char * |
channel, |
|
|
void * |
u |
|
) |
| |
|
static |
list<LCMMessage> message_log |